Executing: uname -s stdout: Linux ============================================================================================= Configuring PETSc to compile on your system ============================================================================================= ================================================================================ ================================================================================ Starting configure run at Tue, 18 Jun 2024 14:48:21 -0400 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions PETSC_ARCH=config-release --with-scalar-type=complex --with-fortran-kernels=1 --with-debugging=0 COPTFLAGS=-O3 -march=native CXXOPTFLAGS=-O3 -march=native FOPTFLAGS=-O3 -march=native --with-cxx=g++ --download-openmpi --download-superlu --download-opencascade --with-blaslapack-dir=/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl --with-threadsafety --with-log=1 --with-openmp --prefix=/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0 Working directory: /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 Machine platform: uname_result(system='Linux', node='s4h-login01.scinet.local', release='3.10.0-1160.114.2.el7.x86_64', version='#1 SMP Wed Mar 20 15:54:52 UTC 2024', machine='x86_64', processor='x86_64') Python version: 3.6.8 (default, Nov 14 2023, 16:29:52) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] ================================================================================ Environmental variables LMOD_FAMILY_COMPILER_VERSION=8.3.0 MANPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/share/man:/opt/slurm/share/man:/scinet/niagara/software/2019b/lmod/8.7.7/share/man::/scinet/niagara/share/man RSNT_ARCH=avx512 HOSTNAME=s4h-login01.scinet.local _ModuleTable003_=ID0gImdjYyIsCndWID0gIl4wMDAwMDAwOC4wMDAwMDAwMDMuKnpmaW5hbCIsCn0sCn0sCm1wYXRoQSA9IHsKIi9zY2luZXQvbmlhZ2FyYS9zb2Z0d2FyZS8yMDE5Yi9tb2R1bGVzL2djYy04LjMuMCIsICIvc2NpbmV0L25pYWdhcmEvc29mdHdhcmUvMjAxOWIvbW9kdWxlcy9iYXNlIiwgIi9zY2luZXQvbmlhZ2FyYS9zdGFja3MiLAp9LApzeXN0ZW1CYXNlTVBBVEggPSAiL3NjaW5ldC9uaWFnYXJhL3N0YWNrcyIsCn0K TERM=xterm-256color __LMOD_REF_COUNT_MODULEPATH=/scinet/niagara/software/2019b/modules/gcc-8.3.0:1;/scinet/niagara/software/2019b/modules/base:1;/scinet/niagara/stacks:1 APPTAINER_COMMAND=exec LMOD_FAMILY_ENV_VERSION=2019b SLURM_EXPORT_ENV=ALL APPTAINER_INSTANCE=shelltainer-modelics SHELL=/bin/bash LMOD_ROOT=/scinet/niagara/software/2019b/lmod HISTSIZE=1000 LMOD_FAMILY_ENV=NiaEnv MAKEFLAGS=s PROJECT=/your.group.does.not.have.a.project.allocation.on.Niagara/ LMOD_SYSTEM_DEFAULT_MODULES= SSH_CLIENT=128.100.241.68 59851 22 MODULEPATH_ROOT=/scinet/niagara/software/2019b/modules LMOD_PACKAGE_PATH=/scinet/niagara/etc/lmodconfig LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 LMOD_PKG=/scinet/niagara/software/2019b/lmod/lmod OLDPWD=/scratch/t/triverio/modelics/workplace/rebel/build LMOD_VERSION=8.7.7 LMOD_SHORT_TIME=86400 SSH_TTY=/dev/pts/0 __LMOD_REF_COUNT_CMAKE_PREFIX_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4:1;/scinet/niagara/software/2019b/opt/base/gcc/8.3.0:1 USER_PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin USER=modelics SBATCH_PARTITION=compute_s4h SBATCH_RESERVATION=s4h_test LMOD_sys=Linux LD_LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64:/opt/slurm/lib64:/scinet/niagara/software/2019b/core/lib64:/.singularity.d/libs LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: SCINET_GCC_ROOT=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 NIAHOME=/gpfs/fs1/home/t/triverio/modelics SINGULARITY_NAME=image.sif CPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/include TMOUT=1800 MAKELEVEL=3 SALLOC_PARTITION=compute_s4h SCANCEL_VERBOSE=T MFLAGS=-s SACCT_FORMAT=JobID%12,User,Account%15,AllocNodes%10,Start,End,Elapsed,AllocTRES%30,CPUTime,NodeList,ExitCode,State%11 SCINET_ONCE=yes APPTAINER_APPNAME= MAIL=/var/spool/mail/modelics PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin:/opt/slurm/bin:/scinet/niagara/software/2019b/core/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/scinet/niagara/bin:/usr/lpp/mmfs/bin _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0gewpjb21waWxlciA9ICJnY2MiLAplbnYgPSAiTmlhRW52IiwKfSwKbVQgPSB7Ck5pYUVudiA9IHsKZm4gPSAiL3NjaW5ldC9uaWFnYXJhL3N0YWNrcy9OaWFFbnYvMjAxOWIubHVhIiwKZnVsbE5hbWUgPSAiTmlhRW52LzIwMTliIiwKbG9hZE9yZGVyID0gMSwKcHJvcFQgPSB7Cmxtb2QgPSB7CnN0aWNreSA9IDEsCn0sCn0sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiTmlhRW52IiwKd1YgPSAiXjAwMDAyMDE5LipiLip6ZmluYWwiLAp9LApjbWFrZSA9IHsKZm4g APPTAINER_ENVIRONMENT=/.singularity.d/env/91-environment.sh SLURM_CONF=/opt/slurm/etc/slurm.conf RSNT_INTERCONNECT=infiniband PWD=/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 F90=gfortran _LMFILES_=/scinet/niagara/stacks/NiaEnv/2019b.lua:/scinet/niagara/software/2019b/modules/base/gcc/8.3.0:/scinet/niagara/software/2019b/modules/base/cmake/3.21.4 APPTAINER_NAME=image.sif LANG=en_US.UTF-8 MODULEPATH=/scinet/niagara/software/2019b/modules/gcc-8.3.0:/scinet/niagara/software/2019b/modules/base:/scinet/niagara/stacks LOADEDMODULES=NiaEnv/2019b:gcc/8.3.0:cmake/3.21.4 _ModuleTable_Sz_=3 SINGULARITY_ENVIRONMENT=/.singularity.d/env/91-environment.sh F77=gfortran APPTAINER_CONTAINER=/gpfs/fs1/scinet/s4h/shelltainer/image.sif SINGULARITY_BIND= SSH_USER_AUTH=publickey: ED25519 SHA256:uYBLCphudmGsL8nl8gYzvRXdmHWq/nJ/pzvNnBm73RA, keyboard-interactive LMOD_CMD=/scinet/niagara/software/2019b/lmod/lmod/libexec/lmod SQUEUE_FORMAT=%.15i %.15u %.14a %.14j %.3t %.10L %P %.5D %.4C %N (%r) LMOD_AVAIL_STYLE= CXX=g++ HISTCONTROL=ignoredups SHLVL=2 HOME=/home/t/triverio/modelics __LMOD_REF_COUNT_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin:1;/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin:1;/opt/slurm/bin:1;/scinet/niagara/software/2019b/core/bin:1;/usr/local/sbin:1;/usr/local/bin:2;/usr/sbin:1;/usr/bin:2;/sbin:1;/bin:1;/scinet/niagara/bin:1;/usr/lpp/mmfs/bin:1 __LMOD_REF_COUNT_CPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/include:1 BBUFFER=/you.do.not.have.burst.buffer.space/ _ModuleTable002_=PSAiL3NjaW5ldC9uaWFnYXJhL3NvZnR3YXJlLzIwMTliL21vZHVsZXMvYmFzZS9jbWFrZS8zLjIxLjQiLApmdWxsTmFtZSA9ICJjbWFrZS8zLjIxLjQiLApsb2FkT3JkZXIgPSAzLApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMCwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1lID0gImNtYWtlIiwKd1YgPSAiMDAwMDAwMDAzLjAwMDAwMDAyMS4wMDAwMDAwMDQuKnpmaW5hbCIsCn0sCmdjYyA9IHsKZm4gPSAiL3NjaW5ldC9uaWFnYXJhL3NvZnR3YXJlLzIwMTliL21vZHVsZXMvYmFzZS9nY2MvOC4zLjAiLApmdWxsTmFtZSA9ICJnY2MvOC4zLjAiLApsb2FkT3JkZXIgPSAyLApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMCwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1l FC=gfortran BASH_ENV=/scinet/niagara/etc/profile.d/bashenv MODULE_CMAKE_PREFIX=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4 LOGNAME=modelics LMOD_SHELL_PRGM=bash SINGULARITY_INSTANCE=shelltainer-modelics SSH_CONNECTION=128.100.241.68 59851 142.1.250.242 22 __LMOD_REF_COUNT_ACLOCAL_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/share/aclocal:1 MODULESHOME=/scinet/niagara/software/2019b/lmod/lmod LMOD_RC=/scinet/niagara/etc/lmodrc.lua CLUSTER=niagara __LMOD_REF_COUNT_LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64:1 LMOD_SETTARG_FULL_SUPPORT=no __LMOD_REF_COUNT_LD_LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64:1;/opt/slurm/lib64:1;/scinet/niagara/software/2019b/core/lib64:1;/.singularity.d/libs:1 LESSOPEN=||/usr/bin/lesspipe.sh %s ARCH=x86_64 ACLOCAL_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/share/aclocal CC_CLUSTER=niagara SINGULARITY_CONTAINER=/gpfs/fs1/scinet/s4h/shelltainer/image.sif LMOD_FAMILY_COMPILER=gcc CC=gcc APPTAINER_BIND= CMAKE_PREFIX_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 RSNT_CPU_VENDOR_ID=intel __LMOD_REF_COUNT_MANPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/share/man:1;/opt/slurm/share/man:1;/scinet/niagara/software/2019b/lmod/8.7.7/share/man:1;/scinet/niagara/share/man:1 LMOD_DIR=/scinet/niagara/software/2019b/lmod/lmod/libexec SALLOC_RESERVATION=s4h_test SCRATCH=/scratch/t/triverio/modelics BASH_FUNC_sbatch()=() { command sbatch --export=NONE "$@" } BASH_FUNC_module()=() { if [ "$*" = "--force purge" ]; then [[ $LOADEDMODULES =~ (:|^)[a-zA-Z]*Env[^:]*(:|$) ]]; local modstack=${BASH_REMATCH[0]//:/}; eval $($LMOD_CMD bash "$@") && eval $($LMOD_CMD bash load $modstack); else if [ "${1:0:2}" = "lo" ]; then for mod in "${@:2}"; do eval $($LMOD_CMD bash load "$mod"); done; else eval $($LMOD_CMD bash "$@"); fi; fi } BASH_FUNC_ml()=() { eval "$($LMOD_DIR/ml_cmd "$@")" } _=./configure Files in path provided by default path /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin: ctest cpack cmake ccmake /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin: x86_64-pc-linux-gnu-gcc-ranlib g++ cpp x86_64-pc-linux-gnu-gcc-nm gcov-tool gcc-nm gfortran x86_64-pc-linux-gnu-gcc-8.3.0 gcc-ar x86_64-pc-linux-gnu-c++ x86_64-pc-linux-gnu-gcc gcov-dump c++ gcc-ranlib gcov x86_64-pc-linux-gnu-gfortran gcc x86_64-pc-linux-gnu-g++ x86_64-pc-linux-gnu-gcc-ar /opt/slurm/bin: sbatchfilter.conf .xalloc salloc .salloc sbatch .sbatch smail sjstat sjobexitmod seff strigger sstat sshare srun sreport squeue sprio sinfo sgather sdiag scrun scrontab scontrol scancel sbcast sattach sacctmgr sacct /scinet/niagara/software/2019b/core/bin: x86_64-pc-linux-gnu-core-c++ x86_64-pc-linux-gnu-gcc-7.4.0 core-gcc-ranlib x86_64-pc-linux-gnu-core-gcc-ranlib core-c++ cpp core-cpp x86_64-pc-linux-gnu-core-gcc luarocks core-gcov-dump lua x86_64-pc-linux-gnu-core-gfortran x86_64-pc-linux-gnu-core-gcc-nm core-g++ luarocks-5.3 luac luarocks-admin-5.3 core-gfortran core-gcov core-gcc core-gcov-tool core-gcc-ar x86_64-pc-linux-gnu-core-gcc-ar luarocks-admin core-gcc-nm x86_64-pc-linux-gnu-core-g++ /usr/local/sbin: /usr/local/bin: /usr/sbin: login_duo duo_unix_support.sh sssctl sss_usermod sss_userdel sss_useradd sss_seed sss_override sss_obfuscate sss_groupshow sss_groupmod sss_groupdel sss_groupadd sss_debuglevel ipset show_gids set_irq_affinity_cpulist.sh fsck.nfs set_irq_affinity_bynode.sh semanage set_irq_affinity.sh ipmiconsole odp_stat.sh mlnx_tune ibacm mlnx_affinity ipmi-sensors-config ib2ib_setup hwloc-dump-hwdata compat_gid_gen ipmi-sensors common_irq_affinity.sh show_irq_affinity.sh cma_roce_tos ipmi-sel cma_roce_mode ipmi-raw sysctl_perf_tuning ipmi-power mlnx_bf_configure ipmi-ping mlnx-sf sldd.sh connectx_port_config show_irq_affinity_hints.sh setsebool osmtest setfiles opensm sestatus set_nodedesc.sh semodule ibswportwatch.pl restorecon ibqueryerrors.pl load_policy ibprintswitch.pl genhomedircon ipmi-pet fixfiles ibprintrt.pl setenforce ibprintca.pl selinuxexeccon ipmi-pef-config selinuxenabled ipmi-oem selinuxdefcon ipmi-locate selinuxconlist ipmi-fru selinux_restorecon ipmi-detect selabel_partial_match show_counters selabel_lookup_best_match setup_mr_cache.sh selabel_lookup ipmi-dcmi selabel_digest ipmi-console matchpathcon ipmi-config getsebool iblinkinfo.pl getenforce ibdiscover.pl avcstat ibdatacounts vendstat ibdatacounters smpquery ibcheckwidth smpdump ibcheckstate sminfo ibcheckportwidth saquery ibcheckportstate perfquery ibcheckport ibtracert ibchecknode ibsysstat ibchecknet ibswitches ibcheckerrs ibstatus ibcheckerrors ibstat mount.cvmfs ibrouters automount ibroute rmcpping ibqueryerrors ipmi-chassis-config ibportstate rmcp-ping ibping pef-config ibnodes ipmipower ibnetdiscover ipmi-chassis ibmirror ipmiping iblinkinfo ipmimonitoring ibidsverify.pl bmc-info ibhosts ipmidetect ibfindnodesusing.pl bmc-device ibclearerrors bmc-config ibccquery ibclearcounters rsyslogd ibccconfig update-pciids ether-wake setpci ibaddr lspci ibcacheedit sshd-keygen dump_lfts.sh tickadj dump_fts ntptime dump_mfts.sh ntpdc munged ntp-keygen create-munge-key start-statd mount.fuse3 sm-notify mount.fuse showmount ethtool rpcdebug unsquashfs rpc.nfsd mke2fs mkfs.ext4 mkfs.ext3 mkfs.ext2 rpc.mountd rpc.idmapd mksquashfs rpc.gssd nfsstat e2label tune2fs nfsiostat nfsidmap e2fsck fsck.ext4 fsck.ext3 fsck.ext2 nfsdcltrack mountstats exportfs blkmapd umount.nfs4 resize2fs umount.nfs mklost+found rpc.statd logsave osd_login filefrag mount.nfs4 e4defrag mount.nfs e2undo e2image e2freefrag dumpe2fs debugfs badblocks accessdb partprobe parted irqbalance check_lft_balance.pl sss_cache slattach rpcinfo route rpcbind plipconfig gssproxy nameif ntpdate mii-tool dhclient-script intel-microcode2ucode dhclient mii-diag crond iptunnel anacron ipmaddr usernetctl ifconfig sushell service ppp-watch netreport ifdown genhostid consoletype tracepath6 tracepath rdisc ping6 ifenslave clockdiff arping udevadm telinit shutdown runlevel reboot poweroff weak-modules rmmod modprobe modinfo lsmod insmod depmod dracut dmstats dmsetup dmfilemapd blkdeactivate kpartx zramctl wipefs switch_root swapon swapoff swaplabel sulogin sfdisk runuser rtcwake resizepart readprofile pivot_root partx nologin mkswap grubby unix_update fsck.cramfs unix_chkpwd fsck pwhistory_helper killall5 pam_timestamp_check applygnupgdefaults pam_tally2 findfs pam_console_apply addgnupghome mkhomedir_helper uuserver faillock create-cracklib-dict mkfs.minix packer cracklib-packer sim_server cracklib-format gss-server cracklib-check lusermod saslpasswd2 fdisk sasldblistusers2 luserdel chroot fdformat paperconfig delpart fuser ctrlaltdel request-key clock key.dns_resolver luseradd try-from chcpu tcpdmatch cfdisk tcpd blockdev safe_finger blkid tc mkfs.cramfs ss mkfs rtstat blkdiscard rtpr agetty rtmon addpart rtacct sysctl routel lsof vipw routef arp vigr rdma usermod nstat userdel lnstat useradd ip losetup ifstat pwunconv ifcfg pwconv genl sshd pwck devlink newusers ctstat grpunconv cbq ldattach bridge grpconv arpd grpck xtables-multi ntpq lpasswd iptables-save ntpd lnewusers iptables-restore hwclock lid iptables groupmod ip6tables-save lgroupmod ip6tables-restore sssd lgroupdel ip6tables groupmems setcap groupdel getpcaps groupadd getcap chpasswd capsh chgpasswd update-alternatives tcsd lgroupadd alternatives ifup lchage chkconfig adduser install-info init logrotate sefcontext_compile new-kernel-pkg iconvconfig iconvconfig.x86_64 installkernel cracklib-unpacker glibc_post_upgrade.x86_64 fstrim mkdict sln fsfreeze ldconfig hardlink zic fsck.minix zdump pidof build-locale-archive halt sys-unconfig /usr/bin: screen .screen authenticator_setup pubkey_used google-authenticator passwd pigz unpigz libtree pip2.7 numastat numademo numactl migspeed migratepages memhog ibv_xsrq_pingpong ibv_umr ibv_ud_pingpong ibv_uc_pingpong ibv_task_pingpong ibv_srq_pingpong ibv_rc_pingpong ibv_polldcinfo ibv_intf ibv_devinfo ibv_devices ibv_dctgt ibv_dcini ibv_cc_pingpong hwloc-gather-topology ib_acme sedismod ibv_asyncwatch gdb-add-index hwloc-assembler-remote gcore ibgenperm event_rpcgen.py run-singularity shcomp ibdmtr ksh93 ibdiagpath setfattr ibdiagnet_csv2xml.py getfattr ibdmchk rrdupdate ibdiagnet rrdtool ibcongest rrdinfo dump2slvl.pl rrdcreate dump2psl.pl rrdcgi lstopo-no-graphics rrdcached ibdiagm.sh tc_wrap.py hwloc-ps mlx_fs_dump hwloc-patch mlnx_qos hwloc-info mlnx_qcn hwloc-ls mlnx_perf hwloc-distances mlnx_get_vfs.pl singularity mlnx_dump_parser apptainer ibdev2netdev hb-view mlnx_interface_mgr.sh ibtopodiff checkpolicy mlnx_conf_mgr.sh hb-shape secon hwloc-diff faked fakeroot ibnlparse checkmodule fakeroot-tcp hb-ot-shape-closure fakeroot-sysv cvmfs_talk faked-tcp hwloc-compress-dir faked-sysv hwloc-distrib python3.6 python3.6m cvmfs_fsck gstack pyvenv-3.6 hwloc-bind pyvenv hwloc-calc python3 hwloc-assembler pydoc3.6 hwloc-annotate pydoc3 udpong pip3.6 udaddy pip-3.6 ucmatose pip-3 rstream easy_install-3.6 cvmfs_config unmunge rping remunge riostream munge rdma_xserver fusermount3 rdma_xclient icuinfo rdma_server icu-config-64 cvmfs2 icu-config rdma_client ulockmgr_server hesinfo fusermount rcopy gtester-report semodule_package gtester mckey gresource cmtime gobject-query sandbox glib-mkenums chcat glib-gettextize audit2why glib-genmarshal sedispol glib-compile-resources ibnetsplit pstack gdbus-codegen audit2allow emacs etags unix2mac dtestx unix2dos dtestsrq mac2unix dtestcm dos2unix dtest rnano dapltest zipsplit uil vim zipcloak mandb ex lexgrog xkbcomp catman setxkbmap apropos xkbwatch xkbvleds xterm xkbprint uxterm xkbevd resize xkbbell koi8rxterm file strace-log-merge curl-config strace bison netstat lex rsyslog-recover-qi.pl unzip zipinfo ldappasswd rsync flex++ updatedb flex locate wget ssh-keyscan tcsh ssh-copy-id ksh csh ssh-agent zsh ssh-add openssl slogin pip2 xwud ntpstat pip xwd emacs-24.3 xvidtune gtk-query-immodules-3.0-64 ldapmodrdn gtk-launch gdb xpr m17n-conv xmessage stream xmag montage xlogo mogrify xload import xfontsel identify rksh xfd display xeyes convert attr xdpr conjure xcutsel composite xcursorgen compare xconsole animate xclock xclipboard xbiff gsettings-data-convert zip zipnote gconftool-2 x11perfcomp gconf-merge-tree pip3 ldapwhoami dbus-binding-tool red ldapurl sss_ssh_knownhostsproxy zipgrep ldapmodify sss_ssh_authorizedkeys unzipsfx ldapexop systemd-sysv-convert funzip ldapdelete dconf x11perf update-gtk-immodules patch ldapcompare gtk-query-immodules-2.0-64 view ldapadd pango-view oclock pango-querymodules-64 vi vimdiff pango-list ed luit cairo-sphinx time ldapsearch ssh-keygen lsattr run-parts chattr crontab nano tmux pkla-check-authorization rview vimtutor pkla-admin-identities rvi whatis pkttyagent xml2-config pkexec easy_install-2.7 pkcheck easy_install dbus-update-activation-environment gdlib-config manpath systemd-machine-id-setup dbus-send mount dbus-test-tool more dbus-monitor mcookie dbus-daemon lsns dbus-cleanup-sockets lsmem dbus-run-session lslogins timedatectl lslocks udevadm lsipc systemd-tmpfiles lscpu systemd-stdio-bridge lsblk systemd-run look systemd-path login systemd-nspawn logger systemd-notify linux64 systemd-loginctl linux32 systemd-inhibit kill systemd-hwdb isosize systemd-firstboot ipcs systemd-escape ipcrm systemd-detect-virt ipcmk systemd-delta ionice systemd-coredumpctl i386 systemd-cgtop hexdump systemd-cgls getopt systemd-cat flock systemd-ask-password findmnt systemd-analyze fallocate systemctl eject machinectl dmesg loginctl column localectl colrm kernel-install colcrt journalctl col pkaction chsh hostnamectl chrt coredumpctl chmem busctl chfn bootctl cal usleep watch rvim kmod w ipcalc vmstat mkinitrd uptime lsinitrd top tracepath6 tload dracut snice x86_64 slabtop write skill whereis pwdx wdctl ps tracepath pmap uuidgen pkill utmpdump pgrep unshare free umount gtk-update-icon-cache ping6 namei gdk-pixbuf-thumbnailer ping mountpoint gdk-pixbuf-query-loaders-64 systemd-tty-ask-password-agent sg dbus-uuidgen newuidmap man ul newgrp taskset newgidmap tailf lastlog perf su gpasswd setterm chage setsid fribidi setpriv grep-changelog ssh nsenter gctags setarch etags.emacs scriptreplay emacsclient script ebrowse sftp rev dotlockfile renice wall rename lastb scp raw testrb prlimit mesg wish8.5 compile_et watchgnupg xgettext gpgv2 recode-sr-latin update-desktop-database ngettext last gpgv msguniq gpgsplit msgunfmt gpgparsemail msgmerge gpgconf msginit gem gpg2 msghack gpg-zip msggrep gpg-connect-agent msgfmt gpg-agent msgfilter ruby gpg msgexec gr2fonttest msgen uuclient msgconv sim_client msgcomm krb5-config msgcmp gss-client msgcat nsupdate msgattrib nslookup gettext.sh geoiplookup6 gettext geoiplookup envsubst geoipupdate pwscore urlgrabber pwmake lchsh ld.gold lchfn strip rpmverify strings rpmquery readelf rpmkeys ranlib rpmdb objdump rpm2cpio objcopy fipshmac ld.bfd fipscheck gprof xmbind elfedit xinit c++filt startx addr2line aserver csslint-0.6 ssltap freetype-config desktop-file-validate libpng15-config desktop-file-install libpng-config desktop-file-edit zmore signver zless pk12util zgrep nss-policy-check zforce modutil zfgrep crlutil zegrep cmsutil zdiff certutil gzexe setup-nsssysinit.sh gunzip setup-nsssysinit xorg-x11-fonts-update-dirs erb ncursesw5-config ucs2any cpanp-run-perl mkfontscale cpanp mkfontdir cpan2dist fonttosfnt config_data bdftruncate xsubpp bdftopcf perlivp pkg-config libnetcfg update-mime-database ri ncurses5-config gsettings instmodsh glib-compile-schemas yum rdoc gio-querymodules-64 irb pcre-config gdbus dtrace python2.7 python2 python pydoc fc-validate fc-scan fc-query fc-pattern fc-match fc-list fc-conflist fc-cat fc-cache-64 fc-cache whoami who ln wc fmt vdir false mdig test factor gapplication expr host tee expand dig tail env users echo delv tac du unlink dirname rpm sync dircolors curl sum dir uniq df unexpand dd uname date mwm stty cut tty csplit stdbuf cp tsort comm cpan stat cksum split chown h2xs sort chmod sleep chgrp wish shuf chcon shred cat truncate basename sha512sum base64 sha384sum arch sha256sum [ true reset sha224sum infotocap sha1sum infocmp ld seq clear runcon captoinfo rmdir paperconf size rm pstree.x11 realpath pstree readlink prtstat nm pwd peekfd dwp ptx killall printf gmake printenv which as pr bzmore pinky bzless pathchk bzip2recover tr id bzip2 paste bzgrep ar od bzdiff numfmt bzcmp nproc bzcat nohup bunzip2 sxpm nl pinentry-curses cxpm hostid pinentry znew nice keyctl zcmp mv db_verify mktemp db_upgrade mknod db_tuner mkfifo db_stat mkdir db_replicate touch head db_recover md5sum db_printlog logname db_log_verify zcat groups db_load gzip ls db_hotbackup timeout fold db_dump185 gio link db_dump yes join db_deadlock install db_archive setfacl getfacl chacl xstdcmap xsetroot xsetpointer xsetmode xrefresh xrandr xmodmap xkill xinput xhost xgamma showrgb nettle-lfib-stream sessreg db_checkpoint perldoc dbiproxy pod2text dbiprof pod2man dbilogstrip xargs pod2latex oldfind podchecker find ptargrep sdiff ptardiff diff3 tset ptar diff iptables-xml cmp iceauth zsoelim pic xauth nroff unlz4 neqn lz4cat gtroff tput lz4c gtbl toe lz4 gsoelim update-ca-trust grotty ca-legacy grops trust groff ypdomainname gpic nisdomainname gnroff hostname gneqn domainname geqn dnsdomainname eqn otfview cpio tclsh8.5 p11-kit tclsh testgdbm tic m4 pgawk xzmore igawk xzless gawk xzgrep dgawk xzfgrep awk otftobdf idn otflist luac xzegrep lua otfdump gpg-error xzdiff sqlite3 xzdec sed lesspipe.sh xmlwf xzcmp grep xzcat fgrep tabs xz egrep xxd unxz xmllint zipdetails xmlcatalog json_pp infokey shasum info podselect wait corelist unalias make psed s2p umask tar sh lesskey read perlbug perlthanks jobs getopts perl perl5.16.3 fg lessecho fc less command gtar cd sexp-conv bg pkcs1-conv bashbug-64 c2ph pstruct bashbug dc bash prove alias splain getconf pod2html tzselect pl2pm sprof bc h2ph sotruss find2perl rpcgen xset a2p pldd pod2usage makedb piconv localedef troff locale xrdb tbl ldd nettle-hash iconv preconv getent soelim gencat pre-grohtml catchsegv post-grohtml Warning accessing /sbin gives errors: [Errno 2] No such file or directory: '/sbin' /bin: screen .screen authenticator_setup pubkey_used google-authenticator passwd pigz unpigz libtree pip2.7 numastat numademo numactl migspeed migratepages memhog ibv_xsrq_pingpong ibv_umr ibv_ud_pingpong ibv_uc_pingpong ibv_task_pingpong ibv_srq_pingpong ibv_rc_pingpong ibv_polldcinfo ibv_intf ibv_devinfo ibv_devices ibv_dctgt ibv_dcini ibv_cc_pingpong hwloc-gather-topology ib_acme sedismod ibv_asyncwatch gdb-add-index hwloc-assembler-remote gcore ibgenperm event_rpcgen.py run-singularity shcomp ibdmtr ksh93 ibdiagpath setfattr ibdiagnet_csv2xml.py getfattr ibdmchk rrdupdate ibdiagnet rrdtool ibcongest rrdinfo dump2slvl.pl rrdcreate dump2psl.pl rrdcgi lstopo-no-graphics rrdcached ibdiagm.sh tc_wrap.py hwloc-ps mlx_fs_dump hwloc-patch mlnx_qos hwloc-info mlnx_qcn hwloc-ls mlnx_perf hwloc-distances mlnx_get_vfs.pl singularity mlnx_dump_parser apptainer ibdev2netdev hb-view mlnx_interface_mgr.sh ibtopodiff checkpolicy mlnx_conf_mgr.sh hb-shape secon hwloc-diff faked fakeroot ibnlparse checkmodule fakeroot-tcp hb-ot-shape-closure fakeroot-sysv cvmfs_talk faked-tcp hwloc-compress-dir faked-sysv hwloc-distrib python3.6 python3.6m cvmfs_fsck gstack pyvenv-3.6 hwloc-bind pyvenv hwloc-calc python3 hwloc-assembler pydoc3.6 hwloc-annotate pydoc3 udpong pip3.6 udaddy pip-3.6 ucmatose pip-3 rstream easy_install-3.6 cvmfs_config unmunge rping remunge riostream munge rdma_xserver fusermount3 rdma_xclient icuinfo rdma_server icu-config-64 cvmfs2 icu-config rdma_client ulockmgr_server hesinfo fusermount rcopy gtester-report semodule_package gtester mckey gresource cmtime gobject-query sandbox glib-mkenums chcat glib-gettextize audit2why glib-genmarshal sedispol glib-compile-resources ibnetsplit pstack gdbus-codegen audit2allow emacs etags unix2mac dtestx unix2dos dtestsrq mac2unix dtestcm dos2unix dtest rnano dapltest zipsplit uil vim zipcloak mandb ex lexgrog xkbcomp catman setxkbmap apropos xkbwatch xkbvleds xterm xkbprint uxterm xkbevd resize xkbbell koi8rxterm file strace-log-merge curl-config strace bison netstat lex rsyslog-recover-qi.pl unzip zipinfo ldappasswd rsync flex++ updatedb flex locate wget ssh-keyscan tcsh ssh-copy-id ksh csh ssh-agent zsh ssh-add openssl slogin pip2 xwud ntpstat pip xwd emacs-24.3 xvidtune gtk-query-immodules-3.0-64 ldapmodrdn gtk-launch gdb xpr m17n-conv xmessage stream xmag montage xlogo mogrify xload import xfontsel identify rksh xfd display xeyes convert attr xdpr conjure xcutsel composite xcursorgen compare xconsole animate xclock xclipboard xbiff gsettings-data-convert zip zipnote gconftool-2 x11perfcomp gconf-merge-tree pip3 ldapwhoami dbus-binding-tool red ldapurl sss_ssh_knownhostsproxy zipgrep ldapmodify sss_ssh_authorizedkeys unzipsfx ldapexop systemd-sysv-convert funzip ldapdelete dconf x11perf update-gtk-immodules patch ldapcompare gtk-query-immodules-2.0-64 view ldapadd pango-view oclock pango-querymodules-64 vi vimdiff pango-list ed luit cairo-sphinx time ldapsearch ssh-keygen lsattr run-parts chattr crontab nano tmux pkla-check-authorization rview vimtutor pkla-admin-identities rvi whatis pkttyagent xml2-config pkexec easy_install-2.7 pkcheck easy_install dbus-update-activation-environment gdlib-config manpath systemd-machine-id-setup dbus-send mount dbus-test-tool more dbus-monitor mcookie dbus-daemon lsns dbus-cleanup-sockets lsmem dbus-run-session lslogins timedatectl lslocks udevadm lsipc systemd-tmpfiles lscpu systemd-stdio-bridge lsblk systemd-run look systemd-path login systemd-nspawn logger systemd-notify linux64 systemd-loginctl linux32 systemd-inhibit kill systemd-hwdb isosize systemd-firstboot ipcs systemd-escape ipcrm systemd-detect-virt ipcmk systemd-delta ionice systemd-coredumpctl i386 systemd-cgtop hexdump systemd-cgls getopt systemd-cat flock systemd-ask-password findmnt systemd-analyze fallocate systemctl eject machinectl dmesg loginctl column localectl colrm kernel-install colcrt journalctl col pkaction chsh hostnamectl chrt coredumpctl chmem busctl chfn bootctl cal usleep watch rvim kmod w ipcalc vmstat mkinitrd uptime lsinitrd top tracepath6 tload dracut snice x86_64 slabtop write skill whereis pwdx wdctl ps tracepath pmap uuidgen pkill utmpdump pgrep unshare free umount gtk-update-icon-cache ping6 namei gdk-pixbuf-thumbnailer ping mountpoint gdk-pixbuf-query-loaders-64 systemd-tty-ask-password-agent sg dbus-uuidgen newuidmap man ul newgrp taskset newgidmap tailf lastlog perf su gpasswd setterm chage setsid fribidi setpriv grep-changelog ssh nsenter gctags setarch etags.emacs scriptreplay emacsclient script ebrowse sftp rev dotlockfile renice wall rename lastb scp raw testrb prlimit mesg wish8.5 compile_et watchgnupg xgettext gpgv2 recode-sr-latin update-desktop-database ngettext last gpgv msguniq gpgsplit msgunfmt gpgparsemail msgmerge gpgconf msginit gem gpg2 msghack gpg-zip msggrep gpg-connect-agent msgfmt gpg-agent msgfilter ruby gpg msgexec gr2fonttest msgen uuclient msgconv sim_client msgcomm krb5-config msgcmp gss-client msgcat nsupdate msgattrib nslookup gettext.sh geoiplookup6 gettext geoiplookup envsubst geoipupdate pwscore urlgrabber pwmake lchsh ld.gold lchfn strip rpmverify strings rpmquery readelf rpmkeys ranlib rpmdb objdump rpm2cpio objcopy fipshmac ld.bfd fipscheck gprof xmbind elfedit xinit c++filt startx addr2line aserver csslint-0.6 ssltap freetype-config desktop-file-validate libpng15-config desktop-file-install libpng-config desktop-file-edit zmore signver zless pk12util zgrep nss-policy-check zforce modutil zfgrep crlutil zegrep cmsutil zdiff certutil gzexe setup-nsssysinit.sh gunzip setup-nsssysinit xorg-x11-fonts-update-dirs erb ncursesw5-config ucs2any cpanp-run-perl mkfontscale cpanp mkfontdir cpan2dist fonttosfnt config_data bdftruncate xsubpp bdftopcf perlivp pkg-config libnetcfg update-mime-database ri ncurses5-config gsettings instmodsh glib-compile-schemas yum rdoc gio-querymodules-64 irb pcre-config gdbus dtrace python2.7 python2 python pydoc fc-validate fc-scan fc-query fc-pattern fc-match fc-list fc-conflist fc-cat fc-cache-64 fc-cache whoami who ln wc fmt vdir false mdig test factor gapplication expr host tee expand dig tail env users echo delv tac du unlink dirname rpm sync dircolors curl sum dir uniq df unexpand dd uname date mwm stty cut tty csplit stdbuf cp tsort comm cpan stat cksum split chown h2xs sort chmod sleep chgrp wish shuf chcon shred cat truncate basename sha512sum base64 sha384sum arch sha256sum [ true reset sha224sum infotocap sha1sum infocmp ld seq clear runcon captoinfo rmdir paperconf size rm pstree.x11 realpath pstree readlink prtstat nm pwd peekfd dwp ptx killall printf gmake printenv which as pr bzmore pinky bzless pathchk bzip2recover tr id bzip2 paste bzgrep ar od bzdiff numfmt bzcmp nproc bzcat nohup bunzip2 sxpm nl pinentry-curses cxpm hostid pinentry znew nice keyctl zcmp mv db_verify mktemp db_upgrade mknod db_tuner mkfifo db_stat mkdir db_replicate touch head db_recover md5sum db_printlog logname db_log_verify zcat groups db_load gzip ls db_hotbackup timeout fold db_dump185 gio link db_dump yes join db_deadlock install db_archive setfacl getfacl chacl xstdcmap xsetroot xsetpointer xsetmode xrefresh xrandr xmodmap xkill xinput xhost xgamma showrgb nettle-lfib-stream sessreg db_checkpoint perldoc dbiproxy pod2text dbiprof pod2man dbilogstrip xargs pod2latex oldfind podchecker find ptargrep sdiff ptardiff diff3 tset ptar diff iptables-xml cmp iceauth zsoelim pic xauth nroff unlz4 neqn lz4cat gtroff tput lz4c gtbl toe lz4 gsoelim update-ca-trust grotty ca-legacy grops trust groff ypdomainname gpic nisdomainname gnroff hostname gneqn domainname geqn dnsdomainname eqn otfview cpio tclsh8.5 p11-kit tclsh testgdbm tic m4 pgawk xzmore igawk xzless gawk xzgrep dgawk xzfgrep awk otftobdf idn otflist luac xzegrep lua otfdump gpg-error xzdiff sqlite3 xzdec sed lesspipe.sh xmlwf xzcmp grep xzcat fgrep tabs xz egrep xxd unxz xmllint zipdetails xmlcatalog json_pp infokey shasum info podselect wait corelist unalias make psed s2p umask tar sh lesskey read perlbug perlthanks jobs getopts perl perl5.16.3 fg lessecho fc less command gtar cd sexp-conv bg pkcs1-conv bashbug-64 c2ph pstruct bashbug dc bash prove alias splain getconf pod2html tzselect pl2pm sprof bc h2ph sotruss find2perl rpcgen xset a2p pldd pod2usage makedb piconv localedef troff locale xrdb tbl ldd nettle-hash iconv preconv getent soelim gencat pre-grohtml catchsegv post-grohtml /scinet/niagara/bin: iousage.rb debugjob jobscript nodeperf iousage.rb.GRP.v3 telnet iousageFILESET.rb zip2git scinet-logins iousageGRP.rb bbcp modulefind diskUsage iousageFILESET.rb.v1 shellcheck mlwrap ..screen sqc .sqlitebrowser checkldapkeys.sh vncserver snu.conf scinet-priority htop modulewrap color.awk monitor scratchUsage ..screen~ bat qsum exit2msg nsum directorysize.py snu.inc lic_check.admin-login quota sendJobInfo tree red.awk sqlitebrowser rankUser scinet mupdf modulewrap-m xpdf .nodeperf git2zip niakey.sh license_check topUserDirOver1GBlist jobperf filecounter.py ish diskUsage59.bin debugjob_neptune .screen~ sq lmutil showUsage ack .nodeperf~ snu.conf~ git .screen neptune mc kill-vscode-server lic_check diskusage_report iousage.rb.v3 filecount rrsync venv2jup NOT_IN_USE topUserDirOver1000list /usr/lpp/mmfs/bin: mmsklmconfig mmadquery_py3 mmquotaon mmputacl mmgskkm mmexpelnode mmdiag mmdefquotaon mmdefedquota mmchattr mmrsh mmkeyserv mmhelp-apolicy mmrestripefile mmquotaoff mmlsattr mmgetacl mmeditacl mmdelacl mmdefquotaoff mmclone mmunmount mmrcp mmyfields mmxcp mmxargs mmwatch mmvaryonvg mmuserauth mmunlinkfileset mmumount mmtracectl mmtrace mmsysmoncontrol mmsysmonc mmsysmon.py mmsync mmstatdcallout mmstartup mmstartpolicy mmsnmpagentd30 mmsnmpagentd10 mmsnmpagentd mmsnapdir mmsmbvalidoptions mmsmbman mmsmbfuncs mmsmb mmshutdown mmsetrcmd mmsetquota mmsdrserv mmsdrrestore mmsdrquerydef mmsdrquery mmsdrfsdef.Linux mmsdrfsdef mmrestrictedctl mmrestoreconfig mmremotecluster mmsdrcli mmlogmsg mmrefresh mmimgbackup mmreclaimspace mmhealth mmrcmd mmglobfuncs.Linux mmlsqos mmglobfuncs mmqosnice mmgetstate mmqos mmgetkafkaspecinfo mmlspool mmgetifconf mmpsnap mmgetconfdata mmsmbsupportedoptions mmgensymtable mmlspolicy mmfsmount mmprotocoltrace mmfsfuncs.Linux mmlsperfdata mmfsfuncs mmprodname mmfsenv mmpmon mmfsd mmperfmon mmfsctl mmpercentencode mmfsckx mmpercentdecode mmfsck mmobj mmfsadm mmnsddiscover mmfixcfg mmnfsup mmfileid mmnfsuninstall mmexportfs mmnfstakeover mmexecvfile mmnfsrecovernode mmexectsmcmd mmlsnsd mmedquota mmnfsquorumloss mmdynamicmap mmlsnodeclass mmdumpperfdata mmlsnode mmdumpkthreads mmlsmount mmdumpfilocks mmlsmgr mmdump mmnfspreunmount mmdspmsg mmnfsnodeback mmdsm mmnfsmonitor mmdsh mmnfsinstall mmdevdiscover mmlslicense mmdelsnapshot mmlsfsckx mmdelnsd mmnfsinit mmdelnodeclass mmlsfs mmdelnode mmnfsgrace mmdelfs mmnfsfuncs mmdelfileset mmlsfileset mmdeldisk mmnfsdown mmdelcallback mmlsdisk mmdefragfs mmnfscleanup mmcrsnapshot mmlsconfig mmcrnsd mmnfs mmcrnodeclass mmlscluster mmcrfsc mmnetverify mmcrfs mmmsgqueue mmcrfileset mmmount mmcrcluster mmmigratefs mmcommon mmlssnapshot mmcollectdebugdata mmlogsort mmcmi mmlsquota mmcloudgateway mmlscallback mmclidecode mmchqos mmchpool mmchpolicy mmcesuserauthrmservice mmrpldisk mmlockf mmcesuserauthlsservice mmlinkfileset mmcesuserauthcrservice mmrestripefs mmktupgrade mmcesuserauthckservice mmrestorefs mmksh mmcesobjlsstoragepolicy mmrepquota mmjob mmcesobjdepstoragepolicy mmremotefs mmimportfs mmcesobjcrstoragepolicy mmremote mmimgrestore mmchnsd mmcesnetup mmchnodeclass mmceslog mmcloudfuncs mmcesloadmonitor mmcesobjchstoragepolicy mmceshdfsfuncs mmcesobjcfgman mmcesfuncs mmchnode mmcesblockfuncs mmcesobjaccesslinkfset mmcesauthfuncs mmcesobjchcfg mmces mmccr mmcallhome mmchmgr mmcachectl mmchlicense mmbuildgpl mmchfileset mmblock mmchfs mmbackupconfig mmcesobjaccess mmbackup mmcheckquota mmautoload mmchecksubsys mmauth mmchdisk mmauditpreunmount mmcesnode mmauditmount mmcesnfsmonitor mmaudit mmchcluster mmapplypolicy mmcesnfslsexport mmafmlocal mmchconfig mmafmhomeconfig mmcesnfslscfg mmafmctl mmcessmblsexport mmafmcoskeys mmcesnfsloadexport mmafmcosctl mmcessmblsconfig mmafmcosconfig mmcesnfsfuncs mmafmcosaccess mmcesnfsdelexport mmafmconfig mmcessmbfuncs mmafmcmd mmcessmbexportacl mmadquery_py2 mmcesnfscrexport mmadquery mmcessmbdelexport mmaddnode mmcessmbcrexport mmadddisk mmcessmbchexport mmaddcallback mmcesnfschexport mmcessmbchconfig mmcesnetworkmonitor mmcesrecovernode mmcesnfschcfg mmcesnetmvaddress mmcesservice mmcespnfsip mmcesobjs3 mmcesnetlsaddress mmcesnetdown mmcesnetdeladdress mmcesobjpolicyfuncs mmcesnetchaddress mmcesobjmr mmcesnetaddaddress mmcesmonitord mmcesminfuncs mmcesmonitor mmcesmmcdelexport mmcesop mmcesobjlscfg mmcesmmccrexport mmcesobjfuncs mmcesobjcrring mmcesobjcrbase mmcesmmcchexport mmccrnv mmfs mmccrmonitor mmdf mmcallhremote lxtrace-3.10.0-1160.114.2.el7.x86_64 tsloadikm tsnsdaccess tslspool tslsfs tslsdisk tsdelsnapshot tschfileset tsusercmd tssnapdir tslssnapshot tslspolicy tslsfileset tsedquota tscrsnapshot tsdf tsstatus tslsrecoverygroupevents tslsrecgroup tslsqos tslspdisk tslsfsckx tskafkaauth tsgnrvdiskfgscrub tsfsctl tsfsckx tsfsck tsfileid tsexpelnode tsdsh tsdiag tsdelvdisk tsdelrecgroup tsdelpdisk tsdelfs tsdelfileset tsdeldisk tsdefragfs tsdefquotaon tsdefquotaoff tsdefedquota tsdbvdisk tsdbfs tsctl tscrvdisk tscrrecgroup tscrfs tscrfileset tscmd tschstoragepool tschrecgroup tschqos tschpool tschfs tsadddisk tsunmount tsrpldisk tsrestripefs tsressnapshot tsrepquota tsremount tsreclaimspace tsrecgroupserver tsquotaon tsquotaoff tsnsdrediscover tsnsddiscover tschpdisk tschmgr tscheckquota tschdisk tschcarrier tscachectl tsauth tsaddpdisk tslsvdisk tssklmconfig tsdelacl tscreatedir tsclwatchrules tspmon tsclone tschpolicy tschattr tsbuhelper tsbackup33 tsbackup xcputil.sh tsapolicy wftopics tsaddrmap wftopichk sysmon.snap.py tspcacheutil sshwrap tsyselect sshscpwrap tsxattr smb.snap.py tsunlinkfileset scpwrap tsstarthelper runmmfs tssetquota pymmcesnfslsexport.py .links pymmcesnfsfuncs.py tspcacheu perfmon_helper.py tspcachesnapdiff perfmon.snap.py tspcachescan perfmon.callhome.py tspcacheevict perf.snap.py tspcache objmetric_count.py tsnetverify object.snap.py tsmergeshadow object.callhome.py tslsquota noobaa.snap.py tslspool34 nfspod.snap.py tslsmgr nfsdebug.snap.py tslsattr nfs.snap.py tssbrindex network.snap.py tslinkfileset network.callhome.py tskmipkm msgqueueservicesmonitormanager tssbrff tsdbmemleak msgqueueDaemonManager tsdbmemleakparse tsrestripefile tsrestorefileset tsqosnice tsputacl tsprshowfence tsprreserve tsimgrestore tsprregister tsprreadres tsprreadkeys tsgskkm tsprquery tsprpreemptabort tsprinquiry tsgetscsiinfo tspreparedisk tsgetacl tsfindname tsfindinode tsextattr tsprclear tseditacl lxtrace hadoop.snap.py gui.snap.py gui.callhome.py gpfsrunlevel gpfs.snap gds.snap.py fcm.snap.py fab3.snap.py ess_hal.snap.py ece.callhome.py daemonize core.snap.py copyutil commonsnap.py cnss.snap.py clstrwatchconsumermanager clstrwatchcallbacks cleanupkeystonedb ces.snap.py ccrrestore callhome.snap.py bsshwrap bsshscpwrap bscpwrap basicsnap.py auth.snap.py tscp audit_watch.snap.py auditConsumerManager ============================================================================================= TESTING: configureExternalPackagesDir from config.framework(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/framework.py:1084) Set alternative directory external packages are built in serialEvaluation: initial cxxDialectRanges ('c++11', 'c++20') serialEvaluation: child OpenMPI raised minimum cxx dialect version to c++11 serialEvaluation: child opencascade raised minimum cxx dialect version to c++11 serialEvaluation: new cxxDialectRanges ('c++11', 'c++20') child config.utilities.macosFirewall took 0.000006 seconds ============================================================================================= TESTING: configureDebuggers from config.utilities.debuggers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/debuggers.py:20) Find a default debugger and determine its arguments Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gdb...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gdb...not found Checking for program /opt/slurm/bin/gdb...not found Checking for program /scinet/niagara/software/2019b/core/bin/gdb...not found Checking for program /usr/local/sbin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/sbin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Defined "USE_DEBUGGER" to ""gdb"" Defined make macro "DSYMUTIL" to "true" child config.utilities.debuggers took 0.002091 seconds ============================================================================================= TESTING: configureDirectories from PETSc.options.petscdir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/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 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 21 #define PETSC_VERSION_SUBMINOR 0 #define PETSC_VERSION_DATE "Mar 29, 2024" #define PETSC_VERSION_GIT "v3.21.0" #define PETSC_VERSION_DATE_GIT "2024-03-29 16:12:53 -0500" #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.003071 seconds ============================================================================================= TESTING: getDatafilespath from PETSc.options.dataFilesPath(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be child PETSc.options.dataFilesPath took 0.000314 seconds ============================================================================================= TESTING: configureGit from config.sourceControl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/git...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/git...not found Checking for program /opt/slurm/bin/git...not found Checking for program /scinet/niagara/software/2019b/core/bin/git...not found Checking for program /usr/local/sbin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/sbin/git...not found Checking for program /usr/bin/git...not found Checking for program /sbin/git...not found Checking for program /bin/git...not found Checking for program /scinet/niagara/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 2.39.1 ============================================================================================= TESTING: configureMercurial from config.sourceControl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/hg...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/hg...not found Checking for program /opt/slurm/bin/hg...not found Checking for program /scinet/niagara/software/2019b/core/bin/hg...not found Checking for program /usr/local/sbin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/sbin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /sbin/hg...not found Checking for program /bin/hg...not found Checking for program /scinet/niagara/bin/hg...not found Checking for program /usr/lpp/mmfs/bin/hg...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/hg...not found child config.sourceControl took 0.008899 seconds ============================================================================================= TESTING: configureInstallationMethod from PETSc.options.petscclone(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/petscclone.py:20) Determine if PETSc was obtained via git or a tarball This is a tarball installation child PETSc.options.petscclone took 0.000966 seconds ============================================================================================= TESTING: setNativeArchitecture from PETSc.options.arch(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/arch.py:29) Forms the arch as GNU's configure would form it ============================================================================================= TESTING: configureArchitecture from PETSc.options.arch(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/arch.py:42) Checks if PETSC_ARCH is set and sets it if not set configure hash file: config-release/lib/petsc/conf/configure-hash does not match, need to run configure Setting hashfile: config-release/lib/petsc/conf/configure-hash Deleting configure hash file: config-release/lib/petsc/conf/configure-hash Deleted configure hash file: config-release/lib/petsc/conf/configure-hash child PETSc.options.arch took 0.090591 seconds ============================================================================================= TESTING: setInstallDir from PETSc.options.installDir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/installDir.py:31) Set installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Defined make macro "PREFIXDIR" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0" ============================================================================================= TESTING: saveReconfigure from PETSc.options.installDir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/installDir.py:76) Save the configure options in a script in PETSC_ARCH/lib/petsc/conf so the same configure may be easily re-run ============================================================================================= TESTING: cleanConfDir from PETSc.options.installDir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/installDir.py:68) Remove all the files from configuration directory for this PETSC_ARCH, from --with-clean option ============================================================================================= TESTING: configureInstallDir from PETSc.options.installDir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/installDir.py:52) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/lib/petsc/conf ============================================================================================= TESTING: restoreReconfigure from PETSc.options.installDir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/installDir.py:90) If --with-clean was requested but restoring the reconfigure file was requested then restore it child PETSc.options.installDir took 0.002324 seconds ============================================================================================= TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/externalpackagesdir.py:15) Set location where external packages will be downloaded to ============================================================================================= TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/externalpackagesdir.py:23) Remove all downloaded external packages, from --with-clean child PETSc.options.externalpackagesdir took 0.000316 seconds ============================================================================================= TESTING: configureCLanguage from PETSc.options.languages(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/languages.py:28) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" Defined make macro "CLANGUAGE" to "C" child PETSc.options.languages took 0.000611 seconds ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2739) Remove compilers from the shell environment so they do not interfere with testing ============================================================================================= ***** WARNING ***** Found environment variable: CC=gcc. Ignoring it! Use "./configure CC=$CC" if you really want to use this value ============================================================================================= ============================================================================================= ***** WARNING ***** Found environment variable: CXX=g++. Ignoring it, since it's also set on command line ============================================================================================= ============================================================================================= ***** WARNING ***** Found environment variable: FC=gfortran. Ignoring it! Use "./configure FC=$FC" if you really want to use this value ============================================================================================= ============================================================================================= ***** WARNING ***** Found environment variable: F77=gfortran. Ignoring it! Use "./configure F77=$F77" if you really want to use this value ============================================================================================= ============================================================================================= ***** WARNING ***** Found environment variable: F90=gfortran. Ignoring it! Use "./configure F90=$F90" if you really want to use this value ============================================================================================= ============================================================================================= ***** WARNING ***** Found environment variable: MAKEFLAGS=s. Ignoring it! Use "./configure MAKEFLAGS=$MAKEFLAGS" if you really want to use this value ============================================================================================= ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2756) Set configure compilers from the environment, from -with-environment-variables ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2709) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ============================================================================================= TESTING: requireMpiLdPath from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2730) Open MPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:726) Initialize the compiler and linker flags Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to Initialized SYCLFLAGS to Initialized SYCLFLAGS to Initialized SYCLC_LINKER_FLAGS to Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Initialized CPPFLAGS to Initialized FPPFLAGS to Initialized CUDAPPFLAGS to 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 sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ============================================================================================= TESTING: checkCCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1435) Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ncc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ncc...not found Checking for program /opt/slurm/bin/ncc...not found Checking for program /scinet/niagara/software/2019b/core/bin/ncc...not found Checking for program /usr/local/sbin/ncc...not found Checking for program /usr/local/bin/ncc...not found Checking for program /usr/sbin/ncc...not found Checking for program /usr/bin/ncc...not found Checking for program /sbin/ncc...not found Checking for program /bin/ncc...not found Checking for program /scinet/niagara/bin/ncc...not found Checking for program /usr/lpp/mmfs/bin/ncc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/ncc...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcc...found Defined make macro "CC" to "gcc" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm stdout: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status ======== Checking running linked program Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Executing: gcc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: gcc -v | head -n 20 stdout: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1482) Locate a functional C preprocessor Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcc...found Defined make macro "CPP" to "gcc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Preprocess output before filtering: Preprocess output after filtering: ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1764) Locate a functional Cxx compiler Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/g++...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/g++...found Defined make macro "CXX" to "g++" Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm stdout: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status ======== Checking running linked program Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Executing: g++ --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) 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: g++ --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:774) Determine the CXX dialect supported by the compiler (language) [and corresponding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]23: not yet supported [[c|gnu][xx|++]]20: gnu++20 or c++20 [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++11','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect - self.lang+'dialect' = 'c++'+maxDialectNumber (e.g. 'c++14') but ONLY if the user specifically requests a dialect version, otherwise this is not set Raises a config.base.ConfigureSetupError if: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannot all be compiled with the same flag - An unknown C++ dialect is provided The config.base.ConfigureSetupErrors are NOT meant to be caught, as they are fatal errors on part of the user Raises a RuntimeError (which may be caught) if: - The compiler does not support at minimum -std=c++11 Executing: g++ --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Did not detect MSVC Detected Non-Microsoft Windows native compiler checkCxxDialect: checking C++ dialect version for language "CXX" using compiler "g++" checkCxxDialect: PETSc believes compiler (g++) IS gnu-ish checkCxxDialect: PETSc believes that we have NOT processed g++ before checkCxxDialect: configure option after sanitization: --with-cxx-dialect=AUTO checkCxxDialect: dialect AUTO has been NOT explicitly selected for CXX checkCxxDialect: Have potential flag pool: - -std=gnu++20 - -std=c++20 - -std=gnu++17 - -std=c++17 - -std=gnu++14 - -std=c++14 - -std=gnu++11 - -std=c++11 checkCxxDialect: checking CXX 20 for cxx with -std=gnu++20 Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++20 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc stdout: g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’? Possible ERROR while running compiler: exit code 1 stderr: g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’? Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #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 #include #include std::align_val_t dummy; [[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(); } std::tuple foobar() { return {3.8, 0, 'x'}; } // c++20 includes #include #include consteval int sqr_cpp20(int n) { return n*n; } constexpr auto r = sqr_cpp20(10); static_assert(r == 100); const char *g_cpp20() { return "dynamic initialization"; } constexpr const char *f_cpp20(bool p) { return p ? "constant initializer" : g_cpp20(); } constinit const char *cinit_c = f_cpp20(true); // OK // Declaration of the concept "Hashable", which is satisfied by any type 'T' // such that for values 'a' of type 'T', the expression std::hash{}(a) // compiles and its result is convertible to std::size_t template concept Hashable = requires(T a) { { std::hash{}(a) } -> std::convertible_to; }; struct meow {}; // Constrained C++20 function template: template void f_concept(T) {} void abbrev_f1(auto); // same as template void abbrev_f1(T) void abbrev_f4(const std::destructible auto*, std::floating_point auto&); // same as template void abbrev_f4(const T*, U&); template<> void abbrev_f4(const int*, const double&); // specialization of abbrev_f4 (since C++20) int main(void) { // 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; std::vector> vector; std::sort(vector.begin(), vector.end(), [](std::unique_ptr &a, std::unique_ptr &b) { return *a < *b; }); // 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); // structured binding const auto [ab, cd, ef] = foobar(); // c++20 body ignore(cinit_c); using std::operator""s; f_concept("abc"s); return 0; } Output from compiling with -std=gnu++20 g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’? PETSc Error: No output file produced Rejecting compiler flag -std=gnu++20 due to nonzero status from link checkCxxDialect: checking CXX 20 for cxx with -std=c++20 Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=c++20 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc stdout: g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? Possible ERROR while running compiler: exit code 1 stderr: g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #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 #include #include std::align_val_t dummy; [[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(); } std::tuple foobar() { return {3.8, 0, 'x'}; } // c++20 includes #include #include consteval int sqr_cpp20(int n) { return n*n; } constexpr auto r = sqr_cpp20(10); static_assert(r == 100); const char *g_cpp20() { return "dynamic initialization"; } constexpr const char *f_cpp20(bool p) { return p ? "constant initializer" : g_cpp20(); } constinit const char *cinit_c = f_cpp20(true); // OK // Declaration of the concept "Hashable", which is satisfied by any type 'T' // such that for values 'a' of type 'T', the expression std::hash{}(a) // compiles and its result is convertible to std::size_t template concept Hashable = requires(T a) { { std::hash{}(a) } -> std::convertible_to; }; struct meow {}; // Constrained C++20 function template: template void f_concept(T) {} void abbrev_f1(auto); // same as template void abbrev_f1(T) void abbrev_f4(const std::destructible auto*, std::floating_point auto&); // same as template void abbrev_f4(const T*, U&); template<> void abbrev_f4(const int*, const double&); // specialization of abbrev_f4 (since C++20) int main(void) { // 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; std::vector> vector; std::sort(vector.begin(), vector.end(), [](std::unique_ptr &a, std::unique_ptr &b) { return *a < *b; }); // 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); // structured binding const auto [ab, cd, ef] = foobar(); // c++20 body ignore(cinit_c); using std::operator""s; f_concept("abc"s); return 0; } Output from compiling with -std=c++20 g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? PETSc Error: No output file produced Rejecting compiler flag -std=c++20 due to nonzero status from link checkCxxDialect: checking CXX 17 for cxx with -std=gnu++17 Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #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 #include #include std::align_val_t dummy; [[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(); } std::tuple foobar() { return {3.8, 0, 'x'}; } int main(void) { // 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; std::vector> vector; std::sort(vector.begin(), vector.end(), [](std::unique_ptr &a, std::unique_ptr &b) { return *a < *b; }); // 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); // structured binding const auto [ab, cd, ef] = foobar(); return 0; } Output from compiling with -std=gnu++17 Added Cxx compiler flag -std=gnu++17 checkCxxDialect: success using -std=gnu++17 for Cxx dialect C++17, set new cxxDialectRange: ('c++11', 'c++17') Defined "HAVE_CXX_DIALECT_CXX11" to "1" Defined "HAVE_CXX_DIALECT_CXX14" to "1" Defined "HAVE_CXX_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkCxxPreprocessor from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1800) Locate a functional Cxx preprocessor Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/g++...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/g++...found Defined make macro "CXXPP" to "g++ -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: g++ -E -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Preprocess output before filtering: Preprocess output after filtering: ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1519) Locate a functional CUDA compiler Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/nvcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/nvcc...not found Checking for program /opt/slurm/bin/nvcc...not found Checking for program /scinet/niagara/software/2019b/core/bin/nvcc...not found Checking for program /usr/local/sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /scinet/niagara/bin/nvcc...not found Checking for program /usr/lpp/mmfs/bin/nvcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/nvcc...not found Checking for program /Developer/NVIDIA/CUDA-6.5/bin/nvcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/Developer/NVIDIA/CUDA-6.5/bin'] Warning accessing /Developer/NVIDIA/CUDA-6.5/bin gives errors: [Errno 2] No such file or directory: '/Developer/NVIDIA/CUDA-6.5/bin' Checking for program /usr/local/cuda/bin/nvcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/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' Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/clang...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/clang...not found Checking for program /opt/slurm/bin/clang...not found Checking for program /scinet/niagara/software/2019b/core/bin/clang...not found Checking for program /usr/local/sbin/clang...not found Checking for program /usr/local/bin/clang...not found Checking for program /usr/sbin/clang...not found Checking for program /usr/bin/clang...not found Checking for program /sbin/clang...not found Checking for program /bin/clang...not found Checking for program /scinet/niagara/bin/clang...not found Checking for program /usr/lpp/mmfs/bin/clang...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/clang...not found ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) 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 g++ ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1581) Locate a functional HIP compiler Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/hipcc...not found Checking for program /opt/slurm/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/core/bin/hipcc...not found Checking for program /usr/local/sbin/hipcc...not found Checking for program /usr/local/bin/hipcc...not found Checking for program /usr/sbin/hipcc...not found Checking for program /usr/bin/hipcc...not found Checking for program /sbin/hipcc...not found Checking for program /bin/hipcc...not found Checking for program /scinet/niagara/bin/hipcc...not found Checking for program /usr/lpp/mmfs/bin/hipcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/hipcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/opt/rocm/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/slurm/bin/opt/rocm/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/core/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/local/sbin/opt/rocm/bin/hipcc...not found Checking for program /usr/local/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/sbin/opt/rocm/bin/hipcc...not found Checking for program /usr/bin/opt/rocm/bin/hipcc...not found Checking for program /sbin/opt/rocm/bin/hipcc...not found Checking for program /bin/opt/rocm/bin/hipcc...not found Checking for program /scinet/niagara/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/lpp/mmfs/bin/opt/rocm/bin/hipcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/opt/rocm/bin/hipcc...not found ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1640) Locate a functional SYCL compiler ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1893) Locate a functional Fortran compiler Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gfortran...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran...found Defined make macro "FC" to "gfortran" Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm stdout: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status ======== Checking running linked program Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkFortranPreprocessor from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1929) Locate a functional Fortran preprocessor Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gfortran...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran...found Defined make macro "FPP" to "gfortran -E" Preprocessing source: #define foo 10 Executing: gfortran -E -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Preprocess output before filtering: Preprocess output after filtering: ============================================================================================= TESTING: checkFortranComments from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1948) Make sure fortran comment "!" works Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2135) check for large file support with 64-bit offset ============================================================================================= TESTING: checkArchiver from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2228) Check that the archiver exists and can make a library usable by the compiler Detected Non-Microsoft Windows native compiler Executing: ar -V stdout: GNU ar version 2.27-44.base.el7_9.1 Copyright (C) 2016 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 version 2.27-44.base.el7_9.1 Copyright (C) 2016 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ar...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ar...not found Checking for program /opt/slurm/bin/ar...not found Checking for program /scinet/niagara/software/2019b/core/bin/ar...not found Checking for program /usr/local/sbin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ranlib...not found Checking for program /opt/slurm/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/core/bin/ranlib...not found Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/sbin/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-xj8i2x7y/config.setCompilers/libconf1.a /tmp/petsc-xj8i2x7y/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-xj8i2x7y/config.setCompilers/libconf1.a stdout: /usr/bin/ranlib: invalid option -- 'c' Possible ERROR while running ranlib:exit code 0 stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar version 2.27-44.base.el7_9.1 Copyright (C) 2016 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 version 2.27-44.base.el7_9.1 Copyright (C) 2016 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ar...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ar...not found Checking for program /opt/slurm/bin/ar...not found Checking for program /scinet/niagara/software/2019b/core/bin/ar...not found Checking for program /usr/local/sbin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ranlib...not found Checking for program /opt/slurm/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/core/bin/ranlib...not found Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/sbin/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-xj8i2x7y/config.setCompilers/libconf1.a /tmp/petsc-xj8i2x7y/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-xj8i2x7y/config.setCompilers/libconf1.a Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main(void) { int b = foo(1); (void)b; return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -L/tmp/petsc-xj8i2x7y/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2300) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2382) Check that the linker can produce shared libraries Checking shared linker gcc using flags ['-qmkshrobj'] Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gcc -show stdout: gcc: error: unrecognized command line option ‘-show’ gcc: fatal error: no input files compilation terminated. Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -qmkshrobj -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: gcc: error: unrecognized command line option ‘-qmkshrobj’ Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qmkshrobj’ Rejecting linker flag -qmkshrobj due to nonzero status from link Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ‘-qmkshrobj’ Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Rejected C compiler flag -fPIC because it was not compatible with shared linker gcc using flags ['-qmkshrobj'] Trying C compiler flag Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -qmkshrobj /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: gcc: error: unrecognized command line option ‘-qmkshrobj’ Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qmkshrobj’ Rejecting linker flag -qmkshrobj due to nonzero status from link Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ‘-qmkshrobj’ Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Rejected C compiler flag because it was not compatible with shared linker gcc using flags ['-qmkshrobj'] Deleting "LD_SHARED" Checking shared linker gcc using flags ['-shared'] Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcc...found Defined make macro "LD_SHARED" to "gcc" Executing: gcc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gcc -show stdout: gcc: error: unrecognized command line option ‘-show’ gcc: fatal error: no input files compilation terminated. Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main(void) { int ret = foo(); if (ret) {} return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -L/tmp/petsc-xj8i2x7y/config.setCompilers -lconftest Using shared linker gcc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPIC from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2085) Determine the PIC option for each compiler Executing: gfortran --help | head -n 20 stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gfortran -show stdout: gfortran: error: unrecognized command line option ‘-show’ gfortran: fatal error: no input files compilation terminated. Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying FC compiler flag -fPIC for PIC code Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC Added FC compiler flag -fPIC Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Accepted FC compiler flag -fPIC for PIC code Executing: g++ --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: g++ -show stdout: g++: error: unrecognized command line option ‘-show’ g++: fatal error: no input files compilation terminated. Skipping checking MPI compiler command for PIC flag since MPI compiler -show causes an exception so is likely not an MPI compiler Trying Cxx compiler flag -fPIC for PIC code Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -std=gnu++17 -fPIC Added Cxx compiler flag -fPIC Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Accepted Cxx compiler flag -fPIC for PIC code ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2501) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: gcc -V stdout: gcc: error: unrecognized command line option ‘-V’ gcc: fatal error: no input files compilation terminated. Trying C linker flag -Wl,-rpath, Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 Executing: gcc -V stdout: gcc: error: unrecognized command line option ‘-V’ gcc: fatal error: no input files compilation terminated. Trying Cxx linker flag -Wl,-rpath, Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 Executing: gcc -V stdout: gcc: error: unrecognized command line option ‘-V’ gcc: fatal error: no input files compilation terminated. Trying FC linker flag -Wl,-rpath, Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 ============================================================================================= TESTING: checkLibC from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2543) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/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: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2589) Check that the linker can dynamically load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library [''] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } char dlsym(void); static void _check_dlsym(void) { dlsym(); } char dlclose(void); static void _check_dlclose(void) { dlclose(); } int main(void) { _check_dlopen(); _check_dlsym(); _check_dlclose(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.o stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `_check_dlopen': conftest.c:(.text+0x5): undefined reference to `dlopen' /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `_check_dlsym': conftest.c:(.text+0x11): undefined reference to `dlsym' /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `_check_dlclose': conftest.c:(.text+0x1d): undefined reference to `dlclose' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `_check_dlopen': conftest.c:(.text+0x5): undefined reference to `dlopen' /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `_check_dlsym': conftest.c:(.text+0x11): undefined reference to `dlsym' /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `_check_dlclose': conftest.c:(.text+0x1d): undefined reference to `dlclose' collect2: error: ld returned 1 exit status Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } char dlsym(void); static void _check_dlsym(void) { dlsym(); } char dlclose(void); static void _check_dlclose(void) { dlclose(); } int main(void) { _check_dlopen(); _check_dlsym(); _check_dlclose(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } char dlsym(void); static void _check_dlsym(void) { dlsym(); } char dlclose(void); static void _check_dlclose(void) { dlclose(); } void dummy(void) {_check_dlopen(); _check_dlsym(); _check_dlclose();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Checking dynamic linker gcc using flags ['-shared'] Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcc...found Defined make macro "DYNAMICLINKER" to "gcc" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main(void) { void *handle = dlopen("/tmp/petsc-xj8i2x7y/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: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Using dynamic linker gcc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2043) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main(void) { return 0; } Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wunknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wunknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main(void) { return 0; } ============================================================================================= TESTING: checkAtFileOption from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2781) Check if linker supports @file option Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest @/tmp/petsc-xj8i2x7y/config.setCompilers/optfile -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Valid C linker flag @/tmp/petsc-xj8i2x7y/config.setCompilers/optfile Defined make macro "PCC_AT_FILE" to "1" ============================================================================================= TESTING: output from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2638) Output module data as defines and substitutions Substituting "CC" with "gcc" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "gcc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "g++" Substituting "CXX_CXXFLAGS" with " -std=gnu++17 -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "g++ -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "gfortran" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "FPP" with "gfortran -E" Substituting "FPPFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" child config.setCompilers took 3.408932 seconds ============================================================================================= TESTING: configureIndexSize from PETSc.options.indexTypes(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/indexTypes.py:38) Determine the size of PETSc indices (32 or 64-bit), from -with-64-bit-indices Defined make macro "PETSC_INDEX_SIZE" to "32" child PETSc.options.indexTypes took 0.001152 seconds ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: gcc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gcc gcc (GCC) 8.3.0 Defined make macro "C_VERSION" to "gcc (GCC) 8.3.0" Defined make macro "MPICC_SHOW" to "Unavailable" Executing: gcc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gcc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Did not detect Gcc110plus compiler Executing: gcc --help | head -n 500 Trying C compiler flag -Wall Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-unknown-pragmas Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -Wno-lto-type-mismatch Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch Added C compiler flag -Wno-lto-type-mismatch Trying C compiler flag -fstack-protector Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector Added C compiler flag -fstack-protector Trying C compiler flag -mfp16-format=ieee Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -mfp16-format=ieee /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c stdout: gcc: error: unrecognized command line option ‘-mfp16-format=ieee’ Possible ERROR while running compiler: exit code 1 stderr: gcc: error: unrecognized command line option ‘-mfp16-format=ieee’ Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -mfp16-format=ieee gcc: error: unrecognized command line option ‘-mfp16-format=ieee’ PETSc Error: No output file produced Rejecting compiler flag -mfp16-format=ieee due to nonzero status from link Rejected C compiler flag -mfp16-format=ieee Trying C compiler flag -fvisibility=hidden Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden Added C compiler flag -fvisibility=hidden Trying C compiler flag -O3 Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 Added C compiler flag -O3 Executing: g++ --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: g++ g++ (GCC) 8.3.0 Defined make macro "Cxx_VERSION" to "g++ (GCC) 8.3.0" Defined make macro "MPICXX_SHOW" to "Unavailable" Executing: g++ --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: g++ --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: g++ --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Trying Cxx compiler flag -Wall Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -Wno-lto-type-mismatch Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch Added Cxx compiler flag -Wno-lto-type-mismatch Trying Cxx compiler flag -Wno-psabi Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi Added Cxx compiler flag -Wno-psabi Trying Cxx compiler flag -fstack-protector Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector Added Cxx compiler flag -fstack-protector Trying Cxx compiler flag -fvisibility=hidden Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden Added Cxx compiler flag -fvisibility=hidden Trying Cxx compiler flag -O3 Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 Added Cxx compiler flag -O3 Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: gfortran GNU Fortran (GCC) 8.3.0 Defined make macro "FC_VERSION" to "GNU Fortran (GCC) 8.3.0" Defined make macro "MPIFC_SHOW" to "Unavailable" Executing: gfortran --help | head -n 20 stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran46plus compiler Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran47plus compiler Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: gfortran -v stdout: Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Trying FC compiler flag -Wall Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall Added FC compiler flag -Wall Trying FC compiler flag -ffree-line-length-none Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none Added FC compiler flag -ffree-line-length-none Trying FC compiler flag -ffree-line-length-0 Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 Added FC compiler flag -ffree-line-length-0 Trying FC compiler flag -Wno-lto-type-mismatch Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch Added FC compiler flag -Wno-lto-type-mismatch Trying FC compiler flag -Wno-unused-dummy-argument Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument Added FC compiler flag -Wno-unused-dummy-argument Trying FC compiler flag -O3 Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 Added FC compiler flag -O3 ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilerFlags.py:168) Use Linux/macOS commands to determine what operations the hardware supports Executing: lscpu stdout: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Silver 4215 CPU @ 2.50GHz Stepping: 7 CPU MHz: 3000.030 CPU max MHz: 3500.0000 CPU min MHz: 1000.0000 BogoMIPS: 5000.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 11264K NUMA node0 CPU(s): 0-7,16-23 NUMA node1 CPU(s): 8-15,24-31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba rsb_ctxsw ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilerFlags.py:159) Save the list of CPP macros defined by the C and C++ compiler, does not work for all compilers Executing: gcc -c -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilerFlags/conftest.c -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __x86_64 1 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __LDBL_MAX_EXP__ 16384 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __linux__ 1 #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT64X_MANT_DIG__ 64 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __STDC_UTF_16__ 1 #define __DEC32_MAX__ 9.999999E96DF #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201103L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 64 #define __DECIMAL_DIG__ 21 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INTMAX_WIDTH__ 64 #define __has_include_next(STR) __has_include_next__(STR) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __GNUC__ 8 #define __MMX__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __FLT128_HAS_INFINITY__ 1 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __amd64 1 #define __STDC_NO_THREADS__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT32_HAS_QUIET_NAN__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __GXX_ABI_VERSION 1013 #define __FLT_MIN_EXP__ (-125) #define __FLT64X_HAS_QUIET_NAN__ 1 #define __INT_FAST64_TYPE__ long int #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __LP64__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_EXP__ (-1021) #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "8.3.0" #define __UINT64_C(c) c ## UL #define _STDC_PREDEF_H 1 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __FLT32_MAX_10_EXP__ 38 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define __FLT64X_HAS_INFINITY__ 1 #define unix 1 #define __INT16_MAX__ 0x7fff #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __SSE_MATH__ 1 #define __k8 1 #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __FLT32X_MANT_DIG__ 53 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201710L #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define linux 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSE2__ 1 #define __FLT32X_DIG__ 15 #define __LDBL_MANT_DIG__ 64 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __k8__ 1 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __SIZEOF_FLOAT__ 4 #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT32_HAS_INFINITY__ 1 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __INT_MAX__ 0x7fffffff #define __amd64__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __SSP__ 1 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long unsigned int #define __FLT128_HAS_QUIET_NAN__ 1 #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 3 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ long int #define __ATOMIC_SEQ_CST 5 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __SIZEOF_LONG_LONG__ 8 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __LDBL_DIG__ 18 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __INT_LEAST64_WIDTH__ 64 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 Executing: g++ -c -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilerFlags/conftest.cc -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __cpp_attributes 200809 #define __cpp_nontype_template_parameter_auto 201606 #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __cpp_aggregate_nsdmi 201304 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __cpp_static_assert 201411 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __cpp_enumerator_attributes 201411 #define __unix__ 1 #define __cpp_binary_literals 201304 #define __FLT64_DECIMAL_DIG__ 17 #define __cpp_noexcept_function_type 201510 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __x86_64 1 #define __cpp_variadic_templates 200704 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __cpp_variable_templates 201304 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __FLT32_MAX_10_EXP__ 38 #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __cpp_variadic_using 201611 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __cpp_capture_star_this 201603 #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __cpp_if_constexpr 201606 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __GXX_EXPERIMENTAL_CXX0X__ 1 #define __LDBL_MAX_EXP__ 16384 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __linux__ 1 #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT64X_MANT_DIG__ 64 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __cpp_aligned_new 201606 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __GXX_WEAK__ 1 #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __DEC32_MAX__ 9.999999E96DF #define __cpp_threadsafe_static_init 200806 #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201103L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 64 #define __DECIMAL_DIG__ 21 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INTMAX_WIDTH__ 64 #define __FLT64_MIN_EXP__ (-1021) #define __has_include_next(STR) __has_include_next__(STR) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __GNUC__ 8 #define __GXX_RTTI 1 #define __MMX__ 1 #define __cpp_delegating_constructors 200604 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __STDC_UTF_16__ 1 #define __FLT64_MAX_10_EXP__ 308 #define __FLT32_HAS_INFINITY__ 1 #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L) #define __cpp_raw_strings 200710 #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __cpp_deduction_guides 201611 #define __cpp_fold_expressions 201603 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __cplusplus 201703L #define __cpp_ref_qualifiers 200710 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __DEPRECATED 1 #define __cpp_rvalue_references 200610 #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __amd64 1 #define __STDC_NO_THREADS__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT32_HAS_QUIET_NAN__ 1 #define __GNUG__ 8 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __cpp_rvalue_reference 200610 #define __cpp_nsdmi 200809 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __cpp_initializer_lists 200806 #define __FLT32_MAX_EXP__ 128 #define __cpp_hex_float 201603 #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __GXX_ABI_VERSION 1013 #define __FLT128_HAS_INFINITY__ 1 #define __FLT_MIN_EXP__ (-125) #define __cpp_lambdas 200907 #define __FLT64X_HAS_QUIET_NAN__ 1 #define __INT_FAST64_TYPE__ long int #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L) #define __LP64__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "8.3.0" #define __UINT64_C(c) c ## UL #define __cpp_unicode_characters 201411 #define _STDC_PREDEF_H 1 #define __cpp_decltype_auto 201304 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __cpp_aggregate_bases 201603 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __cpp_nested_namespace_definitions 201411 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define __FLT64X_HAS_INFINITY__ 1 #define unix 1 #define __INT16_MAX__ 0x7fff #define __cpp_rtti 199711 #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __cpp_digit_separators 201309 #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __GLIBCXX_BITSIZE_INT_N_0 128 #define __k8 1 #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __FLT32X_MANT_DIG__ 53 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __cpp_unicode_literals 200710 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __cpp_structured_bindings 201606 #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define __cpp_sized_deallocation 201309 #define __cpp_guaranteed_copy_elision 201606 #define linux 1 #define __cpp_range_based_for 201603 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSE2__ 1 #define __EXCEPTIONS 1 #define __LDBL_MANT_DIG__ 64 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __cpp_nontype_template_args 201411 #define __cpp_return_type_deduction 201304 #define __k8__ 1 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __SIZEOF_FLOAT__ 4 #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __cpp_decltype 200707 #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __cpp_inline_variables 201606 #define __INT_MAX__ 0x7fffffff #define __amd64__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __cpp_inheriting_constructors 201511 #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __cpp_template_auto 201606 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __SSP__ 1 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __cpp_runtime_arrays 198712 #define __UINT64_TYPE__ long unsigned int #define __cpp_namespace_attributes 201411 #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __cpp_alias_templates 200704 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __cpp_constexpr 201603 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __cpp_exceptions 199711 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 3 #define __GLIBCXX_TYPE_INT_N_0 __int128 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __cpp_template_template_args 201611 #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __INT16_C(c) c #define __cpp_generic_lambdas 201304 #define __STDC__ 1 #define __FLT32X_DIG__ 15 #define __PTRDIFF_TYPE__ long int #define __ATOMIC_SEQ_CST 5 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __SSE_MATH__ 1 #define __SIZEOF_LONG_LONG__ 8 #define __cpp_user_defined_literals 200809 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __LDBL_DIG__ 18 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __INT_LEAST64_WIDTH__ 64 #define __UINT_FAST8_TYPE__ unsigned char #define _GNU_SOURCE 1 #define __cpp_init_captures 201304 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 child config.compilerFlags took 1.378140 seconds Executing: gcc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkLinux from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1382) Check for __linux__ Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(__linux__) #error "__linux__ not defined" #endif int main(void) { return 0; } Defined "HAVE_LINUX" to "1" ============================================================================================= TESTING: checkC99Flag from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1393) Check for -std=c99 or equivalent flag Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { float x[2],y; float *restrict z = &y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*(*z); } (void)x; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 Accepted C99 compile flag: ============================================================================================= TESTING: checkCFormatting from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:367) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:378) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main(void) { dlopen(libname, RTLD_LAZY);dlopen(libname, RTLD_NOW);dlopen(libname, RTLD_LOCAL);dlopen(libname, RTLD_GLOBAL); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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: checkStdAtomic from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1426) Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(__cplusplus) #include using namespace std; #else #include #endif double dcount = 0; atomic_flag cat = ATOMIC_FLAG_INIT; int main(void) { do {} while (atomic_flag_test_and_set(&cat)); dcount++; atomic_flag_clear(&cat); return 0; } Defined "HAVE_STDATOMIC_H" to "1" ============================================================================================= TESTING: checkCLibraries from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:170) Determines the libraries needed to link using the C++ or Fortran compiler C source code compiled with C. Result is stored in clibs Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl C libraries are not needed when using Fortran linker Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: g++ -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1333) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -MMD -MP /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -MMD -MP /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -std=gnu++17 -fPIC -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Executing: g++ --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkCxxRestrict from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:125) Check for the CXX restrict keyword equivalent to C99 restrict Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { float * __restrict x; (void)x; return 0; } compilers: Set Cxx restrict keyword to : __restrict Defined "CXX_RESTRICT" to "__restrict" Executing: g++ --help | head -n 500 ============================================================================================= TESTING: checkCxxOptionalExtensions from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:397) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { class somename { public: int i; }; somename b; b.i = 0; (void)b.i; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 ============================================================================================= TESTING: checkCxxComplexFix from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:424) Determine if the CXX compiler supports utilities provided by petsccxxcomplexfix.h Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/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(void) { 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: checkStdAtomic from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1426) Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(__cplusplus) #include using namespace std; #else #include #endif double dcount = 0; atomic_flag cat = ATOMIC_FLAG_INIT; int main(void) { do {} while (atomic_flag_test_and_set(&cat)); dcount++; atomic_flag_clear(&cat); return 0; } Defined "HAVE_CXX_ATOMIC" to "1" ============================================================================================= TESTING: checkCxxLibraries from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:453) Determines the libraries needed to link using the C or Fortran compiler C++ source code compiled with C++. Result is stored in cxxlibs Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub()': conftest.cc:(.text+0x7): undefined reference to `__cxa_allocate_exception' conftest.cc:(.text+0xe): undefined reference to `typeinfo for int' conftest.cc:(.text+0x1e): undefined reference to `__cxa_throw' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub() [clone .cold.9]': conftest.cc:(.text.unlikely+0xc): undefined reference to `__cxa_begin_catch' conftest.cc:(.text.unlikely+0x13): undefined reference to `std::cout' conftest.cc:(.text.unlikely+0x1f): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' conftest.cc:(.text.unlikely+0x2d): undefined reference to `__cxa_end_catch' conftest.cc:(.text.unlikely+0x25): undefined reference to `__cxa_end_catch' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' conftest.cc:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub()': conftest.cc:(.text+0x7): undefined reference to `__cxa_allocate_exception' conftest.cc:(.text+0xe): undefined reference to `typeinfo for int' conftest.cc:(.text+0x1e): undefined reference to `__cxa_throw' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub() [clone .cold.9]': conftest.cc:(.text.unlikely+0xc): undefined reference to `__cxa_begin_catch' conftest.cc:(.text.unlikely+0x13): undefined reference to `std::cout' conftest.cc:(.text.unlikely+0x1f): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' conftest.cc:(.text.unlikely+0x2d): undefined reference to `__cxa_end_catch' conftest.cc:(.text.unlikely+0x25): undefined reference to `__cxa_end_catch' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' conftest.cc:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Executing: gcc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: gcc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lstdc++ -ldl compilers: C++ requires -lstdc++ to link with C compiler Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lstdc++ -ldl Additional C++ libraries are not needed when using FC linker Executing: g++ -V stdout: g++: error: unrecognized command line option ‘-V’ g++: fatal error: no input files compilation terminated. ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:773) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS Testing Fortran mangling type underscore with code void d1chk_(void){return;} Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran8plus compiler Defined "FORTRAN_CHARLEN_T" to "size_t" ============================================================================================= TESTING: checkFortranNameManglingDouble from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:811) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/conftest.o: In function `main': conftest.F90:(.text.startup+0x1d): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/conftest.o: In function `main': conftest.F90:(.text.startup+0x1d): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status ============================================================================================= TESTING: checkFortranLibraries from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:821) Substitutes for FLIBS the libraries needed to link using the C or C++ compiler Fortran source code compiled with Fortran. Result is stored in flibs. This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 stdout: /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90:2:10: use mpi 1 Fatal Error: Can't open module file ‘mpi.mod’ for reading at (1): No such file or directory compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90:2:10: use mpi 1 Fatal Error: Can't open module file ‘mpi.mod’ for reading at (1): No such file or directory compilation terminated. Source: program main use mpi call MPI_Allreduce() end Compile failed inside link Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 stdout: /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90:3:2: call MPI_Allreduce() 1 ~~~ Fatal Error: mpif.h: No such file or directory compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90:3:2: call MPI_Allreduce() 1 ~~~ Fatal Error: mpif.h: No such file or directory compilation terminated. Source: program main #include call MPI_Allreduce() end Compile failed inside link Executing: gfortran -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: gcc --help | head -n 80 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and multiple library search directories. -print-multi-os-directory Display the relative path to OS libraries. -print-sysroot Display the target libraries directory. -print-sysroot-headers-suffix Display the sysroot suffix used to find headers. -Wa, Pass comma-separated on to the assembler. -Wp, Pass comma-separated on to the preprocessor. -Wl, Pass comma-separated on to the linker. -Xassembler Pass on to the assembler. -Xpreprocessor Pass on to the preprocessor. -Xlinker Pass on to the linker. -save-temps Do not delete intermediate files. -save-temps= Do not delete intermediate files. -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components. -pipe Use pipes rather than intermediate files. -time Time the execution of each subprocess. -specs= Override built-in specs with the contents of . -std= Assume that the input sources are for . --sysroot= Use as the root directory for headers and libraries. -B Add to the compiler's search paths. -v Display the programs invoked by the compiler. -### Like -v but options quoted and commands not executed. -E Preprocess only; do not compile, assemble or link. -S Compile only; do not assemble or link. -c Compile and assemble, but do not link. -o Place the output into . -pie Create a dynamically linked position independent executable. -shared Create a shared library. -x Specify the language of the following input files. Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension. Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gcc. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' return end Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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: gcc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' collect2: error: ld returned 1 exit status Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' return end Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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: gcc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lgfortran -ldl compilers: Fortran requires -lgfortran to link with C compiler Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' return end Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void asub_(void); int main(int argc,char **args) { asub_(); return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lgfortran -ldl Additional Fortran libraries are not needed when using C++ linker ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1298) Check that Fortran can link C++ libraries Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/cxxobj.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1489) Sets the selected compilers into the framework child config.compilers took 2.897910 seconds ============================================================================================= TESTING: checkFortranTypeSizes from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:56) Check whether real*8 is supported and suggest flags which will allow support Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 stdout: /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90:2:21: real*8 variable 1 Warning: Unused variable ‘variable’ declared at (1) [-Wunused-variable] Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90:2:21: real*8 variable 1 Warning: Unused variable ‘variable’ declared at (1) [-Wunused-variable] Source: program main real*8 variable end ============================================================================================= TESTING: checkFortranPreprocessor from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:73) Determine if Fortran handles preprocessing properly Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 compilers: Fortran uses preprocessor ============================================================================================= TESTING: checkFortranDefineCompilerOption from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:96) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -DTesting /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -DTesting Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro ============================================================================================= TESTING: checkFortran90 from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:147) Determine whether the Fortran compiler handles F90 Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 stdout: /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90:3:43: REAL(KIND=SELECTED_REAL_KIND(10)) d 1 Warning: Unused variable ‘d’ declared at (1) [-Wunused-variable] Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90:3:43: REAL(KIND=SELECTED_REAL_KIND(10)) d 1 Warning: Unused variable ‘d’ declared at (1) [-Wunused-variable] Source: program main REAL(KIND=SELECTED_REAL_KIND(10)) d INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -ldl Fortran compiler supports F90 ============================================================================================= TESTING: checkFortran90FreeForm from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:174) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -ldl Defined "USING_F90FREEFORM" to "1" Fortran compiler supports F90FreeForm ============================================================================================= TESTING: checkFortran2003 from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:188) Determine whether the Fortran compiler handles F2003 Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/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(1:Len) = c_loc(list1) CArray(Len+1) = c_loc(nullc) end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 ============================================================================================= TESTING: checkFortran90Array from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:224) Check for F90 array interfaces Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); exit(111); } return; } ======== Checking running linked program Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: program main Interface Subroutine f90ptrtest(p1,p2,p3,i) integer, pointer :: p1(:,:) integer, pointer :: p2(:,:) integer, pointer :: p3(:,:) integer i End Subroutine End Interface integer, pointer :: ptr1(:,:),ptr2(:,:) integer, target :: array(6:8,9:21) integer in in = 25 ptr1 => array ptr2 => array call f90arraytest(ptr1,ptr2,ptr1,in) call f90ptrtest(ptr1,ptr2,ptr1,in) end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o /tmp/petsc-xj8i2x7y/config.compilersFortran/fooobj.o -ldl Testing executable /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest stdout: arrays [0x7fffcecb6970 0x7fffcecb6970 0x7fffcecb6970] arrays [0x7fffcecb68b0 0x7fffcecb6910 0x7fffcecb68b0] pointers do not match! [0x7f82fc956740 0x7f82fc96d6e0] [0x7f82fb5ff2cd] ERROR while running executable: Could not execute "['/tmp/petsc-xj8i2x7y/config.compilersFortran/conftest']": arrays [0x7fffcecb6970 0x7fffcecb6970 0x7fffcecb6970] arrays [0x7fffcecb68b0 0x7fffcecb6910 0x7fffcecb68b0] pointers do not match! [0x7f82fc956740 0x7f82fc96d6e0] [0x7f82fb5ff2cd] compilers: F90 uses a single argument for array pointers ============================================================================================= TESTING: checkFortran90AssumedType from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:311) Check if Fortran compiler array pointer is a raw pointer in C Executing: gfortran -qversion stdout: gfortran: error: unrecognized command line option ‘-qversion’; did you mean ‘--version’? gfortran: fatal error: no input files compilation terminated. ============================================================================================= TESTING: checkFortranModuleInclude from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:317) Figures out what flag is used to specify the include path for Fortran modules Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -I/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o /tmp/petsc-xj8i2x7y/config.compilersFortran/configtest.o -ldl compilers: Fortran module include flag -I found ============================================================================================= TESTING: checkFortranModuleOutput from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:383) Figures out what flag is used to specify the output path for Fortran modules Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -module /tmp/petsc-xj8i2x7y/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 stdout: gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’? Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-mhle’? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -module:/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 stdout: gfortran: error: unrecognized command line option ‘-module:/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir’ Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command line option ‘-module:/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fmod=/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 stdout: gfortran: error: unrecognized command line option ‘-fmod=/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir’ Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command line option ‘-fmod=/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -J/tmp/petsc-xj8i2x7y/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J found ============================================================================================= TESTING: checkFortranTypeStar from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:136) Determine whether the Fortran compiler handles type(*) Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: program main interface subroutine a(b) type(*) :: b(:) end subroutine end interface end Defined "HAVE_FORTRAN_TYPE_STAR" to "1" Fortran compiler supports type(*) ============================================================================================= TESTING: checkFortranTypeInitialize from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:126) Determines if PETSc objects in Fortran are initialized by default (doesn't work with common blocks) Defined "FORTRAN_TYPE_INITIALIZE" to " = -2" Initializing Fortran objects ============================================================================================= TESTING: configureFortranFlush from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:116) Determine if Fortran has a flush() command Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: program main call flush(6) end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -ldl Defined "HAVE_FORTRAN_FLUSH" to "1" ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:428) Check if -MMD works for dependency generation, and add it if it does Trying FC compiler flag -MMD -MP Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -MMD -MP /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -MMD -MP Defined make macro "FC_DEPFLAGS" to "-MMD -MP" ============================================================================================= TESTING: checkFortran90LineLength from config.compilersFortran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilersFortran.py:163) Determine whether the Fortran compiler has infinite line length Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr,ierr2; ierr = 1; ierr2 = 2 end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilersFortran/conftest.o -ldl Defined "HAVE_FORTRAN_FREE_LINE_LENGTH_NONE" to "1" Fortran compiler has unlimited line length child config.compilersFortran took 0.836462 seconds ============================================================================================= TESTING: checkStdC from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:121) Determine if C standard headers support everything PETSc needs Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.headers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main(void) { return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c ======== Checking running linked program Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.headers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main(void) { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.headers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.headers/conftest.o -ldl Testing executable /tmp/petsc-xj8i2x7y/config.headers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.headers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.headers/conftest ============================================================================================= TESTING: checkSysWait from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:155) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.headers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: checkTime from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:177) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_TIME_H" to "1" ============================================================================================= TESTING: checkMath from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:183) Checks for the math headers and defines Checking for header: math.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.headers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { double pi = M_PI; (void)pi; return 0; } Found math #defines, like M_PI ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory #include ^~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory #include ^~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:80) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: checkRecursiveMacros from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:198) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.headers/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { a(0); return 0; } child config.headers took 1.396382 seconds ============================================================================================= TESTING: configureL1CacheLineSize from config.utilities.cacheDetails(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/cacheDetails.py:127) Try to determine the size (in bytes) of an L1 cacheline. On success defines the variable PETSC_LEVEL1_DCACHE_LINESIZE to the determined value. Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_level1_dcache_linesize() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return val >= 0 ? val : 32; } int main(void) { getconf_level1_dcache_linesize(); return 0; } ======== Checking running linked program Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_level1_dcache_linesize() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return val >= 0 ? val : 32; } int main(void) { FILE *output = fopen("conftestval", "w"); if (!output) return 1; fprintf(output, "%ld", (long)getconf_level1_dcache_linesize()); fclose(output); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest.o -ldl Testing executable /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.utilities.cacheDetails/conftest Defined "LEVEL1_DCACHE_LINESIZE" to "64" child config.utilities.cacheDetails took 0.112936 seconds ============================================================================================= TESTING: check_struct_sigaction from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:42) Checks if "struct sigaction" exists in signal.h. This check is for C89 check. Checking for type: struct sigaction Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main(void) { struct sigaction a; (void)a; return 0; } struct sigaction found Defined "HAVE_STRUCT_SIGACTION" to "1" ============================================================================================= TESTING: check__int64 from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:48) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.types/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.types/conftest.c:11:1: error: unknown type name ‘__int64’; did you mean ‘__int64_t’? __int64 a; ^~~~~~~ __int64_t Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.types/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.types/conftest.c:11:1: error: unknown type name ‘__int64’; did you mean ‘__int64_t’? __int64 a; ^~~~~~~ __int64_t Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main(void) { __int64 a; (void)a; return 0; } __int64 found ============================================================================================= TESTING: checkSizeTypes from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:54) Checks for types associated with sizes, such as size_t. Checking for type: size_t Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main(void) { size_t a; (void)a; return 0; } size_t found ============================================================================================= TESTING: checkFileTypes from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:64) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main(void) { mode_t a; (void)a; return 0; } mode_t found Checking for type: off_t Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main(void) { off_t a; (void)a; return 0; } off_t found ============================================================================================= TESTING: checkIntegerTypes from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:59) Checks for types associated with integers, such as int32_t. Checking for type: int32_t Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main(void) { int32_t a; (void)a; return 0; } int32_t found ============================================================================================= TESTING: checkPID from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:70) Checks for pid_t, and defines it if necessary Checking for type: pid_t Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main(void) { pid_t a; (void)a; return 0; } pid_t found ============================================================================================= TESTING: checkC99Complex from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:74) Check for complex numbers in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { double _Complex x; x = I; (void)x; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { double _Complex x; x = I; (void)x; return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.types/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main(void) { double _Complex x; x = I; (void)x; return 0; } Defined "HAVE_C99_COMPLEX" to "1" ============================================================================================= TESTING: checkCxxComplex from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:88) Check for complex numbers in namespace std Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { std::complex x; (void)x; return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.types/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.o -ldl Defined "HAVE_CXX_COMPLEX" to "1" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; Defined "SIZEOF_VOID_P" to "8" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(int)==4)*2-1]; Defined "SIZEOF_INT" to "4" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(long)==8)*2-1]; Defined "SIZEOF_LONG" to "8" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(long long)==8)*2-1]; Defined "SIZEOF_LONG_LONG" to "8" ============================================================================================= TESTING: checkSizeof from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:99) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(size_t)==8)*2-1]; Defined "SIZEOF_SIZE_T" to "8" Defined "USING_64BIT_PTR" to "1" ============================================================================================= TESTING: checkVisibility from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:133) Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { __attribute__((visibility ("default"))) int foo(void); return 0; } Defined "USE_VISIBILITY_C" to "1" Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { __attribute__((visibility ("default"))) int foo(void); return 0; } Defined "USE_VISIBILITY_CXX" to "1" ============================================================================================= TESTING: checkMaxPathLen from config.types(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/types.py:155) Sets PETSC_MAX_PATH_LEN depending on values available on the system Determining PETSC_MAX_PATH_LEN Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.types/conftest.o -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { 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: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.types /tmp/petsc-xj8i2x7y/config.types/conftest.c Defined "MAX_PATH_LEN" to "4096" child config.types took 1.137047 seconds ============================================================================================= TESTING: configureMemAlign from PETSc.options.memAlign(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/memAlign.py:28) Choose memory alignment Defined "MEMALIGN" to "16" Memory alignment is 16 child PETSc.options.memAlign took 0.001176 seconds ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_handle_sigfpes(void) { handle_sigfpes(); } int main(void) { _check_handle_sigfpes(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lfpe -ldl stdout: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(void); static void _check_socket(void) { socket(); } int main(void) { _check_socket(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lsocket -lnsl -ldl stdout: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_handle_sigfpes(void) { handle_sigfpes(); } int main(void) { _check_handle_sigfpes(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lfpe -ldl stdout: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(void); static void _check_socket(void) { socket(); } int main(void) { _check_socket(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lsocket -lnsl -ldl stdout: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status ============================================================================================= TESTING: checkMath from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:315) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double x,y; int s = scanf("%lf",&x); y = sin(x); printf("%f %d",y,s); } #include double floor(double); static void _check_floor(void) { double x,y; int s = scanf("%lf",&x); y = floor(x); printf("%f %d",y,s); } #include double log10(double); static void _check_log10(void) { double x,y; int s = scanf("%lf",&x); y = log10(x); printf("%f %d",y,s); } #include double pow(double, double); static void _check_pow(void) { double x,y; int s = scanf("%lf",&x); y = pow(x,x); printf("%f %d",y,s); } int main(void) { _check_sin(); _check_floor(); _check_log10(); _check_pow(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x25): undefined reference to `sin' conftest.c:(.text.startup+0xd9): undefined reference to `log10' conftest.c:(.text.startup+0x10e): undefined reference to `pow' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x25): undefined reference to `sin' conftest.c:(.text.startup+0xd9): undefined reference to `log10' conftest.c:(.text.startup+0x10e): undefined reference to `pow' collect2: error: ld returned 1 exit status Checking for functions [sin floor log10 pow] in library ['m'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double x,y; int s = scanf("%lf",&x); y = sin(x); printf("%f %d",y,s); } #include double floor(double); static void _check_floor(void) { double x,y; int s = scanf("%lf",&x); y = floor(x); printf("%f %d",y,s); } #include double log10(double); static void _check_log10(void) { double x,y; int s = scanf("%lf",&x); y = log10(x); printf("%f %d",y,s); } #include double pow(double, double); static void _check_pow(void) { double x,y; int s = scanf("%lf",&x); y = pow(x,x); printf("%f %d",y,s); } int main(void) { _check_sin(); _check_floor(); _check_log10(); _check_pow(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double x,y; int s = scanf("%lf",&x); y = sin(x); printf("%f %d",y,s); } #include double floor(double); static void _check_floor(void) { double x,y; int s = scanf("%lf",&x); y = floor(x); printf("%f %d",y,s); } #include double log10(double); static void _check_log10(void) { double x,y; int s = scanf("%lf",&x); y = log10(x); printf("%f %d",y,s); } #include double pow(double, double); static void _check_pow(void) { double x,y; int s = scanf("%lf",&x); y = pow(x,x); printf("%f %d",y,s); } void dummy(void) {_check_sin(); _check_floor(); _check_log10(); _check_pow();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" CheckMath: using math library ['libm.a'] ============================================================================================= TESTING: checkMathErf from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:336) Check for erf() in libm, the math library Checking for functions [erf] in library ['libm.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); (void)y; } int main(void) { _check_erf(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); (void)y; } void dummy(void) {_check_erf();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" erf() found Defined "HAVE_ERF" to "1" ============================================================================================= TESTING: checkMathTgamma from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:345) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library ['libm.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); (void)y; } int main(void) { _check_tgamma(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); (void)y; } void dummy(void) {_check_tgamma();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" tgamma() found Defined "HAVE_TGAMMA" to "1" ============================================================================================= TESTING: checkMathLgamma from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:354) Check for lgamma() in libm, the math library Checking for functions [lgamma] in library ['libm.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } int main(void) { _check_lgamma(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } void dummy(void) {_check_lgamma();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" lgamma() found Defined "HAVE_LGAMMA" to "1" ============================================================================================= TESTING: checkMathFenv from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:367) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library ['libm.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { fesetenv(FE_DFL_ENV); } int main(void) { _check_fesetenv(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { fesetenv(FE_DFL_ENV); } void dummy(void) {_check_fesetenv();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" Defined "HAVE_FENV_H" to "1" Checking for functions [feclearexcept] in library ['libm.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_feclearexcept(void) { feclearexcept(FE_INEXACT); } int main(void) { _check_feclearexcept(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_feclearexcept(void) { feclearexcept(FE_INEXACT); } void dummy(void) {_check_feclearexcept();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" Defined "HAVE_FE_VALUES" to "1" ============================================================================================= TESTING: checkMathLog2 from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:379) Check for log2() in libm, the math library Checking for functions [log2] in library ['libm.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); (void)y; } int main(void) { _check_log2(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lm -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); (void)y; } void dummy(void) {_check_log2();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lm -ldl Defined "HAVE_LIBM" to "1" log2() found Defined "HAVE_LOG2" to "1" ============================================================================================= TESTING: checkRealtime from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:388) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp); } int main(void) { _check_clock_gettime(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp); } void dummy(void) {_check_clock_gettime();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl realtime functions are linked in by default ============================================================================================= TESTING: checkDynamic from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:404) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } int main(void) { _check_dlopen(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } void dummy(void) {_check_dlopen();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl -ldl Defined "HAVE_LIBDL" to "1" Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_DLFCN_H" to "1" ============================================================================================= TESTING: checkExecutableExportFlag from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:630) Checks for the flag that allows executables to export symbols to dlsym() ======== Checking running linked program Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef PETSC_HAVE_DLFCN_H #include #endif #define PETSC_DLLEXPORT __attribute__((visibility ("default"))) extern PETSC_DLLEXPORT int foo() { return 42; } int main(void) { void *lib; int (*foo)(); lib = dlopen(NULL, RTLD_LAZY); if (!lib) { fprintf(stderr, "Could not open executable: %s\n", dlerror()); exit(1); } foo = (int (*)(void)) dlsym(lib, "foo"); if (!foo) { fprintf(stderr, "Could not find function in executable\n"); exit(1); } if ((*foo)() != 42) { fprintf(stderr, "Could not run function\n"); exit(1); } return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl -ldl Testing executable /tmp/petsc-xj8i2x7y/config.libraries/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.libraries/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.libraries/conftest stdout: Could not find function in executable ERROR while running executable: Could not execute "['/tmp/petsc-xj8i2x7y/config.libraries/conftest']": Could not find function in executable Executable does not export symbols for dlopen() ======== Checking running linked program Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -Wl,-export_dynamic /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef PETSC_HAVE_DLFCN_H #include #endif #define PETSC_DLLEXPORT __attribute__((visibility ("default"))) extern PETSC_DLLEXPORT int foo() { return 42; } int main(void) { void *lib; int (*foo)(); lib = dlopen(NULL, RTLD_LAZY); if (!lib) { fprintf(stderr, "Could not open executable: %s\n", dlerror()); exit(1); } foo = (int (*)(void)) dlsym(lib, "foo"); if (!foo) { fprintf(stderr, "Could not find function in executable\n"); exit(1); } if ((*foo)() != 42) { fprintf(stderr, "Could not run function\n"); exit(1); } return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -Wl,-export_dynamic /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl -ldl stdout: /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000400610 Possible ERROR while running linker:exit code 0 stderr: /usr/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000400610 Testing executable /tmp/petsc-xj8i2x7y/config.libraries/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.libraries/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.libraries/conftest stdout: Could not find function in executable ERROR while running executable: Could not execute "['/tmp/petsc-xj8i2x7y/config.libraries/conftest']": Could not find function in executable Executable does not export symbols for dlopen() ======== Checking running linked program Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -Wl,-export-dynamic /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef PETSC_HAVE_DLFCN_H #include #endif #define PETSC_DLLEXPORT __attribute__((visibility ("default"))) extern PETSC_DLLEXPORT int foo() { return 42; } int main(void) { void *lib; int (*foo)(); lib = dlopen(NULL, RTLD_LAZY); if (!lib) { fprintf(stderr, "Could not open executable: %s\n", dlerror()); exit(1); } foo = (int (*)(void)) dlsym(lib, "foo"); if (!foo) { fprintf(stderr, "Could not find function in executable\n"); exit(1); } if ((*foo)() != 42) { fprintf(stderr, "Could not run function\n"); exit(1); } return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -Wl,-export-dynamic /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl -ldl Testing executable /tmp/petsc-xj8i2x7y/config.libraries/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.libraries/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.libraries/conftest Executable exports symbols for dlopen() Defined "HAVE_EXECUTABLE_EXPORT" to "1" Defined make macro "EXEFLAGS" to "-Wl,-export-dynamic" child config.libraries took 2.072740 seconds ============================================================================================= TESTING: configureLibraryOptions from PETSc.options.libraryOptions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/libraryOptions.py:38) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE, PETSC_USE_DMLANDAU_2D, PETSC_USE_FORTRAN_KERNELS, and PETSC_USE_AVX512_KERNELS Defined "HAVE_THREADSAFETY" to "1" Defined "USE_LOG" to "1" Executing: gcc -qversion stdout: gcc: error: unrecognized command line option ‘-qversion’; did you mean ‘--version’? gcc: fatal error: no input files compilation terminated. Defined "USE_MALLOC_COALESCED" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" Defined "USE_DMLANDAU_2D" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_bgl_perfctr_void(void) { bgl_perfctr_void(); } int main(void) { _check_bgl_perfctr_void(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status Checking for functions [ADIOI_BGL_Open] in library [''] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_ADIOI_BGL_Open(void) { ADIOI_BGL_Open(); } int main(void) { _check_ADIOI_BGL_Open(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status *********BGL/IBM test failure Defined "USE_BACKWARD_LOOP" to "1" Defined "USE_FORTRAN_KERNELS" to "1" Defined "AssertAlignx(a,b)" to " " Defined "USE_AVX512_KERNELS" to "1" ============================================================================================= TESTING: configureISColorValueType from PETSc.options.libraryOptions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/libraryOptions.py:93) 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.126131 seconds child config.atomics took 0.000012 seconds ============================================================================================= TESTING: checkVSNPrintf from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:106) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main(void) { va_list Argp = { 0 };char str[6]; vsnprintf(str,5, "%d", Argp ); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_VSNPRINTF" to "1" ============================================================================================= TESTING: checkNanosleep from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:136) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_NANOSLEEP" to "1" ============================================================================================= TESTING: checkMemmove from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:142) Check for functional memmove() - as MS VC requires correct includes to for this test Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { char c1[1], c2[1] = "c"; size_t n=1; memmove(c1,c2,n); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_MEMMOVE" to "1" ============================================================================================= TESTING: checkSignalHandlerType from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:112) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main(void) { signal(SIGFPE,myhandler); return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.functions/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "SIGNAL_CAST" to " " ============================================================================================= TESTING: checkFreeReturnType from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:122) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be int ierr; void *p; ierr = free(p); return ierr; ^ Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be int ierr; void *p; ierr = free(p); return ierr; ^ Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int ierr; void *p; ierr = free(p); return ierr; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVariableArgumentLists from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:128) Checks whether the variable argument list functionality is working Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { va_list l1, l2; va_copy(l1, l2); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_VA_COPY" to "1" ============================================================================================= TESTING: checkClassify from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/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 [rand getcwd stricmp dlsym fork dlclose posix_memalign getpagesize getdomainname dlerror fpresetsticky __gcov_dump socket lseek gethostname usleep gethostbyname strcasecmp time realpath drand48 bzero _set_output_format _getcwd access snprintf uname readlink sbreak fpsetsticky getrusage popen _lseek _mkdir dlopen _sleep sleep _access _snprintf clock PXFGETARG] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:17:6: warning: conflicting types for built-in function ‘fork’ [-Wbuiltin-declaration-mismatch] char fork(); ^~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ‘posix_memalign’ [-Wbuiltin-declaration-mismatch] char posix_memalign(); ^~~~~~~~~~~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:30:6: warning: conflicting types for built-in function ‘strcasecmp’ [-Wbuiltin-declaration-mismatch] char strcasecmp(); ^~~~~~~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:34:6: warning: conflicting types for built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] char bzero(); ^~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:38:6: warning: conflicting types for built-in function ‘snprintf’ [-Wbuiltin-declaration-mismatch] char snprintf(); ^~~~~~~~ Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:17:6: warning: conflicting types for built-in function ‘fork’ [-Wbuiltin-declaration-mismatch] char fork(); ^~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:19:6: warning: conflicting types for built-in function ‘posix_memalign’ [-Wbuiltin-declaration-mismatch] char posix_memalign(); ^~~~~~~~~~~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:30:6: warning: conflicting types for built-in function ‘strcasecmp’ [-Wbuiltin-declaration-mismatch] char strcasecmp(); ^~~~~~~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:34:6: warning: conflicting types for built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] char bzero(); ^~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:38:6: warning: conflicting types for built-in function ‘snprintf’ [-Wbuiltin-declaration-mismatch] char snprintf(); ^~~~~~~~ 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 rand(); char getcwd(); char stricmp(); char dlsym(); char fork(); char dlclose(); char posix_memalign(); char getpagesize(); char getdomainname(); char dlerror(); char fpresetsticky(); char __gcov_dump(); char socket(); char lseek(); char gethostname(); char usleep(); char gethostbyname(); char strcasecmp(); char time(); char realpath(); char drand48(); char bzero(); char _set_output_format(); char _getcwd(); char access(); char snprintf(); char uname(); char readlink(); char sbreak(); char fpsetsticky(); char getrusage(); char popen(); char _lseek(); char _mkdir(); char dlopen(); char _sleep(); char sleep(); char _access(); char _snprintf(); char clock(); char PXFGETARG(); #ifdef __cplusplus } #endif int main(void) { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_posix_memalign) || defined (__stub___posix_memalign) posix_memalign_will_always_fail_with_ENOSYS(); #else posix_memalign(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif #if defined (__stub___gcov_dump) || defined (__stub_____gcov_dump) __gcov_dump_will_always_fail_with_ENOSYS(); #else __gcov_dump(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #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__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x15): undefined reference to `stricmp' conftest.c:(.text.startup+0x4d): undefined reference to `fpresetsticky' conftest.c:(.text.startup+0x54): undefined reference to `__gcov_dump' conftest.c:(.text.startup+0xa1): undefined reference to `_set_output_format' conftest.c:(.text.startup+0xa8): undefined reference to `_getcwd' conftest.c:(.text.startup+0xcb): undefined reference to `sbreak' conftest.c:(.text.startup+0xd2): undefined reference to `fpsetsticky' conftest.c:(.text.startup+0xe7): undefined reference to `_lseek' conftest.c:(.text.startup+0xee): undefined reference to `_mkdir' conftest.c:(.text.startup+0xfc): undefined reference to `_sleep' conftest.c:(.text.startup+0x10a): undefined reference to `_access' conftest.c:(.text.startup+0x111): undefined reference to `_snprintf' conftest.c:(.text.startup+0x11f): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x15): undefined reference to `stricmp' conftest.c:(.text.startup+0x4d): undefined reference to `fpresetsticky' conftest.c:(.text.startup+0x54): undefined reference to `__gcov_dump' conftest.c:(.text.startup+0xa1): undefined reference to `_set_output_format' conftest.c:(.text.startup+0xa8): undefined reference to `_getcwd' conftest.c:(.text.startup+0xcb): undefined reference to `sbreak' conftest.c:(.text.startup+0xd2): undefined reference to `fpsetsticky' conftest.c:(.text.startup+0xe7): undefined reference to `_lseek' conftest.c:(.text.startup+0xee): undefined reference to `_mkdir' conftest.c:(.text.startup+0xfc): undefined reference to `_sleep' conftest.c:(.text.startup+0x10a): undefined reference to `_access' conftest.c:(.text.startup+0x111): undefined reference to `_snprintf' conftest.c:(.text.startup+0x11f): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [rand dlsym fork dlclose posix_memalign getpagesize getdomainname dlerror socket gethostname usleep] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:15:6: warning: conflicting types for built-in function ‘fork’ [-Wbuiltin-declaration-mismatch] char fork(); ^~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:17:6: warning: conflicting types for built-in function ‘posix_memalign’ [-Wbuiltin-declaration-mismatch] char posix_memalign(); ^~~~~~~~~~~~~~ Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:15:6: warning: conflicting types for built-in function ‘fork’ [-Wbuiltin-declaration-mismatch] char fork(); ^~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:17:6: warning: conflicting types for built-in function ‘posix_memalign’ [-Wbuiltin-declaration-mismatch] char posix_memalign(); ^~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char dlsym(); char fork(); char dlclose(); char posix_memalign(); char getpagesize(); char getdomainname(); char dlerror(); char socket(); char gethostname(); char usleep(); #ifdef __cplusplus } #endif int main(void) { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_posix_memalign) || defined (__stub___posix_memalign) posix_memalign_will_always_fail_with_ENOSYS(); #else posix_memalign(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_RAND" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_POSIX_MEMALIGN" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_USLEEP" to "1" Checking for functions [gethostbyname strcasecmp time realpath drand48 bzero uname readlink getrusage popen dlopen clock] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:14:6: warning: conflicting types for built-in function ‘strcasecmp’ [-Wbuiltin-declaration-mismatch] char strcasecmp(); ^~~~~~~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:18:6: warning: conflicting types for built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] char bzero(); ^~~~~ Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:14:6: warning: conflicting types for built-in function ‘strcasecmp’ [-Wbuiltin-declaration-mismatch] char strcasecmp(); ^~~~~~~~~~ /tmp/petsc-xj8i2x7y/config.functions/conftest.c:18:6: warning: conflicting types for built-in function ‘bzero’ [-Wbuiltin-declaration-mismatch] char bzero(); ^~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname(); char strcasecmp(); char time(); char realpath(); char drand48(); char bzero(); char uname(); char readlink(); char getrusage(); char popen(); char dlopen(); char clock(); #ifdef __cplusplus } #endif int main(void) { #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_GETHOSTBYNAME" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_TIME" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_CLOCK" to "1" Checking for functions [getcwd] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [stricmp] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status Checking for functions [fpresetsticky] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status Checking for functions [__gcov_dump] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char __gcov_dump(); #ifdef __cplusplus } #endif int main(void) { #if defined (__stub___gcov_dump) || defined (__stub_____gcov_dump) __gcov_dump_will_always_fail_with_ENOSYS(); #else __gcov_dump(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `__gcov_dump' collect2: error: ld returned 1 exit status Checking for functions [lseek] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [_set_output_format] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #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: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Checking for functions [_getcwd] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Checking for functions [access] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [snprintf] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘snprintf’ [-Wbuiltin-declaration-mismatch] char snprintf(); ^~~~~~~~ Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘snprintf’ [-Wbuiltin-declaration-mismatch] char snprintf(); ^~~~~~~~ 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(void) { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [sbreak] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `sbreak' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `sbreak' collect2: error: ld returned 1 exit status Checking for functions [fpsetsticky] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status Checking for functions [_lseek] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_lseek' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_lseek' collect2: error: ld returned 1 exit status Checking for functions [_mkdir] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status Checking for functions [_sleep] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_sleep' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_sleep' collect2: error: ld returned 1 exit status Checking for functions [sleep] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [_access] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_access' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_access' collect2: error: ld returned 1 exit status Checking for functions [_snprintf] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Executing: gcc -v stdout: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) ============================================================================================= TESTING: checkMmap from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:148) Check for functional mmap() to allocate shared memory and define HAVE_MMAP Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main(void) { int fd; fd=open("/tmp/file",O_RDWR); mmap((void*)0,100,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_MMAP" to "1" ============================================================================================= TESTING: checkMkstemp from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:154) Check for mkstemp() to avoid using tmpnam as it is often deprecated Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _XOPEN_SOURCE 600 #include #include int main(void) { char filename[100]; strcpy(filename, "/tmp/fileXXXXXX"); mkstemp(filename); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl Defined "HAVE_MKSTEMP" to "1" ============================================================================================= TESTING: checkTmpnam_s from config.functions(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/functions.py:159) Check for tmpnam_s() to avoid using tmpnam as it is often deprecated Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.functions/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:7:2: warning: implicit declaration of function ‘tmpnam_s’; did you mean ‘tmpnam_r’? [-Wimplicit-function-declaration] tmpnam_s(filename, sizeof(filename)); ^~~~~~~~ tmpnam_r Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.functions/conftest.c:7:2: warning: implicit declaration of function ‘tmpnam_s’; did you mean ‘tmpnam_r’? [-Wimplicit-function-declaration] tmpnam_s(filename, sizeof(filename)); ^~~~~~~~ tmpnam_r Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { char filename[L_tmpnam]; tmpnam_s(filename, sizeof(filename)); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.functions/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x1d): undefined reference to `tmpnam_s' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.functions/conftest.o: In function `main': conftest.c:(.text.startup+0x1d): undefined reference to `tmpnam_s' collect2: error: ld returned 1 exit status child config.functions took 1.809628 seconds ============================================================================================= TESTING: configureMemorySize from config.utilities.getResidentSetSize(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() child config.utilities.getResidentSetSize took 0.000933 seconds ============================================================================================= TESTING: configureFPTrap from config.utilities.FPTrap(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/FPTrap.py:26) Checking the handling of floating point traps Checking for header: sigfpe.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Checking for header: fpxcp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory #include ^~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory #include ^~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory #include ^~~~~~~~~ compilation terminated. Checking for header: floatingpoint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. child config.utilities.FPTrap took 0.042911 seconds ============================================================================================= TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Checking for functions [] in library [''] [] Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.F90 Successful compile: Source: program main integer i character(len=80) arg i = command_argument_count() call get_command_argument(i,arg) end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl child config.utilities.fortranCommandLine took 0.072212 seconds ============================================================================================= TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: sysctl.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: sysctl.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main(void) { return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main(void) { return 0; } Defined "_BSD_SOURCE" to "1" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main(void) { return 0; } Defined "_DEFAULT_SOURCE" to "1" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main(void) { cpu_set_t mset; CPU_ZERO(&mset); return 0; } Defined "_GNU_SOURCE" to "1" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main(void) { Dl_info info; if (dladdr(*(void **)&exit, &info) == 0) return 1; return 0; } Defined "_GNU_SOURCE" to "1" child config.utilities.featureTestMacros took 0.174279 seconds ============================================================================================= TESTING: configureMissingUtypeTypedefs from config.utilities.missing(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/missing.py:54) Checks if u_short is undefined Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { u_short foo; (void)foo; return 0; } ============================================================================================= TESTING: configureMissingFunctions from config.utilities.missing(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/missing.py:60) Checks for SOCKETS and getline Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *lineptr; size_t n; FILE *stream; int main(void) { getline(&lineptr, &n, stream); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -ldl ============================================================================================= TESTING: configureMissingSignals from config.utilities.missing(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/missing.py:80) Check for missing signals, and define MISSING_ if necessary Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGABRT; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGALRM; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGBUS; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGCHLD; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGCONT; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGFPE; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGHUP; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGILL; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGINT; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGKILL; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGPIPE; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGQUIT; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGSEGV; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGSTOP; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGSYS; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGTERM; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGTRAP; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGTSTP; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGURG; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGUSR1; (void)i; return 0; } Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int i=SIGUSR2; (void)i; return 0; } ============================================================================================= TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/missing.py:88) Check for missing function prototype for getdomainname() Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; return 0; } Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/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(void) { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -ldl ============================================================================================= TESTING: configureMissingSrandPrototype from config.utilities.missing(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/utilities/missing.py:114) Checks for missing random number generator prototypes Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void) { 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: g++ -c -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/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(void) { 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: g++ -o /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.utilities.missing/conftest.o -ldl child config.utilities.missing took 1.181839 seconds ============================================================================================= TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/sharedLibraries.py:33) if user specified out-dated 'with-shared' or 'with-dynamic' - flag an error ============================================================================================= TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/sharedLibraries.py:48) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).$(SL_LINKER_SUFFIX).$(2)" Defined make macro "SL_LINKER_FUNCTION" to " -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Executing: gcc -v stdout: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Defined make macro "BUILDSHAREDLIB" to "yes" Defined "USE_SHARED_LIBRARIES" to "1" ============================================================================================= TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/sharedLibraries.py:92) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ============================================================================================= TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/sharedLibraries.py:98) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ============================================================================================= TESTING: checkSymbolResolution from PETSc.options.sharedLibraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/sharedLibraries.py:107) Checks that dladdr() works Executing: gcc -c -o /tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main(void) { Dl_info info; if (dladdr(*(void **)&exit, &info) == 0) return 1; return 0; } Defined "HAVE_DLADDR" to "1" Checking for header: cxxabi.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.headers/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.headers/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. Preprocess output after filtering: /tmp/petsc-xj8i2x7y/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. child PETSc.options.sharedLibraries took 0.066728 seconds ============================================================================================= TESTING: configureScalarType from PETSc.options.scalarTypes(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/scalarTypes.py:42) Choose between real and complex numbers Defined "USE_COMPLEX" to "1" Scalar type is complex Executing: gcc -c -o /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { double b = 2.0; int a = isnormal(b);(void)a; return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.o -ldl Defined "HAVE_ISNORMAL" to "1" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { double b = 2.0; int a = isnan(b);(void)a; return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.o -ldl Defined "HAVE_ISNAN" to "1" Executing: gcc -c -o /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { double b = 2.0; int a = isinf(b);(void)a; return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes/conftest.o -ldl Defined "HAVE_ISINF" to "1" ============================================================================================= TESTING: configurePrecision from PETSc.options.scalarTypes(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/options/scalarTypes.py:83) Set the default real number precision for PETSc objects Checking C compiler works with __float128 Checking for functions [logq] in library ['quadmath'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq(void) { __float128 f = 0.0; logq(f); } int main(void) { _check_logq(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lquadmath -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq(void) { __float128 f = 0.0; logq(f); } void dummy(void) {_check_logq();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lquadmath -ldl Defined "HAVE_LIBQUADMATH" to "1" C compiler works with quadmath library Checking Fortran compiler works with quadmath library Checking for functions [ ] in library ['quadmath'] [] Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.F90 Successful compile: Source: program main real*16 s,w; w = 2.0; s = cos(w) end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lquadmath -ldl Fortran compiler works with quadmath library Executing: g++ --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Checking C++ compiler works with quadmath library Checking for functions [logq] in library ['quadmath'] [] Executing: g++ -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -Wno-error /tmp/petsc-xj8i2x7y/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif #include static void _check_logq(void) { __float128 f = FLT128_EPSILON; logq(f); } #ifdef __cplusplus } #endif int main(void) { _check_logq(); return 0; } Executing: g++ -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lquadmath -ldl C++ compiler works with quadmath library Checking for functions [logq] in library ['quadmath'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq(void) { __float128 f = 0.0; logq(f); } int main(void) { _check_logq(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lquadmath -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq(void) { __float128 f = 0.0; logq(f); } void dummy(void) {_check_logq();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lquadmath -ldl Defined "HAVE_LIBQUADMATH" to "1" Adding ['quadmath'] to LIBS Defined "HAVE_REAL___FLOAT128" to "1" Checking C compiler works with __fp16 Checking for functions [] in library [''] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:8: error: unknown type name ‘__fp16’ static __fp16 ret___fp16(__fp16 f) { return f; } ^~~~~~ /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:26: error: unknown type name ‘__fp16’ static __fp16 ret___fp16(__fp16 f) { return f; } ^~~~~~ /tmp/petsc-xj8i2x7y/config.libraries/conftest.c: In function ‘_check_’: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:5:29: error: unknown type name ‘__fp16’ static void _check_(void) { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } ^~~~~~ /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:5:52: warning: implicit declaration of function ‘ret___fp16’ [-Wimplicit-function-declaration] static void _check_(void) { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } ^~~~~~~~~~ Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:8: error: unknown type name ‘__fp16’ static __fp16 ret___fp16(__fp16 f) { return f; } ^~~~~~ /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:26: error: unknown type name ‘__fp16’ static __fp16 ret___fp16(__fp16 f) { return f; } ^~~~~~ /tmp/petsc-xj8i2x7y/config.libraries/conftest.c: In function ‘_check_’: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:5:29: error: unknown type name ‘__fp16’ static void _check_(void) { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } ^~~~~~ /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:5:52: warning: implicit declaration of function ‘ret___fp16’ [-Wimplicit-function-declaration] static void _check_(void) { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } ^~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ static __fp16 ret___fp16(__fp16 f) { return f; } static void _check_(void) { __fp16 f = 1.0, g; g = ret___fp16(f); (void)g; } int main(void) { _check_(); return 0; } Compile failed inside link Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double child PETSc.options.scalarTypes took 0.776038 seconds ============================================================================================= TESTING: configureMkdir from config.programs(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/programs.py:23) Make sure we can have mkdir automatically make intermediate directories Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/mkdir...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/mkdir...not found Checking for program /opt/slurm/bin/mkdir...not found Checking for program /scinet/niagara/software/2019b/core/bin/mkdir...not found Checking for program /usr/local/sbin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/sbin/mkdir...not found Checking for program /usr/bin/mkdir...found Executing: /usr/bin/mkdir -p .conftest/tmp Adding -p flag to /usr/bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/usr/bin/mkdir -p" ============================================================================================= TESTING: configureAutoreconf from config.programs(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/programs.py:45) Check for autoreconf Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/autoreconf...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/autoreconf...not found Checking for program /opt/slurm/bin/autoreconf...not found Checking for program /scinet/niagara/software/2019b/core/bin/autoreconf...not found Checking for program /usr/local/sbin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/sbin/autoreconf...not found Checking for program /usr/bin/autoreconf...not found Checking for program /sbin/autoreconf...not found Checking for program /bin/autoreconf...not found Checking for program /scinet/niagara/bin/autoreconf...not found Checking for program /usr/lpp/mmfs/bin/autoreconf...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/autoreconf...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/autoreconf...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/autoreconf...not found Checking for program /opt/slurm/bin/autoreconf...not found Checking for program /scinet/niagara/software/2019b/core/bin/autoreconf...not found Checking for program /usr/local/sbin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/sbin/autoreconf...not found Checking for program /usr/bin/autoreconf...not found Checking for program /sbin/autoreconf...not found Checking for program /bin/autoreconf...not found Checking for program /scinet/niagara/bin/autoreconf...not found Checking for program /usr/lpp/mmfs/bin/autoreconf...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/autoreconf...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/libtoolize...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/libtoolize...not found Checking for program /opt/slurm/bin/libtoolize...not found Checking for program /scinet/niagara/software/2019b/core/bin/libtoolize...not found Checking for program /usr/local/sbin/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/sbin/libtoolize...not found Checking for program /usr/bin/libtoolize...not found Checking for program /sbin/libtoolize...not found Checking for program /bin/libtoolize...not found Checking for program /scinet/niagara/bin/libtoolize...not found Checking for program /usr/lpp/mmfs/bin/libtoolize...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/libtoolize...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/libtoolize...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/libtoolize...not found Checking for program /opt/slurm/bin/libtoolize...not found Checking for program /scinet/niagara/software/2019b/core/bin/libtoolize...not found Checking for program /usr/local/sbin/libtoolize...not found Checking for program /usr/local/bin/libtoolize...not found Checking for program /usr/sbin/libtoolize...not found Checking for program /usr/bin/libtoolize...not found Checking for program /sbin/libtoolize...not found Checking for program /bin/libtoolize...not found Checking for program /scinet/niagara/bin/libtoolize...not found Checking for program /usr/lpp/mmfs/bin/libtoolize...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/libtoolize...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/glibtoolize...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/glibtoolize...not found Checking for program /opt/slurm/bin/glibtoolize...not found Checking for program /scinet/niagara/software/2019b/core/bin/glibtoolize...not found Checking for program /usr/local/sbin/glibtoolize...not found Checking for program /usr/local/bin/glibtoolize...not found Checking for program /usr/sbin/glibtoolize...not found Checking for program /usr/bin/glibtoolize...not found Checking for program /sbin/glibtoolize...not found Checking for program /bin/glibtoolize...not found Checking for program /scinet/niagara/bin/glibtoolize...not found Checking for program /usr/lpp/mmfs/bin/glibtoolize...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/glibtoolize...not found ============================================================================================= TESTING: configurePrograms from config.programs(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/programs.py:74) Check for the programs needed to build and run PETSc Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/bash...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/bash...not found Checking for program /opt/slurm/bin/bash...not found Checking for program /scinet/niagara/software/2019b/core/bin/bash...not found Checking for program /usr/local/sbin/bash...not found Checking for program /usr/local/bin/bash...not found Checking for program /usr/sbin/bash...not found Checking for program /usr/bin/bash...found Defined make macro "SHELL" to "/usr/bin/bash" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/sed...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/sed...not found Checking for program /opt/slurm/bin/sed...not found Checking for program /scinet/niagara/software/2019b/core/bin/sed...not found Checking for program /usr/local/sbin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/sbin/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-xj8i2x7y/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/mv...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/mv...not found Checking for program /opt/slurm/bin/mv...not found Checking for program /scinet/niagara/software/2019b/core/bin/mv...not found Checking for program /usr/local/sbin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/sbin/mv...not found Checking for program /usr/bin/mv...found Defined make macro "MV" to "/usr/bin/mv" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/cp...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/cp...not found Checking for program /opt/slurm/bin/cp...not found Checking for program /scinet/niagara/software/2019b/core/bin/cp...not found Checking for program /usr/local/sbin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/sbin/cp...not found Checking for program /usr/bin/cp...found Defined make macro "CP" to "/usr/bin/cp" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/grep...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/grep...not found Checking for program /opt/slurm/bin/grep...not found Checking for program /scinet/niagara/software/2019b/core/bin/grep...not found Checking for program /usr/local/sbin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/sbin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/rm...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/rm...not found Checking for program /opt/slurm/bin/rm...not found Checking for program /scinet/niagara/software/2019b/core/bin/rm...not found Checking for program /usr/local/sbin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/sbin/rm...not found Checking for program /usr/bin/rm...found Defined make macro "RM" to "/usr/bin/rm -f" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/diff...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/diff...not found Checking for program /opt/slurm/bin/diff...not found Checking for program /scinet/niagara/software/2019b/core/bin/diff...not found Checking for program /usr/local/sbin/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /usr/sbin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/tmp/petsc-xj8i2x7y/config.programs/diff1" "/tmp/petsc-xj8i2x7y/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/ps...not found Unable to find programs: ['ps'] in listing of the specific search path: ['/usr/ucb', '/usr/usb'] Warning accessing /usr/ucb gives errors: [Errno 2] No such file or directory: '/usr/ucb' Warning accessing /usr/usb gives errors: [Errno 2] No such file or directory: '/usr/usb' Defined make macro "PYTHON" to "/usr/bin/python3" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/m4...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/m4...not found Checking for program /opt/slurm/bin/m4...not found Checking for program /scinet/niagara/software/2019b/core/bin/m4...not found Checking for program /usr/local/sbin/m4...not found Checking for program /usr/local/bin/m4...not found Checking for program /usr/sbin/m4...not found Checking for program /usr/bin/m4...found Defined make macro "M4" to "/usr/bin/m4" child config.programs took 0.026505 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.make(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.make(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: configureMake from config.packages.make(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/make.py:98) Check Guesses for GNU make Executing: gmake --version stdout: GNU Make 3.82 Built for x86_64-redhat-linux-gnu Copyright (C) 2010 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 /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gmake...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gmake...not found Checking for program /opt/slurm/bin/gmake...not found Checking for program /scinet/niagara/software/2019b/core/bin/gmake...not found Checking for program /usr/local/sbin/gmake...not found Checking for program /usr/local/bin/gmake...not found Checking for program /usr/sbin/gmake...not found Checking for program /usr/bin/gmake...found Defined make macro "MAKE" to "/usr/bin/gmake" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/make...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/make...not found Checking for program /opt/slurm/bin/make...not found Checking for program /scinet/niagara/software/2019b/core/bin/make...not found Checking for program /usr/local/sbin/make...not found Checking for program /usr/local/bin/make...not found Checking for program /usr/sbin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE_USER" to "make" ============================================================================================= ***** WARNING ***** You have a version of GNU make older than 4.0. It will work, but may not support all the parallel testing options. You can install the latest GNU make with your package manager, such as Brew or MacPorts, or use the --download-make option to get the latest GNU make ============================================================================================= ============================================================================================= TESTING: setupGNUMake from config.packages.make(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/make.py:152) Setup other GNU make stuff Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} Defined make macro "OMAKE_PRINTDIR" to "/usr/bin/gmake --print-directory" Defined make macro "OMAKE" to "/usr/bin/gmake --no-print-directory" Defined "OMAKE" to ""/usr/bin/gmake --no-print-directory"" Defined make macro "MAKE_PAR_OUT_FLG" to "" ============================================================================================= TESTING: configureMakeNP from config.packages.make(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/make.py:200) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 32 cores: using make_np = 24 Defined make macro "MAKE_NP" to "24" Defined make macro "MAKE_TEST_NP" to "16" Defined make macro "MAKE_LOAD" to "48.0" Defined make macro "NPMAX" to "32" child config.packages.make took 0.018229 seconds ============================================================================================= TESTING: locateBison from config.packages.bison(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/bison.py:31) Looking for default Bison executable Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/bison...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/bison...not found Checking for program /opt/slurm/bin/bison...not found Checking for program /scinet/niagara/software/2019b/core/bin/bison...not found Checking for program /usr/local/sbin/bison...not found Checking for program /usr/local/bin/bison...not found Checking for program /usr/sbin/bison...not found Checking for program /usr/bin/bison...found Defined make macro "BISON" to "/usr/bin/bison" Executing: /usr/bin/bison --version stdout: bison (GNU Bison) 3.0.4 Written by Robert Corbett and Richard Stallman. Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. child config.packages.bison took 0.006202 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sycl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.sycl took 0.001258 seconds Defined "PYTHON_EXE" to ""/usr/bin/python3"" Defined make macro "PYTHON_EXE" to ""/usr/bin/python3"" Executing: ['/usr/bin/python3', '-c', 'import sysconfig;print(sysconfig.get_python_version())'] stdout: 3.6 Executing: ['/usr/bin/python3', '-c', 'import cython;print(cython.__version__)'] stdout: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'cython' Python being used /usr/bin/python3 does not have the Cython package Executing: /usr/bin/python3 -c "import numpy" stdout: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' Python being used /usr/bin/python3 does not have the numpy package child config.packages.python took 0.058033 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.X(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.X(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.X(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1016) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional X Checking for library in Compiler specific search X: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library [] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(void); static void _check_XSetWMName(void) { XSetWMName(); } int main(void) { _check_XSetWMName(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lquadmath -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status Checking for library in Compiler specific search X: ['libX11.a'] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['libX11.a'] [] Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(void); static void _check_XSetWMName(void) { XSetWMName(); } int main(void) { _check_XSetWMName(); return 0; } Executing: gcc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -lX11 -lquadmath -ldl Executing: gcc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(void); static void _check_XSetWMName(void) { XSetWMName(); } void dummy(void) {_check_XSetWMName();} Executing: gfortran -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lX11 -lquadmath -ldl Defined "HAVE_LIBX11" to "1" Checking for headers ['X11/Xlib.h'] in Compiler specific search X: [] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['X11/Xlib.h'] in [] Checking include with compiler flags var CPPFLAGS [] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['X11/Xlib.h'] in [] ============================================================================================= TESTING: checkVersion from config.packages.X(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "xorg/xorg-server.h" #include "xorg/xorgVersion.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s const char *ver = "petscpkgver(" PetscXstr_(XORG_VERSION_MAJOR.XORG_VERSION_MINOR.XORG_VERSION_PATCH.XORG_VERSION_SNAP) ")"; Executing: gcc -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.X /tmp/petsc-xj8i2x7y/config.packages.X/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" 2 stderr: /tmp/petsc-xj8i2x7y/config.packages.X/conftest.c:4:10: fatal error: xorg/xorg-server.h: No such file or directory #include "xorg/xorg-server.h" ^~~~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include "xorg/xorg-server.h" #include "xorg/xorgVersion.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s const char *ver = "petscpkgver(" PetscXstr_(XORG_VERSION_MAJOR.XORG_VERSION_MINOR.XORG_VERSION_PATCH.XORG_VERSION_SNAP) ")"; For x unable to find version information: output below, skipping version check # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/confdefs.h" 1 # 2 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" 2 # 1 "/tmp/petsc-xj8i2x7y/config.packages.X/conffix.h" 1 # 3 "/tmp/petsc-xj8i2x7y/config.packages.X/conftest.c" 2 ============================================================================================= TESTING: checkSharedLibrary from config.packages.X(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.X took 0.271567 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hwloc(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hwloc(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.hwloc took 0.001258 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hip(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hip(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.hip took 0.000672 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.thrust(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.thrust(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.thrust took 0.000733 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cuda(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.cuda(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: checkKnownBadCUDAHostCompilerCombo from config.packages.cuda(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/cuda.py:465) Check for nvcc + host compiler combinations that are unable to compile or have some other known defect and prints a warning to the user. Has no other effect. For example: 1. CUDA 11.5 + gcc 11.3.0 produces /usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with '...': 435 | function(_Functor&& __f) | ^ child config.packages.cuda took 0.000768 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.OpenMPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.OpenMPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.OpenMPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1016) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional OpenMPI Looking for OPENMPI at git.openmpi, hg.openmpi or a directory starting with ['openmpi', 'ompi'] Found a copy of OPENMPI in openmpi-5.0.2 Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: gcc --help | head -n 500 Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: gfortran -v stdout: Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: gfortran -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: gfortran -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: gfortran -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: gfortran --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Makefile /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/lib/petsc/conf/pkg.conf.openmpi has correct checksum Do not need to rebuild OPENMPI Showing compiler and options used by newly built MPI Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -show stdout: gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -show stdout: g++ -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -show stdout: gfortran -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi Deleting "CC" Deleting "CXX" Deleting "FC" ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2739) Remove compilers from the shell environment so they do not interfere with testing ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2756) Set configure compilers from the environment, from -with-environment-variables ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2709) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ============================================================================================= TESTING: requireMpiLdPath from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2730) Open MPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:726) Initialize the compiler and linker flags Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to Initialized SYCLFLAGS to Initialized SYCLFLAGS to Initialized SYCLC_LINKER_FLAGS to Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Initialized CPPFLAGS to Initialized FPPFLAGS to Initialized CUDAPPFLAGS to 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 sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ============================================================================================= TESTING: checkCCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1435) Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Defined make macro "CC" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -v | head -n 20 stdout: Using built-in specs. COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcc COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Since MPI c compiler starts with mpi, force searches for other compilers to only look for MPI compilers ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1482) Locate a functional C preprocessor Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Defined make macro "CPP" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Preprocess output before filtering: Preprocess output after filtering: ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1764) Locate a functional Cxx compiler Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx...found Defined make macro "CXX" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkCxxDialect from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:774) Determine the CXX dialect supported by the compiler (language) [and corresponding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest supported dialect configure can determine [[c|gnu][xx|++]]23: not yet supported [[c|gnu][xx|++]]20: gnu++20 or c++20 [[c|gnu][xx|++]]17: gnu++17 or c++17 [[c|gnu][xx|++]]14: gnu++14 or c++14 [[c|gnu][xx|++]]11: gnu++11 or c++11 0: disable CxxDialect check and use compiler default On return this function sets the following values: - if needed, appends the relevant CXX dialect flag to compiler flags - self.cxxDialectRange = (minSupportedDialect,maxSupportedDialect) (e.g. ('c++11','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect - self.lang+'dialect' = 'c++'+maxDialectNumber (e.g. 'c++14') but ONLY if the user specifically requests a dialect version, otherwise this is not set Raises a config.base.ConfigureSetupError if: - The user has set both the --with-dialect=[...] configure options and -std=[...] in their compiler flags - The combination of specifically requested packages cannot all be compiled with the same flag - An unknown C++ dialect is provided The config.base.ConfigureSetupErrors are NOT meant to be caught, as they are fatal errors on part of the user Raises a RuntimeError (which may be caught) if: - The compiler does not support at minimum -std=c++11 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Did not detect MSVC Detected Non-Microsoft Windows native compiler checkCxxDialect: checking C++ dialect version for language "CXX" using compiler "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx" checkCxxDialect: PETSc believes compiler (/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx) IS gnu-ish checkCxxDialect: PETSc believes that we HAVE processed /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx before checkCxxDialect: configure option after sanitization: --with-cxx-dialect=AUTO Deleting "HAVE_CXX_DIALECT_CXX11" Deleting "HAVE_CXX_DIALECT_CXX14" Deleting "HAVE_CXX_DIALECT_CXX17" checkCxxDialect: dialect AUTO has been NOT explicitly selected for CXX checkCxxDialect: Have potential flag pool: - -std=gnu++20 - -std=c++20 - -std=gnu++17 - -std=c++17 - -std=gnu++14 - -std=c++14 - -std=gnu++11 - -std=c++11 checkCxxDialect: checking CXX 20 for cxx with -std=gnu++20 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++20 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc stdout: g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’? Possible ERROR while running compiler: exit code 1 stderr: g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’? Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #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 #include #include std::align_val_t dummy; [[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(); } std::tuple foobar() { return {3.8, 0, 'x'}; } // c++20 includes #include #include consteval int sqr_cpp20(int n) { return n*n; } constexpr auto r = sqr_cpp20(10); static_assert(r == 100); const char *g_cpp20() { return "dynamic initialization"; } constexpr const char *f_cpp20(bool p) { return p ? "constant initializer" : g_cpp20(); } constinit const char *cinit_c = f_cpp20(true); // OK // Declaration of the concept "Hashable", which is satisfied by any type 'T' // such that for values 'a' of type 'T', the expression std::hash{}(a) // compiles and its result is convertible to std::size_t template concept Hashable = requires(T a) { { std::hash{}(a) } -> std::convertible_to; }; struct meow {}; // Constrained C++20 function template: template void f_concept(T) {} void abbrev_f1(auto); // same as template void abbrev_f1(T) void abbrev_f4(const std::destructible auto*, std::floating_point auto&); // same as template void abbrev_f4(const T*, U&); template<> void abbrev_f4(const int*, const double&); // specialization of abbrev_f4 (since C++20) int main(void) { // 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; std::vector> vector; std::sort(vector.begin(), vector.end(), [](std::unique_ptr &a, std::unique_ptr &b) { return *a < *b; }); // 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); // structured binding const auto [ab, cd, ef] = foobar(); // c++20 body ignore(cinit_c); using std::operator""s; f_concept("abc"s); return 0; } Output from compiling with -std=gnu++20 g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’? PETSc Error: No output file produced Rejecting compiler flag -std=gnu++20 due to nonzero status from link checkCxxDialect: checking CXX 20 for cxx with -std=c++20 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=c++20 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc stdout: g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? Possible ERROR while running compiler: exit code 1 stderr: g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #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 #include #include std::align_val_t dummy; [[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(); } std::tuple foobar() { return {3.8, 0, 'x'}; } // c++20 includes #include #include consteval int sqr_cpp20(int n) { return n*n; } constexpr auto r = sqr_cpp20(10); static_assert(r == 100); const char *g_cpp20() { return "dynamic initialization"; } constexpr const char *f_cpp20(bool p) { return p ? "constant initializer" : g_cpp20(); } constinit const char *cinit_c = f_cpp20(true); // OK // Declaration of the concept "Hashable", which is satisfied by any type 'T' // such that for values 'a' of type 'T', the expression std::hash{}(a) // compiles and its result is convertible to std::size_t template concept Hashable = requires(T a) { { std::hash{}(a) } -> std::convertible_to; }; struct meow {}; // Constrained C++20 function template: template void f_concept(T) {} void abbrev_f1(auto); // same as template void abbrev_f1(T) void abbrev_f4(const std::destructible auto*, std::floating_point auto&); // same as template void abbrev_f4(const T*, U&); template<> void abbrev_f4(const int*, const double&); // specialization of abbrev_f4 (since C++20) int main(void) { // 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; std::vector> vector; std::sort(vector.begin(), vector.end(), [](std::unique_ptr &a, std::unique_ptr &b) { return *a < *b; }); // 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); // structured binding const auto [ab, cd, ef] = foobar(); // c++20 body ignore(cinit_c); using std::operator""s; f_concept("abc"s); return 0; } Output from compiling with -std=c++20 g++: error: unrecognized command line option ‘-std=c++20’; did you mean ‘-std=c++2a’? PETSc Error: No output file produced Rejecting compiler flag -std=c++20 due to nonzero status from link checkCxxDialect: checking CXX 17 for cxx with -std=gnu++17 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" // c++11 includes #include #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 #include #include std::align_val_t dummy; [[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(); } std::tuple foobar() { return {3.8, 0, 'x'}; } int main(void) { // 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; std::vector> vector; std::sort(vector.begin(), vector.end(), [](std::unique_ptr &a, std::unique_ptr &b) { return *a < *b; }); // 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); // structured binding const auto [ab, cd, ef] = foobar(); return 0; } Output from compiling with -std=gnu++17 Added Cxx compiler flag -std=gnu++17 checkCxxDialect: success using -std=gnu++17 for Cxx dialect C++17, set new cxxDialectRange: ('c++11', 'c++17') Defined "HAVE_CXX_DIALECT_CXX11" to "1" Defined "HAVE_CXX_DIALECT_CXX14" to "1" Defined "HAVE_CXX_DIALECT_CXX17" to "1" ============================================================================================= TESTING: checkCxxPreprocessor from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1800) Locate a functional Cxx preprocessor Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx...found Defined make macro "CXXPP" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -E -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Preprocess output before filtering: Preprocess output after filtering: ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1519) Locate a functional CUDA compiler Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/nvcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/nvcc...not found Checking for program /opt/slurm/bin/nvcc...not found Checking for program /scinet/niagara/software/2019b/core/bin/nvcc...not found Checking for program /usr/local/sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /scinet/niagara/bin/nvcc...not found Checking for program /usr/lpp/mmfs/bin/nvcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/nvcc...not found Checking for program /Developer/NVIDIA/CUDA-6.5/bin/nvcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/nvcc...not found Unable to find programs: ['nvcc'] in listing of the specific search path: ['/Developer/NVIDIA/CUDA-6.5/bin'] Warning accessing /Developer/NVIDIA/CUDA-6.5/bin gives errors: [Errno 2] No such file or directory: '/Developer/NVIDIA/CUDA-6.5/bin' Checking for program /usr/local/cuda/bin/nvcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/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' Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/clang...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/clang...not found Checking for program /opt/slurm/bin/clang...not found Checking for program /scinet/niagara/software/2019b/core/bin/clang...not found Checking for program /usr/local/sbin/clang...not found Checking for program /usr/local/bin/clang...not found Checking for program /usr/sbin/clang...not found Checking for program /usr/bin/clang...not found Checking for program /sbin/clang...not found Checking for program /bin/clang...not found Checking for program /scinet/niagara/bin/clang...not found Checking for program /usr/lpp/mmfs/bin/clang...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/clang...not found ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) 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 /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1581) Locate a functional HIP compiler Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/hipcc...not found Checking for program /opt/slurm/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/core/bin/hipcc...not found Checking for program /usr/local/sbin/hipcc...not found Checking for program /usr/local/bin/hipcc...not found Checking for program /usr/sbin/hipcc...not found Checking for program /usr/bin/hipcc...not found Checking for program /sbin/hipcc...not found Checking for program /bin/hipcc...not found Checking for program /scinet/niagara/bin/hipcc...not found Checking for program /usr/lpp/mmfs/bin/hipcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/hipcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/opt/rocm/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/opt/rocm/bin/hipcc...not found Checking for program /opt/slurm/bin/opt/rocm/bin/hipcc...not found Checking for program /scinet/niagara/software/2019b/core/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/local/sbin/opt/rocm/bin/hipcc...not found Checking for program /usr/local/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/sbin/opt/rocm/bin/hipcc...not found Checking for program /usr/bin/opt/rocm/bin/hipcc...not found Checking for program /sbin/opt/rocm/bin/hipcc...not found Checking for program /bin/opt/rocm/bin/hipcc...not found Checking for program /scinet/niagara/bin/opt/rocm/bin/hipcc...not found Checking for program /usr/lpp/mmfs/bin/opt/rocm/bin/hipcc...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/opt/rocm/bin/hipcc...not found ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) Set the host compiler (HC) of the device compiler (DC) to the HC unless the DC already explicitly sets its HC. This may be needed if the default HC used by the DC is ancient and PETSc uses a different HC (e.g., through --with-cxx=...). ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1640) Locate a functional SYCL compiler ============================================================================================= TESTING: checkDeviceHostCompiler from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:752) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1893) Locate a functional Fortran compiler Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90...found Defined make macro "FC" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ============================================================================================= TESTING: checkFortranPreprocessor from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1929) Locate a functional Fortran preprocessor Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90...found Defined make macro "FPP" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -E" Preprocessing source: #define foo 10 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -E -I/tmp/petsc-xj8i2x7y/config.setCompilers /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Preprocess output before filtering: Preprocess output after filtering: ============================================================================================= TESTING: checkFortranComments from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:1948) Make sure fortran comment "!" works Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2135) check for large file support with 64-bit offset ============================================================================================= TESTING: checkArchiver from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2228) Check that the archiver exists and can make a library usable by the compiler Detected Non-Microsoft Windows native compiler Executing: ar -V stdout: GNU ar version 2.27-44.base.el7_9.1 Copyright (C) 2016 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 version 2.27-44.base.el7_9.1 Copyright (C) 2016 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ar...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ar...not found Checking for program /opt/slurm/bin/ar...not found Checking for program /scinet/niagara/software/2019b/core/bin/ar...not found Checking for program /usr/local/sbin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ranlib...not found Checking for program /opt/slurm/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/core/bin/ranlib...not found Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/sbin/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-xj8i2x7y/config.setCompilers/libconf1.a /tmp/petsc-xj8i2x7y/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-xj8i2x7y/config.setCompilers/libconf1.a stdout: /usr/bin/ranlib: invalid option -- 'c' Possible ERROR while running ranlib:exit code 0 stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar version 2.27-44.base.el7_9.1 Copyright (C) 2016 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 version 2.27-44.base.el7_9.1 Copyright (C) 2016 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ar...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ar...not found Checking for program /opt/slurm/bin/ar...not found Checking for program /scinet/niagara/software/2019b/core/bin/ar...not found Checking for program /usr/local/sbin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/sbin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ranlib...not found Checking for program /opt/slurm/bin/ranlib...not found Checking for program /scinet/niagara/software/2019b/core/bin/ranlib...not found Checking for program /usr/local/sbin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/sbin/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-xj8i2x7y/config.setCompilers/libconf1.a /tmp/petsc-xj8i2x7y/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-xj8i2x7y/config.setCompilers/libconf1.a Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main(void) { int b = foo(1); (void)b; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -L/tmp/petsc-xj8i2x7y/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2300) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2382) Check that the linker can produce shared libraries Checking shared linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc using flags ['-qmkshrobj'] Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Defined make macro "LD_SHARED" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -show stdout: gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Trying C compiler flag -fPIC Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -qmkshrobj -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: gcc: error: unrecognized command line option ‘-qmkshrobj’ Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qmkshrobj’ Rejecting linker flag -qmkshrobj due to nonzero status from link Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ‘-qmkshrobj’ Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Rejected C compiler flag -fPIC because it was not compatible with shared linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc using flags ['-qmkshrobj'] Trying C compiler flag Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -qmkshrobj /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: gcc: error: unrecognized command line option ‘-qmkshrobj’ Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qmkshrobj’ Rejecting linker flag -qmkshrobj due to nonzero status from link Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ‘-qmkshrobj’ Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o stdout: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /lib/../lib64/crt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status Rejected C compiler flag because it was not compatible with shared linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc using flags ['-qmkshrobj'] Deleting "LD_SHARED" Checking shared linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc using flags ['-shared'] Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Defined make macro "LD_SHARED" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -show stdout: gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Trying C compiler flag -fPIC Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid C linker flag -shared Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main(void) { int ret = foo(); if (ret) {} return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -L/tmp/petsc-xj8i2x7y/config.setCompilers -lconftest Using shared linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPIC from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2085) Determine the PIC option for each compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --help | head -n 20 stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -show stdout: gfortran -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi Trying FC compiler flag -fPIC for PIC code Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC Added FC compiler flag -fPIC Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Accepted FC compiler flag -fPIC for PIC code Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -show stdout: g++ -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Trying Cxx compiler flag -fPIC for PIC code Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -std=gnu++17 -fPIC Added Cxx compiler flag -fPIC Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; int foo(void){ fprintf_ptr(stdout,"hello"); return 0; } void bar(void){foo();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Accepted Cxx compiler flag -fPIC for PIC code ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2501) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -V stdout: gcc: error: unrecognized command line option ‘-V’ gcc: fatal error: no input files compilation terminated. Trying C linker flag -Wl,-rpath, Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -V stdout: gcc: error: unrecognized command line option ‘-V’ gcc: fatal error: no input files compilation terminated. Trying Cxx linker flag -Wl,-rpath, Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -V stdout: gcc: error: unrecognized command line option ‘-V’ gcc: fatal error: no input files compilation terminated. Trying FC linker flag -Wl,-rpath, Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 ============================================================================================= TESTING: checkLibC from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2543) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2589) Check that the linker can dynamically load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library [''] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } char dlsym(void); static void _check_dlsym(void) { dlsym(); } char dlclose(void); static void _check_dlclose(void) { dlclose(); } int main(void) { _check_dlopen(); _check_dlsym(); _check_dlclose(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.o stdout: /usr/bin/ld: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5' //usr/lib64/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } char dlsym(void); static void _check_dlsym(void) { dlsym(); } char dlclose(void); static void _check_dlclose(void) { dlclose(); } int main(void) { _check_dlopen(); _check_dlsym(); _check_dlclose(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(void); static void _check_dlopen(void) { dlopen(); } char dlsym(void); static void _check_dlsym(void) { dlsym(); } char dlclose(void); static void _check_dlclose(void) { dlclose(); } void dummy(void) {_check_dlopen(); _check_dlsym(); _check_dlclose();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Checking dynamic linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc using flags ['-shared'] Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Defined make macro "DYNAMICLINKER" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Valid C linker flag -shared Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main(void) { void *handle = dlopen("/tmp/petsc-xj8i2x7y/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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Using dynamic linker /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2043) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wunknown-pragmas /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wunknown-pragmas /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wunknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wunknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main(void) { return 0; } ============================================================================================= TESTING: checkAtFileOption from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2781) Check if linker supports @file option Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest @/tmp/petsc-xj8i2x7y/config.setCompilers/optfile -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Valid C linker flag @/tmp/petsc-xj8i2x7y/config.setCompilers/optfile Defined make macro "PCC_AT_FILE" to "1" ============================================================================================= TESTING: output from config.setCompilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/setCompilers.py:2638) Output module data as defines and substitutions Substituting "CC" with "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx" Substituting "CXX_CXXFLAGS" with " -std=gnu++17 -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "FPP" with "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -E" Substituting "FPPFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc gcc (GCC) 8.3.0 Defined make macro "C_VERSION" to "gcc (GCC) 8.3.0" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -show stdout: gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Defined make macro "MPICC_SHOW" to "gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Did not detect Gcc110plus compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 500 Trying C compiler flag -Wall Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-unknown-pragmas Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -Wno-lto-type-mismatch Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch Added C compiler flag -Wno-lto-type-mismatch Trying C compiler flag -fstack-protector Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector Added C compiler flag -fstack-protector Trying C compiler flag -mfp16-format=ieee Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -mfp16-format=ieee /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c stdout: gcc: error: unrecognized command line option ‘-mfp16-format=ieee’ Possible ERROR while running compiler: exit code 1 stderr: gcc: error: unrecognized command line option ‘-mfp16-format=ieee’ Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -mfp16-format=ieee gcc: error: unrecognized command line option ‘-mfp16-format=ieee’ PETSc Error: No output file produced Rejecting compiler flag -mfp16-format=ieee due to nonzero status from link Rejected C compiler flag -mfp16-format=ieee Trying C compiler flag -fvisibility=hidden Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden Added C compiler flag -fvisibility=hidden Trying C compiler flag -O3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 Added C compiler flag -O3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx g++ (GCC) 8.3.0 Defined make macro "Cxx_VERSION" to "g++ (GCC) 8.3.0" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -show stdout: g++ -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Defined make macro "MPICXX_SHOW" to "g++ -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --version stdout: g++ (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Trying Cxx compiler flag -Wall Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -Wno-lto-type-mismatch Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch Added Cxx compiler flag -Wno-lto-type-mismatch Trying Cxx compiler flag -Wno-psabi Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi Added Cxx compiler flag -Wno-psabi Trying Cxx compiler flag -fstack-protector Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector Added Cxx compiler flag -fstack-protector Trying Cxx compiler flag -fvisibility=hidden Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden Added Cxx compiler flag -fvisibility=hidden Trying Cxx compiler flag -O3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 Added Cxx compiler flag -O3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 GNU Fortran (GCC) 8.3.0 Defined make macro "FC_VERSION" to "GNU Fortran (GCC) 8.3.0" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -show stdout: gfortran -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi Defined make macro "MPIFC_SHOW" to "gfortran -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --help | head -n 20 stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran46plus compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran47plus compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -v stdout: Using built-in specs. COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Trying FC compiler flag -Wall Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall Added FC compiler flag -Wall Trying FC compiler flag -ffree-line-length-none Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none Added FC compiler flag -ffree-line-length-none Trying FC compiler flag -ffree-line-length-0 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 Added FC compiler flag -ffree-line-length-0 Trying FC compiler flag -Wno-lto-type-mismatch Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch Added FC compiler flag -Wno-lto-type-mismatch Trying FC compiler flag -Wno-unused-dummy-argument Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument Added FC compiler flag -Wno-unused-dummy-argument Trying FC compiler flag -O3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 Added FC compiler flag -O3 ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilerFlags.py:168) Use Linux/macOS commands to determine what operations the hardware supports Executing: lscpu stdout: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Silver 4215 CPU @ 2.50GHz Stepping: 7 CPU MHz: 2999.877 CPU max MHz: 3500.0000 CPU min MHz: 1000.0000 BogoMIPS: 5000.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 11264K NUMA node0 CPU(s): 0-7,16-23 NUMA node1 CPU(s): 8-15,24-31 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba rsb_ctxsw ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilerFlags.py:159) Save the list of CPP macros defined by the C and C++ compiler, does not work for all compilers Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilerFlags/conftest.c -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __x86_64 1 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __LDBL_MAX_EXP__ 16384 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __linux__ 1 #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT64X_MANT_DIG__ 64 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __STDC_UTF_16__ 1 #define __DEC32_MAX__ 9.999999E96DF #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201103L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 64 #define __DECIMAL_DIG__ 21 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INTMAX_WIDTH__ 64 #define __has_include_next(STR) __has_include_next__(STR) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __GNUC__ 8 #define __MMX__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __FLT128_HAS_INFINITY__ 1 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __amd64 1 #define __STDC_NO_THREADS__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT32_HAS_QUIET_NAN__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __GXX_ABI_VERSION 1013 #define __FLT_MIN_EXP__ (-125) #define __FLT64X_HAS_QUIET_NAN__ 1 #define __INT_FAST64_TYPE__ long int #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __LP64__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_EXP__ (-1021) #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "8.3.0" #define __UINT64_C(c) c ## UL #define _STDC_PREDEF_H 1 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __FLT32_MAX_10_EXP__ 38 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define __FLT64X_HAS_INFINITY__ 1 #define unix 1 #define __INT16_MAX__ 0x7fff #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __SSE_MATH__ 1 #define __k8 1 #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __FLT32X_MANT_DIG__ 53 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201710L #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define linux 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSE2__ 1 #define __FLT32X_DIG__ 15 #define __LDBL_MANT_DIG__ 64 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __k8__ 1 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __SIZEOF_FLOAT__ 4 #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT32_HAS_INFINITY__ 1 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __INT_MAX__ 0x7fffffff #define __amd64__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __SSP__ 1 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long unsigned int #define __FLT128_HAS_QUIET_NAN__ 1 #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 3 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ long int #define __ATOMIC_SEQ_CST 5 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __SIZEOF_LONG_LONG__ 8 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __LDBL_DIG__ 18 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __INT_LEAST64_WIDTH__ 64 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilerFlags/conftest.cc -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __cpp_attributes 200809 #define __cpp_nontype_template_parameter_auto 201606 #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __cpp_aggregate_nsdmi 201304 #define __UINT_LEAST8_TYPE__ unsigned char #define __SIZEOF_FLOAT80__ 16 #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __cpp_static_assert 201411 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __cpp_enumerator_attributes 201411 #define __unix__ 1 #define __cpp_binary_literals 201304 #define __FLT64_DECIMAL_DIG__ 17 #define __cpp_noexcept_function_type 201510 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __x86_64 1 #define __cpp_variadic_templates 200704 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __cpp_variable_templates 201304 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __FLT32_MAX_10_EXP__ 38 #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __cpp_variadic_using 201611 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __cpp_capture_star_this 201603 #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __cpp_if_constexpr 201606 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __OPTIMIZE__ 1 #define __unix 1 #define __UINT32_MAX__ 0xffffffffU #define __GXX_EXPERIMENTAL_CXX0X__ 1 #define __LDBL_MAX_EXP__ 16384 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __linux__ 1 #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT64X_MANT_DIG__ 64 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __cpp_aligned_new 201606 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __GXX_WEAK__ 1 #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __DEC32_MAX__ 9.999999E96DF #define __cpp_threadsafe_static_init 200806 #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201103L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 64 #define __DECIMAL_DIG__ 21 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INTMAX_WIDTH__ 64 #define __FLT64_MIN_EXP__ (-1021) #define __has_include_next(STR) __has_include_next__(STR) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __GNUC__ 8 #define __GXX_RTTI 1 #define __MMX__ 1 #define __cpp_delegating_constructors 200604 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __STDC_UTF_16__ 1 #define __FLT64_MAX_10_EXP__ 308 #define __FLT32_HAS_INFINITY__ 1 #define __DBL_MAX__ double(1.79769313486231570814527423731704357e+308L) #define __cpp_raw_strings 200710 #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __cpp_deduction_guides 201611 #define __cpp_fold_expressions 201603 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __cplusplus 201703L #define __cpp_ref_qualifiers 200710 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __DEPRECATED 1 #define __cpp_rvalue_references 200610 #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SSE2_MATH__ 1 #define __ATOMIC_HLE_RELEASE 131072 #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __amd64 1 #define __STDC_NO_THREADS__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT32_HAS_QUIET_NAN__ 1 #define __GNUG__ 8 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __cpp_rvalue_reference 200610 #define __cpp_nsdmi 200809 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __cpp_initializer_lists 200806 #define __FLT32_MAX_EXP__ 128 #define __cpp_hex_float 201603 #define __GCC_HAVE_DWARF2_CFI_ASM 1 #define __GXX_ABI_VERSION 1013 #define __FLT128_HAS_INFINITY__ 1 #define __FLT_MIN_EXP__ (-125) #define __cpp_lambdas 200907 #define __FLT64X_HAS_QUIET_NAN__ 1 #define __INT_FAST64_TYPE__ long int #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ double(2.22507385850720138309023271733240406e-308L) #define __LP64__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __DECIMAL_BID_FORMAT__ 1 #define __FLT64_MIN_10_EXP__ (-307) #define __FLT64X_DECIMAL_DIG__ 21 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "8.3.0" #define __UINT64_C(c) c ## UL #define __cpp_unicode_characters 201411 #define _STDC_PREDEF_H 1 #define __cpp_decltype_auto 201304 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __cpp_aggregate_bases 201603 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __cpp_nested_namespace_definitions 201411 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define __FLT64X_HAS_INFINITY__ 1 #define unix 1 #define __INT16_MAX__ 0x7fff #define __cpp_rtti 199711 #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __FLT64X_DIG__ 18 #define __INT8_TYPE__ signed char #define __cpp_digit_separators 201309 #define __ELF__ 1 #define __GCC_ASM_FLAG_OUTPUTS__ 1 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L #define __UINTMAX_C(c) c ## UL #define __GLIBCXX_BITSIZE_INT_N_0 128 #define __k8 1 #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __FLT32X_MANT_DIG__ 53 #define __x86_64__ 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __cpp_unicode_literals 200710 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __SEG_FS 1 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __SEG_GS 1 #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __cpp_structured_bindings 201606 #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define __cpp_sized_deallocation 201309 #define __cpp_guaranteed_copy_elision 201606 #define linux 1 #define __cpp_range_based_for 201603 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSE2__ 1 #define __EXCEPTIONS 1 #define __LDBL_MANT_DIG__ 64 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x #define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #define __cpp_nontype_template_args 201411 #define __cpp_return_type_deduction 201304 #define __k8__ 1 #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __SIZEOF_FLOAT__ 4 #define __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __cpp_decltype 200707 #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __cpp_inline_variables 201606 #define __INT_MAX__ 0x7fffffff #define __amd64__ 1 #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __cpp_inheriting_constructors 201511 #define __SIZEOF_FLOAT128__ 16 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __SSE__ 1 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __cpp_template_auto 201606 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __SSP__ 1 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ double(2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FXSR__ 1 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __cpp_runtime_arrays 198712 #define __UINT64_TYPE__ long unsigned int #define __cpp_namespace_attributes 201411 #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __cpp_alias_templates 200704 #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __cpp_constexpr 201603 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __cpp_exceptions 199711 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 3 #define __GLIBCXX_TYPE_INT_N_0 __int128 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __cpp_template_template_args 201611 #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 3.64519953188247460252840593361941982e-4951L #define __INT16_C(c) c #define __cpp_generic_lambdas 201304 #define __STDC__ 1 #define __FLT32X_DIG__ 15 #define __PTRDIFF_TYPE__ long int #define __ATOMIC_SEQ_CST 5 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __SSE_MATH__ 1 #define __SIZEOF_LONG_LONG__ 8 #define __cpp_user_defined_literals 200809 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __LDBL_DIG__ 18 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __INT_LEAST64_WIDTH__ 64 #define __UINT_FAST8_TYPE__ unsigned char #define _GNU_SOURCE 1 #define __cpp_init_captures 201304 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkLinux from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1382) Check for __linux__ Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(__linux__) #error "__linux__ not defined" #endif int main(void) { return 0; } Defined "HAVE_LINUX" to "1" ============================================================================================= TESTING: checkC99Flag from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1393) Check for -std=c99 or equivalent flag Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { float x[2],y; float *restrict z = &y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*(*z); } (void)x; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 Accepted C99 compile flag: ============================================================================================= TESTING: checkCFormatting from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:367) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:378) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main(void) { dlopen(libname, RTLD_LAZY);dlopen(libname, RTLD_NOW);dlopen(libname, RTLD_LOCAL);dlopen(libname, RTLD_GLOBAL); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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: checkStdAtomic from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1426) Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(__cplusplus) #include using namespace std; #else #include #endif double dcount = 0; atomic_flag cat = ATOMIC_FLAG_INIT; int main(void) { do {} while (atomic_flag_test_and_set(&cat)); dcount++; atomic_flag_clear(&cat); return 0; } Defined "HAVE_STDATOMIC_H" to "1" ============================================================================================= TESTING: checkCLibraries from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:170) Determines the libraries needed to link using the C++ or Fortran compiler C source code compiled with C. Result is stored in clibs Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl C libraries are not needed when using Fortran linker Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1333) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -MMD -MP /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -MMD -MP /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -std=gnu++17 -fPIC -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --help | head -n 20 stdout: Usage: g++ [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler ============================================================================================= TESTING: checkCxxRestrict from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:125) Check for the CXX restrict keyword equivalent to C99 restrict Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { float * __restrict x; (void)x; return 0; } compilers: Set Cxx restrict keyword to : __restrict Defined "CXX_RESTRICT" to "__restrict" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx --help | head -n 500 ============================================================================================= TESTING: checkCxxOptionalExtensions from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:397) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { class somename { public: int i; }; somename b; b.i = 0; (void)b.i; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 ============================================================================================= TESTING: checkCxxComplexFix from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:424) Determine if the CXX compiler supports utilities provided by petsccxxcomplexfix.h Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/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(void) { 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: checkStdAtomic from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1426) Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(__cplusplus) #include using namespace std; #else #include #endif double dcount = 0; atomic_flag cat = ATOMIC_FLAG_INIT; int main(void) { do {} while (atomic_flag_test_and_set(&cat)); dcount++; atomic_flag_clear(&cat); return 0; } Defined "HAVE_CXX_ATOMIC" to "1" ============================================================================================= TESTING: checkCxxLibraries from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:453) Determines the libraries needed to link using the C or Fortran compiler C++ source code compiled with C++. Result is stored in cxxlibs Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub()': conftest.cc:(.text+0x7): undefined reference to `__cxa_allocate_exception' conftest.cc:(.text+0xe): undefined reference to `typeinfo for int' conftest.cc:(.text+0x1e): undefined reference to `__cxa_throw' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub() [clone .cold.9]': conftest.cc:(.text.unlikely+0xc): undefined reference to `__cxa_begin_catch' conftest.cc:(.text.unlikely+0x13): undefined reference to `std::cout' conftest.cc:(.text.unlikely+0x1f): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' conftest.cc:(.text.unlikely+0x2d): undefined reference to `__cxa_end_catch' conftest.cc:(.text.unlikely+0x25): undefined reference to `__cxa_end_catch' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' conftest.cc:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub()': conftest.cc:(.text+0x7): undefined reference to `__cxa_allocate_exception' conftest.cc:(.text+0xe): undefined reference to `typeinfo for int' conftest.cc:(.text+0x1e): undefined reference to `__cxa_throw' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub() [clone .cold.9]': conftest.cc:(.text.unlikely+0xc): undefined reference to `__cxa_begin_catch' conftest.cc:(.text.unlikely+0x13): undefined reference to `std::cout' conftest.cc:(.text.unlikely+0x1f): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' conftest.cc:(.text.unlikely+0x2d): undefined reference to `__cxa_end_catch' conftest.cc:(.text.unlikely+0x25): undefined reference to `__cxa_end_catch' /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0xc): undefined reference to `std::ios_base::Init::Init()' conftest.cc:(.text.startup+0x13): undefined reference to `std::ios_base::Init::~Init()' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /tmp/petsc-xj8i2x7y/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --version stdout: gcc (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lstdc++ -ldl compilers: C++ requires -lstdc++ to link with C compiler Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lstdc++ -ldl Additional C++ libraries are not needed when using FC linker Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -V stdout: g++: error: unrecognized command line option ‘-V’ g++: fatal error: no input files compilation terminated. ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:773) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS Testing Fortran mangling type underscore with code void d1chk_(void){return;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected GFortran8plus compiler Defined "FORTRAN_CHARLEN_T" to "size_t" ============================================================================================= TESTING: checkFortranNameManglingDouble from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:811) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/conftest.o: In function `main': conftest.F90:(.text.startup+0x1d): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/conftest.o: In function `main': conftest.F90:(.text.startup+0x1d): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status ============================================================================================= TESTING: checkFortranLibraries from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:821) Substitutes for FLIBS the libraries needed to link using the C or C++ compiler Fortran source code compiled with Fortran. Result is stored in flibs. This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 stdout: /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90:3:26: call MPI_Allreduce() 1 Error: Missing actual argument for argument ‘sendbuf’ at (1) Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90:3:26: call MPI_Allreduce() 1 Error: Missing actual argument for argument ‘sendbuf’ at (1) Source: program main use mpi call MPI_Allreduce() end Compile failed inside link Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main #include call MPI_Allreduce() end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 80 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and multiple library search directories. -print-multi-os-directory Display the relative path to OS libraries. -print-sysroot Display the target libraries directory. -print-sysroot-headers-suffix Display the sysroot suffix used to find headers. -Wa, Pass comma-separated on to the assembler. -Wp, Pass comma-separated on to the preprocessor. -Wl, Pass comma-separated on to the linker. -Xassembler Pass on to the assembler. -Xpreprocessor Pass on to the preprocessor. -Xlinker Pass on to the linker. -save-temps Do not delete intermediate files. -save-temps= Do not delete intermediate files. -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components. -pipe Use pipes rather than intermediate files. -time Time the execution of each subprocess. -specs= Override built-in specs with the contents of . -std= Assume that the input sources are for . --sysroot= Use as the root directory for headers and libraries. -B Add to the compiler's search paths. -v Display the programs invoked by the compiler. -### Like -v but options quoted and commands not executed. -E Preprocess only; do not compile, assemble or link. -S Compile only; do not assemble or link. -c Compile and assemble, but do not link. -o Place the output into . -pie Create a dynamically linked position independent executable. -shared Create a shared library. -x Specify the language of the following input files. Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension. Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gcc. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' call MPI_Allreduce() return end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' conftest.F90:(.text+0x5c): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' conftest.F90:(.text+0x5c): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' call MPI_Allreduce() return end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -lgfortran -ldl stdout: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub_': conftest.F90:(.text+0x5c): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.compilers/confc.o: In function `asub_': conftest.F90:(.text+0x5c): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status Fortran code cannot directly be linked with C linker, therefore will determine needed Fortran libraries Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl stdout: Driving: /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Reading specs from /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/ LIBRARY_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2 -plugin /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/liblto_plugin.so -plugin-opt=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQBBUh6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../.. /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -rpath /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib --enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtend.o /lib/../lib64/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Possible ERROR while running linker:exit code 0 stderr: Driving: /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Reading specs from /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/ LIBRARY_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2 -plugin /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/liblto_plugin.so -plugin-opt=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQBBUh6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../.. /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -rpath /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib --enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtend.o /lib/../lib64/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Linker output before filtering: Driving: /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Reading specs from /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/ LIBRARY_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2 -plugin /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/liblto_plugin.so -plugin-opt=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQBBUh6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../.. /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -rpath /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib --enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtend.o /lib/../lib64/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Linker output after filtering: Driving: /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-8.3.0/configure --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 --disable-multilib --enable-languages=c,c++,fortran Thread model: posix gcc version 8.3.0 (GCC) Reading specs from /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/ LIBRARY_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2 -plugin /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/liblto_plugin.so -plugin-opt=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQBBUh6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lquadmath -plugin-opt=-pass-through=-lm -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest /lib/../lib64/crt1.o /lib/../lib64/crti.o /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../.. /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -ldl -rpath /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib --enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgcc_s -lgcc -lquadmath -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtend.o /lib/../lib64/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-xj8i2x7y/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-none' '-ffree-line-length-0' '-Wno-lto-type-mismatch' '-Wno-unused-dummy-argument' '-O3' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include' '-pthread' '-I' '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' compilers: Checking arg Driving: compilers: Unknown arg Driving: compilers: Checking arg /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran compilers: Unknown arg /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-xj8i2x7y/config.compilers/conftest compilers: Unknown arg /tmp/petsc-xj8i2x7y/config.compilers/conftest compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg -fPIC compilers: Unknown arg -fPIC compilers: Checking arg -Wall compilers: Unknown arg -Wall compilers: Checking arg -ffree-line-length-none compilers: Unknown arg -ffree-line-length-none compilers: Checking arg -ffree-line-length-0 compilers: Unknown arg -ffree-line-length-0 compilers: Checking arg -Wno-lto-type-mismatch compilers: Unknown arg -Wno-lto-type-mismatch compilers: Checking arg -Wno-unused-dummy-argument compilers: Unknown arg -Wno-unused-dummy-argument compilers: Checking arg -O3 compilers: Unknown arg -O3 compilers: Checking arg /tmp/petsc-xj8i2x7y/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-xj8i2x7y/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library: -ldl compilers: Checking arg -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include compilers: Found include directory: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include compilers: Checking arg -pthread compilers: Unknown arg -pthread compilers: Checking arg -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Found include directory: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Checking arg -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Found library directory: -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Checking arg -Wl,-rpath compilers: Unknown arg -Wl,-rpath compilers: Checking arg -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Unknown arg -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Checking arg -Wl,--enable-new-dtags compilers: Unknown arg -Wl,--enable-new-dtags compilers: Checking arg -lmpi_usempif08 compilers: Found library: -lmpi_usempif08 compilers: Checking arg -lmpi_usempi_ignore_tkr compilers: Found library: -lmpi_usempi_ignore_tkr compilers: Checking arg -lmpi_mpifh compilers: Found library: -lmpi_mpifh compilers: Checking arg -lmpi compilers: Found library: -lmpi compilers: Checking arg -l compilers: Found canonical library: -lgfortran compilers: Checking arg -l compilers: Found canonical library: -lm compilers: Checking arg -shared-libgcc compilers: Unknown arg -shared-libgcc compilers: Checking arg Using compilers: Unknown arg Using compilers: Checking arg built-in compilers: Unknown arg built-in compilers: Checking arg specs. compilers: Unknown arg specs. compilers: Checking arg COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran compilers: Unknown arg COLLECT_GCC=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gfortran compilers: Checking arg COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper compilers: Unknown arg COLLECT_LTO_WRAPPER=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-pc-linux-gnu compilers: Unknown arg x86_64-pc-linux-gnu compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../gcc-8.3.0/configure compilers: Unknown arg ../gcc-8.3.0/configure compilers: Checking arg --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 compilers: Unknown arg --prefix=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 compilers: Checking arg --disable-multilib compilers: Unknown arg --disable-multilib compilers: Checking arg --enable-languages=c,c++,fortran compilers: Unknown arg --enable-languages=c,c++,fortran 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 gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 8.3.0 compilers: Unknown arg 8.3.0 compilers: Checking arg (GCC) compilers: Unknown arg (GCC) compilers: Checking arg Reading compilers: Unknown arg Reading compilers: Checking arg specs compilers: Unknown arg specs compilers: Checking arg from compilers: Unknown arg from compilers: Checking arg /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/libgfortran.spec compilers: Unknown arg /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/libgfortran.spec compilers: Checking arg rename compilers: Unknown arg rename compilers: Checking arg spec compilers: Unknown arg spec compilers: Checking arg lib compilers: Unknown arg lib compilers: Checking arg to compilers: Unknown arg to compilers: Checking arg liborig compilers: Unknown arg liborig compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg COMPILER_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/ compilers: Skipping arg COMPILER_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/ compilers: Checking arg LIBRARY_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/ compilers: Skipping arg LIBRARY_PATH=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/:/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2 compilers: Unknown arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/collect2 compilers: Checking arg -plugin compilers: Unknown arg -plugin compilers: Checking arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/liblto_plugin.so compilers: Unknown arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/liblto_plugin.so compilers: Checking arg -plugin-opt=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper compilers: Unknown arg -plugin-opt=/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper compilers: Checking arg -plugin-opt=-fresolution=/tmp/ccQBBUh6.res compilers: Unknown arg -plugin-opt=-fresolution=/tmp/ccQBBUh6.res compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lquadmath compilers: Unknown arg -plugin-opt=-pass-through=-lquadmath compilers: Checking arg -plugin-opt=-pass-through=-lm compilers: Unknown arg -plugin-opt=-pass-through=-lm compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc compilers: Checking arg -plugin-opt=-pass-through=-lpthread compilers: Unknown arg -plugin-opt=-pass-through=-lpthread compilers: Checking arg -plugin-opt=-pass-through=-lc compilers: Unknown arg -plugin-opt=-pass-through=-lc compilers: Checking arg -plugin-opt=-pass-through=-lgcc_s compilers: Unknown arg -plugin-opt=-pass-through=-lgcc_s compilers: Checking arg -plugin-opt=-pass-through=-lgcc compilers: Unknown arg -plugin-opt=-pass-through=-lgcc 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-xj8i2x7y/config.compilers/conftest compilers: Unknown arg /tmp/petsc-xj8i2x7y/config.compilers/conftest compilers: Checking arg /lib/../lib64/crt1.o compilers: Unknown arg /lib/../lib64/crt1.o compilers: Checking arg /lib/../lib64/crti.o compilers: Unknown arg /lib/../lib64/crti.o compilers: Checking arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o compilers: Unknown arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtbegin.o compilers: Checking arg -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Already in lflags so skipping: -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Checking arg -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0 compilers: Found library directory: -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 compilers: Checking arg -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc compilers: Found library directory: -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc compilers: Checking arg -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64/../lib64 compilers: Found library directory: -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 compilers: Checking arg -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../lib64 compilers: Found library directory: -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 compilers: Checking arg -L/lib/../lib64 compilers: Checking arg -L/usr/lib/../lib64 compilers: Checking arg -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 compilers: Already in lflags so skipping: -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 compilers: Checking arg -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../.. compilers: Found library directory: -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib compilers: Checking arg /tmp/petsc-xj8i2x7y/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-xj8i2x7y/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -rpath compilers: Found -rpath library: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib compilers: Checking arg --enable-new-dtags compilers: Unknown arg --enable-new-dtags compilers: Checking arg -lmpi_usempif08 compilers: Already in lflags: -lmpi_usempif08 compilers: Checking arg -lmpi_usempi_ignore_tkr compilers: Already in lflags: -lmpi_usempi_ignore_tkr compilers: Checking arg -lmpi_mpifh compilers: Already in lflags: -lmpi_mpifh compilers: Checking arg -lmpi compilers: Already in lflags: -lmpi compilers: Checking arg -lgfortran compilers: Found library: -lgfortran compilers: Checking arg -lm compilers: Found library: -lm compilers: Checking arg -lgcc_s compilers: Found library: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg -lquadmath compilers: Found library: -lquadmath compilers: Checking arg -lm compilers: Already in lflags: -lm compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg -lpthread compilers: Found library: -lpthread compilers: Checking arg -lc compilers: Found system library therefore skipping: -lc compilers: Checking arg -lgcc_s compilers: Already in lflags: -lgcc_s compilers: Checking arg -lgcc compilers: Found system library therefore skipping: -lgcc compilers: Checking arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtend.o compilers: Unknown arg /gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/../lib/gcc/x86_64-pc-linux-gnu/8.3.0/crtend.o compilers: Checking arg /lib/../lib64/crtn.o compilers: Unknown arg /lib/../lib64/crtn.o compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Libraries needed to link Fortran code with the C linker: ['-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] compilers: Libraries needed to link Fortran main with the C linker: [] compilers: Check that Fortran libraries can be used with Fortran as the linker Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C as the linker Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C++ as linker Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Testing executable /tmp/petsc-xj8i2x7y/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.setCompilers/conftest compilers: Fortran libraries can be used from C++ ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1298) Check that Fortran can link C++ libraries Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/cxxobj.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/compilers.py:1489) Sets the selected compilers into the framework Not checking for library in Download OPENMPI: [] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [] ['-lstdc++'] Checking for headers [] in Download OPENMPI: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkVersion from config.packages.OpenMPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version For openmpi unable to find version information since includes and version includes are missing skipping version check ============================================================================================= TESTING: checkSharedLibrary from config.packages.OpenMPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.OpenMPI took 10.214491 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPICH(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MPICH(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.MPICH took 0.000885 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:920) Calls the regular package configureLibrary and then does an additional test needed by MPI ================================================================================== Checking for a functional MPI Checking for library in Package specific search directory MPI: [] Contents of /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0: ['include', 'bin', 'tmp', 'etc', 'lib', 'share', 'sbin', 'src'] Contents /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/: ['include', 'bin', 'tmp', 'etc', 'lib', 'share', 'sbin', 'src'] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_MPI_Init(void) { MPI_Init(); } char MPI_Comm_create(void); static void _check_MPI_Comm_create(void) { MPI_Comm_create(); } int main(void) { _check_MPI_Init(); _check_MPI_Comm_create(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_MPI_Init(void) { MPI_Init(); } char MPI_Comm_create(void); static void _check_MPI_Comm_create(void) { MPI_Comm_create(); } void dummy(void) {_check_MPI_Init(); _check_MPI_Comm_create();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl Checking for headers ['mpi.h'] in Package specific search directory MPI: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['mpi.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Defined "HAVE_MPI_F90MODULE_VISIBILITY" to "1" ============================================================================================= TESTING: checkMPIDistro from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:721) Determine if MPICH_NUMVERSION, OMPI_MAJOR_VERSION or MSMPI_VER exist in mpi.h Used for consistency checking of MPI installation at compile time Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:25: error: ‘I_MPI_VERSION’ undeclared here (not in a function); did you mean ‘MPI_VERSION’? const char *mpich_ver = I_MPI_VERSION; ^~~~~~~~~~~~~ MPI_VERSION Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:25: error: ‘I_MPI_VERSION’ undeclared here (not in a function); did you mean ‘MPI_VERSION’? const char *mpich_ver = I_MPI_VERSION; ^~~~~~~~~~~~~ MPI_VERSION Source: #include "confdefs.h" #include "conffix.h" #include const char *mpich_ver = I_MPI_VERSION; int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:17: error: ‘I_MPI_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? int mpich_ver = I_MPI_NUMVERSION; ^~~~~~~~~~~~~~~~ MPI_SUBVERSION Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:17: error: ‘I_MPI_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? int mpich_ver = I_MPI_NUMVERSION; ^~~~~~~~~~~~~~~~ MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = I_MPI_NUMVERSION; int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:17: error: ‘MVAPICH2_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? int mpich_ver = MVAPICH2_NUMVERSION; ^~~~~~~~~~~~~~~~~~~ MPI_SUBVERSION Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:17: error: ‘MVAPICH2_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? int mpich_ver = MVAPICH2_NUMVERSION; ^~~~~~~~~~~~~~~~~~~ MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MVAPICH2_NUMVERSION; int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:17: error: ‘MPICH_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? int mpich_ver = MPICH_NUMVERSION; ^~~~~~~~~~~~~~~~ MPI_SUBVERSION Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:17: error: ‘MPICH_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? int mpich_ver = MPICH_NUMVERSION; ^~~~~~~~~~~~~~~~ MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:1: error: unknown type name ‘MPI_NEC_Function’; did you mean ‘MPI_Copy_function’? MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; ^~~~~~~~~~~~~~~~ MPI_Copy_function /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:22: error: ‘MPI_NEC_FUNCTION_NULL’ undeclared here (not in a function); did you mean ‘MPI_SESSION_NULL’? MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; ^~~~~~~~~~~~~~~~~~~~~ MPI_SESSION_NULL Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:1: error: unknown type name ‘MPI_NEC_Function’; did you mean ‘MPI_Copy_function’? MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; ^~~~~~~~~~~~~~~~ MPI_Copy_function /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:4:22: error: ‘MPI_NEC_FUNCTION_NULL’ undeclared here (not in a function); did you mean ‘MPI_SESSION_NULL’? MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; ^~~~~~~~~~~~~~~~~~~~~ MPI_SESSION_NULL Source: #include "confdefs.h" #include "conffix.h" #include MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int ompi_major = OMPI_MAJOR_VERSION; int ompi_minor = OMPI_MINOR_VERSION; int ompi_release = OMPI_RELEASE_VERSION; int main(void) { return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include int ompi_major = OMPI_MAJOR_VERSION; int ompi_minor = OMPI_MINOR_VERSION; int ompi_release = OMPI_RELEASE_VERSION; Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Defined "HAVE_OMPI_MAJOR_VERSION" to "5" Defined "HAVE_OMPI_MINOR_VERSION" to "0" Defined "HAVE_OMPI_RELEASE_VERSION" to "2" ============================================================================================= TESTING: configureMPI2 from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:395) Check for functions added to the interface in MPI-2 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int a,b,c,d,flag,sendbuf[1]={1},recvbuf[1]={2}; MPI_Datatype newtype; if (MPI_Allreduce(MPI_IN_PLACE,0,1,MPI_INT,MPI_SUM,MPI_COMM_SELF)) return 0; if (MPI_Finalized(&flag)) return 0; if (MPI_Type_dup(MPI_INT,&newtype)) return 0; if (MPI_Exscan(sendbuf,recvbuf,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD)) return 0; if (MPI_Reduce_scatter(sendbuf,recvbuf,sendbuf,MPI_INT,MPI_SUM,MPI_COMM_WORLD)) return 0; if (MPI_Type_get_envelope(MPI_INT,&a,&b,&c,&d)) return 0; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:6:1: warning: ‘MPI_Comm_errhandler_fn’ is deprecated: MPI_Comm_errhandler_fn was deprecated in MPI-2.2; use MPI_Comm_errhandler_function instead [-Wdeprecated-declarations] MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)) { } ^~~~~~~~~~~~~~~~~~~~~~ Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:6:1: warning: ‘MPI_Comm_errhandler_fn’ is deprecated: MPI_Comm_errhandler_fn was deprecated in MPI-2.2; use MPI_Comm_errhandler_function instead [-Wdeprecated-declarations] MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)) { } ^~~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_REDUCE_LOCAL" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_GET_LIBRARY_VERSION" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int base[100]; MPI_Win win = 0; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_WIN_CREATE" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int ptr[1] = {0}; MPI_Win win = 0; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_ONE_SIDED" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int provided; if (MPI_Init_thread(0,0,MPI_THREAD_FUNNELED,&provided)) return 0; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_INIT_THREAD" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int sendbuf[2] = {1,2}; int recvbuf[1]; if (MPI_Reduce_scatter_block(sendbuf,recvbuf,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD)) return 0; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_REDUCE_SCATTER_BLOCK" to "1" ============================================================================================= TESTING: configureMPI3 from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:454) Check for functions added to the interface in MPI-3 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_PROCESS_SHARED_MEMORY" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_FEATURE_DYNAMIC_WINDOW" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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)) return 0; if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)) return 0; if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)) return 0; if (MPI_Iallreduce(&send,&recv,1,MPI_INT,MPI_SUM,MPI_COMM_WORLD,&req)) return 0; if (MPI_Ibarrier(MPI_COMM_WORLD,&req)) return 0; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_NONBLOCKING_COLLECTIVES" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_NEIGHBORHOOD_COLLECTIVES" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:7:3: error: #error This Open MPI is not CUDA-aware #error This Open MPI is not CUDA-aware ^~~~~ Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:7:3: error: #error This Open MPI is not CUDA-aware #error This Open MPI is not CUDA-aware ^~~~~ Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MPIX_CUDA_AWARE_SUPPORT) && MPIX_CUDA_AWARE_SUPPORT #else #error This Open MPI is not CUDA-aware #endif int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int ptr[1] = {0}; MPI_Win win = 0; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_GET_ACCUMULATE" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int ptr[1]; MPI_Win win = 0; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)) { } return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_RGET" to "1" ============================================================================================= TESTING: configureMPI4 from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:522) Check for functions added to the interface in MPI-4 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:11:11: warning: implicit declaration of function ‘MPI_Send_c’; did you mean ‘MPI_Send’? [-Wimplicit-function-declaration] if (MPI_Send_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD)) return 1; ^~~~~~~~~~ MPI_Send /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:12:11: warning: implicit declaration of function ‘MPI_Send_init_c’; did you mean ‘MPI_Send_init’? [-Wimplicit-function-declaration] if (MPI_Send_init_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~~~~~ MPI_Send_init /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:13:11: warning: implicit declaration of function ‘MPI_Isend_c’; did you mean ‘MPI_Isend’? [-Wimplicit-function-declaration] if (MPI_Isend_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~ MPI_Isend /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:14:11: warning: implicit declaration of function ‘MPI_Recv_c’; did you mean ‘MPI_Recv’? [-Wimplicit-function-declaration] if (MPI_Recv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&stat)) return 1; ^~~~~~~~~~ MPI_Recv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:15:11: warning: implicit declaration of function ‘MPI_Recv_init_c’; did you mean ‘MPI_Recv_init’? [-Wimplicit-function-declaration] if (MPI_Recv_init_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~~~~~ MPI_Recv_init /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:16:11: warning: implicit declaration of function ‘MPI_Irecv_c’; did you mean ‘MPI_Irecv’? [-Wimplicit-function-declaration] if (MPI_Irecv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~ MPI_Irecv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:17:11: warning: implicit declaration of function ‘MPI_Neighbor_alltoallv_c’; did you mean ‘MPI_Neighbor_alltoallv’? [-Wimplicit-function-declaration] if (MPI_Neighbor_alltoallv_c(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD)) return 1; ^~~~~~~~~~~~~~~~~~~~~~~~ MPI_Neighbor_alltoallv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:18:11: warning: implicit declaration of function ‘MPI_Ineighbor_alltoallv_c’; did you mean ‘MPI_Ineighbor_alltoallv’? [-Wimplicit-function-declaration] if (MPI_Ineighbor_alltoallv_c(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~~~~~~~~~~~~~~~ MPI_Ineighbor_alltoallv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:19:9: warning: implicit declaration of function ‘MPI_Reduce_local_c’; did you mean ‘MPI_Reduce_local’? [-Wimplicit-function-declaration] if (MPI_Reduce_local_c(0,0,0,MPI_INT,MPI_SUM)) return 1; ^~~~~~~~~~~~~~~~~~ MPI_Reduce_local Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:11:11: warning: implicit declaration of function ‘MPI_Send_c’; did you mean ‘MPI_Send’? [-Wimplicit-function-declaration] if (MPI_Send_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD)) return 1; ^~~~~~~~~~ MPI_Send /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:12:11: warning: implicit declaration of function ‘MPI_Send_init_c’; did you mean ‘MPI_Send_init’? [-Wimplicit-function-declaration] if (MPI_Send_init_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~~~~~ MPI_Send_init /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:13:11: warning: implicit declaration of function ‘MPI_Isend_c’; did you mean ‘MPI_Isend’? [-Wimplicit-function-declaration] if (MPI_Isend_c(buf,count,MPI_INT,dest,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~ MPI_Isend /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:14:11: warning: implicit declaration of function ‘MPI_Recv_c’; did you mean ‘MPI_Recv’? [-Wimplicit-function-declaration] if (MPI_Recv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&stat)) return 1; ^~~~~~~~~~ MPI_Recv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:15:11: warning: implicit declaration of function ‘MPI_Recv_init_c’; did you mean ‘MPI_Recv_init’? [-Wimplicit-function-declaration] if (MPI_Recv_init_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~~~~~ MPI_Recv_init /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:16:11: warning: implicit declaration of function ‘MPI_Irecv_c’; did you mean ‘MPI_Irecv’? [-Wimplicit-function-declaration] if (MPI_Irecv_c(buf,count,MPI_INT,source,tag,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~ MPI_Irecv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:17:11: warning: implicit declaration of function ‘MPI_Neighbor_alltoallv_c’; did you mean ‘MPI_Neighbor_alltoallv’? [-Wimplicit-function-declaration] if (MPI_Neighbor_alltoallv_c(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD)) return 1; ^~~~~~~~~~~~~~~~~~~~~~~~ MPI_Neighbor_alltoallv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:18:11: warning: implicit declaration of function ‘MPI_Ineighbor_alltoallv_c’; did you mean ‘MPI_Ineighbor_alltoallv’? [-Wimplicit-function-declaration] if (MPI_Ineighbor_alltoallv_c(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD,&req)) return 1; ^~~~~~~~~~~~~~~~~~~~~~~~~ MPI_Ineighbor_alltoallv /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:19:9: warning: implicit declaration of function ‘MPI_Reduce_local_c’; did you mean ‘MPI_Reduce_local’? [-Wimplicit-function-declaration] if (MPI_Reduce_local_c(0,0,0,MPI_INT,MPI_SUM)) return 1; ^~~~~~~~~~~~~~~~~~ MPI_Reduce_local Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { 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; if (MPI_Neighbor_alltoallv_c(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD)) return 1; if (MPI_Ineighbor_alltoallv_c(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD,&req)) return 1; if (MPI_Reduce_local_c(0,0,0,MPI_INT,MPI_SUM)) return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o: In function `main': conftest.c:(.text.startup+0x3e): undefined reference to `MPI_Send_c' conftest.c:(.text.startup+0x78): undefined reference to `MPI_Send_init_c' conftest.c:(.text.startup+0x9e): undefined reference to `MPI_Isend_c' conftest.c:(.text.startup+0xca): undefined reference to `MPI_Recv_c' conftest.c:(.text.startup+0xf3): undefined reference to `MPI_Recv_init_c' conftest.c:(.text.startup+0x11d): undefined reference to `MPI_Irecv_c' conftest.c:(.text.startup+0x140): undefined reference to `MPI_Neighbor_alltoallv_c' conftest.c:(.text.startup+0x166): undefined reference to `MPI_Ineighbor_alltoallv_c' conftest.c:(.text.startup+0x187): undefined reference to `MPI_Reduce_local_c' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o: In function `main': conftest.c:(.text.startup+0x3e): undefined reference to `MPI_Send_c' conftest.c:(.text.startup+0x78): undefined reference to `MPI_Send_init_c' conftest.c:(.text.startup+0x9e): undefined reference to `MPI_Isend_c' conftest.c:(.text.startup+0xca): undefined reference to `MPI_Recv_c' conftest.c:(.text.startup+0xf3): undefined reference to `MPI_Recv_init_c' conftest.c:(.text.startup+0x11d): undefined reference to `MPI_Irecv_c' conftest.c:(.text.startup+0x140): undefined reference to `MPI_Neighbor_alltoallv_c' conftest.c:(.text.startup+0x166): undefined reference to `MPI_Ineighbor_alltoallv_c' conftest.c:(.text.startup+0x187): undefined reference to `MPI_Reduce_local_c' collect2: error: ld returned 1 exit status Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:9:11: warning: ‘info’ is used uninitialized in this function [-Wuninitialized] if (MPI_Neighbor_alltoallv_init(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD,info,&req)) return 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Possible ERROR while running compiler:exit code 0 stderr: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c:9:11: warning: ‘info’ is used uninitialized in this function [-Wuninitialized] if (MPI_Neighbor_alltoallv_init(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD,info,&req)) return 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { MPI_Request req; MPI_Info info; if (MPI_Neighbor_alltoallv_init(0,0,0,MPI_INT,0,0,0,MPI_INT,MPI_COMM_WORLD,info,&req)) return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_PERSISTENT_NEIGHBORHOOD_COLLECTIVES" to "1" ============================================================================================= TESTING: configureMPIX from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:560) Check for experimental functions added by MPICH or Open MPI as MPIX ============================================================================================= TESTING: configureMPIEXEC from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:201) Checking for location of mpiexec Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec...found Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec...found Running Executable with threads to time it out at 120 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec -n 1 printenv stdout: LMOD_FAMILY_COMPILER_VERSION=8.3.0 MANPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/share/man:/opt/slurm/share/man:/scinet/niagara/software/2019b/lmod/8.7.7/share/man::/scinet/niagara/share/man RSNT_ARCH=avx512 _ModuleTable003_=ID0gImdjYyIsCndWID0gIl4wMDAwMDAwOC4wMDAwMDAwMDMuKnpmaW5hbCIsCn0sCn0sCm1wYXRoQSA9IHsKIi9zY2luZXQvbmlhZ2FyYS9zb2Z0d2FyZS8yMDE5Yi9tb2R1bGVzL2djYy04LjMuMCIsICIvc2NpbmV0L25pYWdhcmEvc29mdHdhcmUvMjAxOWIvbW9kdWxlcy9iYXNlIiwgIi9zY2luZXQvbmlhZ2FyYS9zdGFja3MiLAp9LApzeXN0ZW1CYXNlTVBBVEggPSAiL3NjaW5ldC9uaWFnYXJhL3N0YWNrcyIsCn0K HOSTNAME=s4h-login01.scinet.local SHELL=/bin/bash APPTAINER_INSTANCE=shelltainer-modelics SLURM_EXPORT_ENV=ALL LMOD_FAMILY_ENV_VERSION=2019b APPTAINER_COMMAND=exec __LMOD_REF_COUNT_MODULEPATH=/scinet/niagara/software/2019b/modules/gcc-8.3.0:1;/scinet/niagara/software/2019b/modules/base:1;/scinet/niagara/stacks:1 TERM=xterm-256color PROJECT=/your.group.does.not.have.a.project.allocation.on.Niagara/ LMOD_FAMILY_ENV=NiaEnv HISTSIZE=1000 LMOD_ROOT=/scinet/niagara/software/2019b/lmod MODULEPATH_ROOT=/scinet/niagara/software/2019b/modules SSH_CLIENT=128.100.241.68 59851 22 LMOD_SYSTEM_DEFAULT_MODULES= LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 LMOD_PACKAGE_PATH=/scinet/niagara/etc/lmodconfig LMOD_PKG=/scinet/niagara/software/2019b/lmod/lmod LMOD_SHORT_TIME=86400 LMOD_VERSION=8.7.7 SSH_TTY=/dev/pts/0 __LMOD_REF_COUNT_CMAKE_PREFIX_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4:1;/scinet/niagara/software/2019b/opt/base/gcc/8.3.0:1 USER=modelics USER_PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: LD_LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64:/opt/slurm/lib64:/scinet/niagara/software/2019b/core/lib64:/.singularity.d/libs:/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib LMOD_sys=Linux SBATCH_RESERVATION=s4h_test SBATCH_PARTITION=compute_s4h SCINET_GCC_ROOT=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 SINGULARITY_NAME=image.sif NIAHOME=/gpfs/fs1/home/t/triverio/modelics CPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/include TMOUT=1800 MAKELEVEL=3 COLUMNS=184 SALLOC_PARTITION=compute_s4h MFLAGS=-s SCANCEL_VERBOSE=T SCINET_ONCE=yes SACCT_FORMAT=JobID%12,User,Account%15,AllocNodes%10,Start,End,Elapsed,AllocTRES%30,CPUTime,NodeList,ExitCode,State%11 _ModuleTable001_=X01vZHVsZVRhYmxlXyA9IHsKTVR2ZXJzaW9uID0gMywKY19yZWJ1aWxkVGltZSA9IGZhbHNlLApjX3Nob3J0VGltZSA9IGZhbHNlLApkZXB0aFQgPSB7fSwKZmFtaWx5ID0gewpjb21waWxlciA9ICJnY2MiLAplbnYgPSAiTmlhRW52IiwKfSwKbVQgPSB7Ck5pYUVudiA9IHsKZm4gPSAiL3NjaW5ldC9uaWFnYXJhL3N0YWNrcy9OaWFFbnYvMjAxOWIubHVhIiwKZnVsbE5hbWUgPSAiTmlhRW52LzIwMTliIiwKbG9hZE9yZGVyID0gMSwKcHJvcFQgPSB7Cmxtb2QgPSB7CnN0aWNreSA9IDEsCn0sCn0sCnN0YWNrRGVwdGggPSAwLApzdGF0dXMgPSAiYWN0aXZlIiwKdXNlck5hbWUgPSAiTmlhRW52IiwKd1YgPSAiXjAwMDAyMDE5LipiLip6ZmluYWwiLAp9LApjbWFrZSA9IHsKZm4g PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin:/opt/slurm/bin:/scinet/niagara/software/2019b/core/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/scinet/niagara/bin:/usr/lpp/mmfs/bin MAIL=/var/spool/mail/modelics APPTAINER_APPNAME= RSNT_INTERCONNECT=infiniband SLURM_CONF=/opt/slurm/etc/slurm.conf APPTAINER_ENVIRONMENT=/.singularity.d/env/91-environment.sh _=/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec PWD=/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 APPTAINER_NAME=image.sif _LMFILES_=/scinet/niagara/stacks/NiaEnv/2019b.lua:/scinet/niagara/software/2019b/modules/base/gcc/8.3.0:/scinet/niagara/software/2019b/modules/base/cmake/3.21.4 LANG=en_US.UTF-8 MODULEPATH=/scinet/niagara/software/2019b/modules/gcc-8.3.0:/scinet/niagara/software/2019b/modules/base:/scinet/niagara/stacks _ModuleTable_Sz_=3 LOADEDMODULES=NiaEnv/2019b:gcc/8.3.0:cmake/3.21.4 SINGULARITY_ENVIRONMENT=/.singularity.d/env/91-environment.sh APPTAINER_CONTAINER=/gpfs/fs1/scinet/s4h/shelltainer/image.sif LINES=30 LMOD_CMD=/scinet/niagara/software/2019b/lmod/lmod/libexec/lmod SSH_USER_AUTH=publickey: ED25519 SHA256:uYBLCphudmGsL8nl8gYzvRXdmHWq/nJ/pzvNnBm73RA, keyboard-interactive SINGULARITY_BIND= LMOD_AVAIL_STYLE= SQUEUE_FORMAT=%.15i %.15u %.14a %.14j %.3t %.10L %P %.5D %.4C %N (%r) HISTCONTROL=ignoredups HOME=/home/t/triverio/modelics SHLVL=3 __LMOD_REF_COUNT_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin:1;/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin:1;/opt/slurm/bin:1;/scinet/niagara/software/2019b/core/bin:1;/usr/local/sbin:1;/usr/local/bin:2;/usr/sbin:1;/usr/bin:2;/sbin:1;/bin:1;/scinet/niagara/bin:1;/usr/lpp/mmfs/bin:1 __LMOD_REF_COUNT_CPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/include:1 _ModuleTable002_=PSAiL3NjaW5ldC9uaWFnYXJhL3NvZnR3YXJlLzIwMTliL21vZHVsZXMvYmFzZS9jbWFrZS8zLjIxLjQiLApmdWxsTmFtZSA9ICJjbWFrZS8zLjIxLjQiLApsb2FkT3JkZXIgPSAzLApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMCwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1lID0gImNtYWtlIiwKd1YgPSAiMDAwMDAwMDAzLjAwMDAwMDAyMS4wMDAwMDAwMDQuKnpmaW5hbCIsCn0sCmdjYyA9IHsKZm4gPSAiL3NjaW5ldC9uaWFnYXJhL3NvZnR3YXJlLzIwMTliL21vZHVsZXMvYmFzZS9nY2MvOC4zLjAiLApmdWxsTmFtZSA9ICJnY2MvOC4zLjAiLApsb2FkT3JkZXIgPSAyLApwcm9wVCA9IHt9LApzdGFja0RlcHRoID0gMCwKc3RhdHVzID0gImFjdGl2ZSIsCnVzZXJOYW1l BBUFFER=/you.do.not.have.burst.buffer.space/ BASH_ENV=/scinet/niagara/etc/profile.d/bashenv LOGNAME=modelics MODULE_CMAKE_PREFIX=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4 LMOD_SHELL_PRGM=bash SSH_CONNECTION=128.100.241.68 59851 142.1.250.242 22 SINGULARITY_INSTANCE=shelltainer-modelics __LMOD_REF_COUNT_LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64:1 CLUSTER=niagara LMOD_RC=/scinet/niagara/etc/lmodrc.lua MODULESHOME=/scinet/niagara/software/2019b/lmod/lmod __LMOD_REF_COUNT_ACLOCAL_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/share/aclocal:1 LESSOPEN=||/usr/bin/lesspipe.sh %s __LMOD_REF_COUNT_LD_LIBRARY_PATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64:1;/opt/slurm/lib64:1;/scinet/niagara/software/2019b/core/lib64:1;/.singularity.d/libs:1 LMOD_SETTARG_FULL_SUPPORT=no ARCH=x86_64 LMOD_FAMILY_COMPILER=gcc SINGULARITY_CONTAINER=/gpfs/fs1/scinet/s4h/shelltainer/image.sif CC_CLUSTER=niagara ACLOCAL_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/share/aclocal CMAKE_PREFIX_PATH=/scinet/niagara/software/2019b/opt/base/cmake/3.21.4:/scinet/niagara/software/2019b/opt/base/gcc/8.3.0 APPTAINER_BIND= RSNT_CPU_VENDOR_ID=intel LMOD_DIR=/scinet/niagara/software/2019b/lmod/lmod/libexec __LMOD_REF_COUNT_MANPATH=/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/share/man:1;/opt/slurm/share/man:1;/scinet/niagara/software/2019b/lmod/8.7.7/share/man:1;/scinet/niagara/share/man:1 SALLOC_RESERVATION=s4h_test SCRATCH=/scratch/t/triverio/modelics BASH_FUNC_sbatch()=() { command sbatch --export=NONE "$@" } BASH_FUNC_module()=() { if [ "$*" = "--force purge" ]; then [[ $LOADEDMODULES =~ (:|^)[a-zA-Z]*Env[^:]*(:|$) ]]; local modstack=${BASH_REMATCH[0]//:/}; eval $($LMOD_CMD bash "$@") && eval $($LMOD_CMD bash load $modstack); else if [ "${1:0:2}" = "lo" ]; then for mod in "${@:2}"; do eval $($LMOD_CMD bash load "$mod"); done; else eval $($LMOD_CMD bash "$@"); fi; fi } BASH_FUNC_ml()=() { eval "$($LMOD_DIR/ml_cmd "$@")" } OMPI_VERSION=5.0.2 OMPI_TOOL_NAME=mpiexec OMPI_LIBDIR_LOC=/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib OMPI_MCA_PREFIXES=mca,opal,ompi,atomic,memheap,scoll,spml,sshmem,bml,coll,fbtl,fcoll,fs,hook,io,mtl,op,osc,part,pml,sharedfp,topo,vprotocol,accelerator,allocator,backtrace,btl,dl,hwloc,if,installdirs,memchecker,memcpy,memory,mpool,patcher,rcache,reachable,shmem,smsc,threads,timer PRTE_LAUNCHED=1 PMIX_PARAM_FILE_PASSED=1 OPAL_USER_PARAMS_GIVEN=1 PMIX_NAMESPACE=prterun-s4h-login01-216996@1 PMIX_RANK=0 PMIX_SERVER_URI41=prterun-s4h-login01-216996@0.0;tcp4://172.16.211.53:50647 PMIX_SERVER_URI4=prterun-s4h-login01-216996@0.0;tcp4://172.16.211.53:50647 PMIX_SERVER_URI3=prterun-s4h-login01-216996@0.0;tcp4://172.16.211.53:50647 PMIX_SERVER_URI2=prterun-s4h-login01-216996@0.0;tcp4://172.16.211.53:50647 PMIX_SERVER_URI21=prterun-s4h-login01-216996@0.0;tcp4://172.16.211.53:50647 PMIX_SECURITY_MODE=native PMIX_BFROP_BUFFER_TYPE=PMIX_BFROP_BUFFER_NON_DESC PMIX_GDS_MODULE=ds21,ds12,hash PMIX_SERVER_TMPDIR=/tmp/prte.s4h-login01.3114689/dvm.216996 PMIX_SYSTEM_TMPDIR=/tmp PMIX_DSTORE_21_BASE_PATH=/tmp/prte.s4h-login01.3114689/dvm.216996/pmix_dstor_ds21_216996 PMIX_DSTORE_ESH_BASE_PATH=/tmp/prte.s4h-login01.3114689/dvm.216996/pmix_dstor_ds12_216996 OMPI_UNIVERSE_SIZE=16 OMPI_COMM_WORLD_SIZE=1 OMPI_WORLD_SIZE=1 OMPI_MCA_num_procs=1 OMPI_COMM_WORLD_LOCAL_SIZE=1 OMPI_WORLD_LOCAL_SIZE=1 OMPI_NUM_APP_CTX=1 OMPI_FILE_LOCATION=/tmp/prte.s4h-login01.3114689/dvm.216996/1/0 OMPI_MCA_initial_wdir=/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 OMPI_COMMAND=printenv OMPI_ARGV= OMPI_MCA_cpu_type=x86_64 OMPI_COMM_WORLD_RANK=0 OMPI_COMM_WORLD_LOCAL_RANK=0 OMPI_COMM_WORLD_NODE_RANK=0 PMIX_HOSTNAME=s4h-login01 PMIX_VERSION=4.2.8rc1 Defined "HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE" to "OMP" Defined make macro "MPIEXEC" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec --oversubscribe" Checking for program /usr/libexec/ApplicationFirewall/socketfilterfw...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/socketfilterfw...not found Unable to find programs: ['socketfilterfw'] in listing of the specific search path: ['/usr/libexec/ApplicationFirewall'] Warning accessing /usr/libexec/ApplicationFirewall gives errors: [Errno 2] No such file or directory: '/usr/libexec/ApplicationFirewall' Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/hostname...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/hostname...not found Checking for program /opt/slurm/bin/hostname...not found Checking for program /scinet/niagara/software/2019b/core/bin/hostname...not found Checking for program /usr/local/sbin/hostname...not found Checking for program /usr/local/bin/hostname...not found Checking for program /usr/sbin/hostname...not found Checking for program /usr/bin/hostname...found Defined make macro "HOSTNAME" to "hostname" Running Executable with threads to time it out at 60 Executing: hostname stdout: s4h-login01.scinet.local Return code from hostname: 0 Hostname works, running network checks Checking for program /sbin/ping...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ping...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/ping...not found Checking for program /opt/slurm/bin/ping...not found Checking for program /scinet/niagara/software/2019b/core/bin/ping...not found Checking for program /usr/local/sbin/ping...not found Checking for program /usr/local/bin/ping...not found Checking for program /usr/sbin/ping...not found Checking for program /usr/bin/ping...found Defined make macro "PING" to "ping" Running Executable with threads to time it out at 60 Executing: ping -c 2 s4h-login01.scinet.local stdout: ping: socket: Operation not permitted Exception: while running ping skipping ping check Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/host...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/host...not found Checking for program /opt/slurm/bin/host...not found Checking for program /scinet/niagara/software/2019b/core/bin/host...not found Checking for program /usr/local/sbin/host...not found Checking for program /usr/local/bin/host...not found Checking for program /usr/sbin/host...not found Checking for program /usr/bin/host...found Defined make macro "HOST" to "host" Running Executable with threads to time it out at 60 Executing: host s4h-login01.scinet.local stdout: s4h-login01.scinet.local has address 172.16.211.53 Return code from host: 0 Checking for program /usr/sbin/traceroute...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/traceroute...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/traceroute...not found Checking for program /opt/slurm/bin/traceroute...not found Checking for program /scinet/niagara/software/2019b/core/bin/traceroute...not found Checking for program /usr/local/sbin/traceroute...not found Checking for program /usr/local/bin/traceroute...not found Checking for program /usr/sbin/traceroute...not found Checking for program /usr/bin/traceroute...not found Checking for program /sbin/traceroute...not found Checking for program /bin/traceroute...not found Checking for program /scinet/niagara/bin/traceroute...not found Checking for program /usr/lpp/mmfs/bin/traceroute...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/traceroute...not found Unable to find programs: ['traceroute'] in listing of the specific search path: ['/usr/sbin'] /usr/sbin: login_duo duo_unix_support.sh sssctl sss_usermod sss_userdel sss_useradd sss_seed sss_override sss_obfuscate sss_groupshow sss_groupmod sss_groupdel sss_groupadd sss_debuglevel ipset show_gids set_irq_affinity_cpulist.sh fsck.nfs set_irq_affinity_bynode.sh semanage set_irq_affinity.sh ipmiconsole odp_stat.sh mlnx_tune ibacm mlnx_affinity ipmi-sensors-config ib2ib_setup hwloc-dump-hwdata compat_gid_gen ipmi-sensors common_irq_affinity.sh show_irq_affinity.sh cma_roce_tos ipmi-sel cma_roce_mode ipmi-raw sysctl_perf_tuning ipmi-power mlnx_bf_configure ipmi-ping mlnx-sf sldd.sh connectx_port_config show_irq_affinity_hints.sh setsebool osmtest setfiles opensm sestatus set_nodedesc.sh semodule ibswportwatch.pl restorecon ibqueryerrors.pl load_policy ibprintswitch.pl genhomedircon ipmi-pet fixfiles ibprintrt.pl setenforce ibprintca.pl selinuxexeccon ipmi-pef-config selinuxenabled ipmi-oem selinuxdefcon ipmi-locate selinuxconlist ipmi-fru selinux_restorecon ipmi-detect selabel_partial_match show_counters selabel_lookup_best_match setup_mr_cache.sh selabel_lookup ipmi-dcmi selabel_digest ipmi-console matchpathcon ipmi-config getsebool iblinkinfo.pl getenforce ibdiscover.pl avcstat ibdatacounts vendstat ibdatacounters smpquery ibcheckwidth smpdump ibcheckstate sminfo ibcheckportwidth saquery ibcheckportstate perfquery ibcheckport ibtracert ibchecknode ibsysstat ibchecknet ibswitches ibcheckerrs ibstatus ibcheckerrors ibstat mount.cvmfs ibrouters automount ibroute rmcpping ibqueryerrors ipmi-chassis-config ibportstate rmcp-ping ibping pef-config ibnodes ipmipower ibnetdiscover ipmi-chassis ibmirror ipmiping iblinkinfo ipmimonitoring ibidsverify.pl bmc-info ibhosts ipmidetect ibfindnodesusing.pl bmc-device ibclearerrors bmc-config ibccquery ibclearcounters rsyslogd ibccconfig update-pciids ether-wake setpci ibaddr lspci ibcacheedit sshd-keygen dump_lfts.sh tickadj dump_fts ntptime dump_mfts.sh ntpdc munged ntp-keygen create-munge-key start-statd mount.fuse3 sm-notify mount.fuse showmount ethtool rpcdebug unsquashfs rpc.nfsd mke2fs mkfs.ext4 mkfs.ext3 mkfs.ext2 rpc.mountd rpc.idmapd mksquashfs rpc.gssd nfsstat e2label tune2fs nfsiostat nfsidmap e2fsck fsck.ext4 fsck.ext3 fsck.ext2 nfsdcltrack mountstats exportfs blkmapd umount.nfs4 resize2fs umount.nfs mklost+found rpc.statd logsave osd_login filefrag mount.nfs4 e4defrag mount.nfs e2undo e2image e2freefrag dumpe2fs debugfs badblocks accessdb partprobe parted irqbalance check_lft_balance.pl sss_cache slattach rpcinfo route rpcbind plipconfig gssproxy nameif ntpdate mii-tool dhclient-script intel-microcode2ucode dhclient mii-diag crond iptunnel anacron ipmaddr usernetctl ifconfig sushell service ppp-watch netreport ifdown genhostid consoletype tracepath6 tracepath rdisc ping6 ifenslave clockdiff arping udevadm telinit shutdown runlevel reboot poweroff weak-modules rmmod modprobe modinfo lsmod insmod depmod dracut dmstats dmsetup dmfilemapd blkdeactivate kpartx zramctl wipefs switch_root swapon swapoff swaplabel sulogin sfdisk runuser rtcwake resizepart readprofile pivot_root partx nologin mkswap grubby unix_update fsck.cramfs unix_chkpwd fsck pwhistory_helper killall5 pam_timestamp_check applygnupgdefaults pam_tally2 findfs pam_console_apply addgnupghome mkhomedir_helper uuserver faillock create-cracklib-dict mkfs.minix packer cracklib-packer sim_server cracklib-format gss-server cracklib-check lusermod saslpasswd2 fdisk sasldblistusers2 luserdel chroot fdformat paperconfig delpart fuser ctrlaltdel request-key clock key.dns_resolver luseradd try-from chcpu tcpdmatch cfdisk tcpd blockdev safe_finger blkid tc mkfs.cramfs ss mkfs rtstat blkdiscard rtpr agetty rtmon addpart rtacct sysctl routel lsof vipw routef arp vigr rdma usermod nstat userdel lnstat useradd ip losetup ifstat pwunconv ifcfg pwconv genl sshd pwck devlink newusers ctstat grpunconv cbq ldattach bridge grpconv arpd grpck xtables-multi ntpq lpasswd iptables-save ntpd lnewusers iptables-restore hwclock lid iptables groupmod ip6tables-save lgroupmod ip6tables-restore sssd lgroupdel ip6tables groupmems setcap groupdel getpcaps groupadd getcap chpasswd capsh chgpasswd update-alternatives tcsd lgroupadd alternatives ifup lchage chkconfig adduser install-info init logrotate sefcontext_compile new-kernel-pkg iconvconfig iconvconfig.x86_64 installkernel cracklib-unpacker glibc_post_upgrade.x86_64 fstrim mkdict sln fsfreeze ldconfig hardlink zic fsck.minix zdump pidof build-locale-archive halt sys-unconfig ============================================================================================= ***** WARNING ***** mpiexec may not work on your system due to network issues. Perhaps you have VPN running whose network settings may not work with mpiexec or your network is misconfigured ============================================================================================= ============================================================================================= ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { MPI_Init(0,0); MPI_Finalize(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Testing executable /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest to see if it can be run Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec --oversubscribe -n 1 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest Running Executable with threads to time it out at 120 Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec --oversubscribe -n 1 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest ============================================================================================= TESTING: configureMPIEXEC_TAIL from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:190) Checking for location of mpiexec_tail Defined make macro "MPIEXEC_TAIL" to "" ============================================================================================= TESTING: configureMPITypes from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:606) Checking for MPI Datatype handles Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main(void) { 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" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main(void) { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); return 0; } Defined "HAVE_MPI_INT64_T" to "1" ============================================================================================= TESTING: SGIMPICheck from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:650) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_MPI_SGI_barrier(void) { MPI_SGI_barrier(); } int main(void) { _check_MPI_SGI_barrier(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status SGI MPI test failure ============================================================================================= TESTING: CxxMPICheck from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:660) Make sure C++ can compile and link Checking for header mpi.h Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/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(void) { int ierr; ierr = MPI_Finalize(); (void)ierr; } int main(void) { _check_MPI_Finalize(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl ============================================================================================= TESTING: FortranMPICheck from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:676) Make sure fortran include [mpif.h] and library symbols are found Checking for fortran mpi_init() Checking for functions [] in library [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" integer ierr call mpi_init(ierr) end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Checking for mpi.mod Checking for functions [] in library [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Defined "HAVE_MPI_F90MODULE" to "1" ============================================================================================= TESTING: configureIO from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:697) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)) { } MPI_File fh = 0; void *buf = 0; 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 = 0; MPI_Info info = 0; 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: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPIIO" to "1" ============================================================================================= TESTING: findMPIIncludeAndLib from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:810) Find MPI include paths and libraries from "mpicc -show" or Cray "cc --cray-print-opts=cflags/libs" and save. ============================================================================================= TESTING: PetscArchMPICheck from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MPI.py:894) Check that previously configured for MPI include files are not in the PETSC_ARCH directory Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int combiner = MPI_COMBINER_DUP;(void)combiner; return 0; } Defined "HAVE_MPI_COMBINER_DUP" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int combiner = MPI_COMBINER_CONTIGUOUS;(void)combiner; return 0; } Defined "HAVE_MPI_COMBINER_CONTIGUOUS" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int combiner = MPI_COMBINER_NAMED;(void)combiner; return 0; } Defined "HAVE_MPI_COMBINER_NAMED" to "1" ============================================================================================= TESTING: checkVersion from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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 const char *ver = "petscpkgver(" PetscXstr_(MPI_VERSION) ")"; Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib /tmp/petsc-xj8i2x7y/config.packages.MPI/conftest.c Found the raw version string: (" "3" ")" This is the processed version string: 3 For mpi need 2 <= 3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.MPI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.MPI took 3.841772 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zstd(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.zstd took 0.001296 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.yaml(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.yaml took 0.000737 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sprng(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.sprng took 0.000740 seconds Not a clone of PETSc or no Fortran compiler or fortran-bindings disabled, don't need Sowing child config.packages.sowing took 0.000325 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.revolve(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.revolve took 0.000790 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.radau5(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.radau5 took 0.000717 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.petsc4py(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/petsc4py.py:136) Adds rules for building petsc4py to PETSc makefiles 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.001072 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pami(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.pami took 0.000669 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opengles(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.opengles took 0.000649 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opencl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.opencl took 0.000642 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpi4py(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mpi4py took 0.000723 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpe(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mpe took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.memkind(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.memkind took 0.000645 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libmesh(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/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.001066 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.moose(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.moose took 0.000770 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libjpeg(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.libjpeg took 0.000723 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.gsl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.gsl took 0.000724 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ssl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/ssl.py:58) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.ssl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ssl took 0.000773 seconds child config.packages.gmsh took 0.000121 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.gmp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.gmp took 0.000714 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mpfr(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mpfr took 0.000714 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.giflib(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.giflib took 0.000713 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cub(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.cub took 0.000716 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ctetgen(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ctetgen took 0.000688 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.concurrencykit(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.concurrencykit took 0.000712 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cams(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.cams took 0.000708 seconds ============================================================================================= TESTING: locateC2html from config.packages.c2html(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/c2html.py:33) Determine location of c2html executable Looking for default C2html executable Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/c2html...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/c2html...not found Checking for program /opt/slurm/bin/c2html...not found Checking for program /scinet/niagara/software/2019b/core/bin/c2html...not found Checking for program /usr/local/sbin/c2html...not found Checking for program /usr/local/bin/c2html...not found Checking for program /usr/sbin/c2html...not found Checking for program /usr/bin/c2html...not found Checking for program /sbin/c2html...not found Checking for program /bin/c2html...not found Checking for program /scinet/niagara/bin/c2html...not found Checking for program /usr/lpp/mmfs/bin/c2html...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/c2html...not found child config.packages.c2html took 0.001072 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.boost(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.boost took 0.000736 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.silo(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.silo took 0.000722 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Random123(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Random123 took 0.000722 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PARTY(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.PARTY took 0.000721 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.NVSHMEM(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.NVSHMEM took 0.000633 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MatlabEngine(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.MatlabEngine took 0.000640 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Matlab(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Matlab took 0.000596 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Mathematica(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Mathematica took 0.000632 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.regex(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.regex(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1016) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(void); static void _check_regexec(void) { regexec(); } char regcomp(void); static void _check_regcomp(void) { regcomp(); } char regfree(void); static void _check_regfree(void) { regfree(); } int main(void) { _check_regexec(); _check_regcomp(); _check_regfree(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(void); static void _check_regexec(void) { regexec(); } char regcomp(void); static void _check_regcomp(void) { regcomp(); } char regfree(void); static void _check_regfree(void) { regfree(); } void dummy(void) {_check_regexec(); _check_regcomp(); _check_regfree();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl Checking for headers ['regex.h'] in Compiler specific search REGEX: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['regex.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['regex.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkVersion from config.packages.regex(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.regex took 0.271374 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libceed(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.libceed took 0.001289 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opengl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.opengl took 0.000672 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.glut(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.glut took 0.000658 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.GLVis(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.GLVis took 0.000728 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.CoDiPack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.CoDiPack took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.adblaslapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.adblaslapack took 0.000722 seconds child config.packages.cxxlibs took 0.000030 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.szlib(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.szlib took 0.000740 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zlib(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.zlib(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.zlib took 0.000722 seconds child config.packages.mathlib took 0.000023 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.tetgen(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.tetgen took 0.000735 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.tchem(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.tchem took 0.000725 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.saws(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.saws took 0.000733 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.libpng(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.libpng took 0.000722 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Triangle(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Triangle took 0.000712 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.KS(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.KS took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Chaco(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Chaco took 0.000716 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hdf5(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.hdf5(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.hdf5 took 0.000733 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ascem-io(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ascem-io took 0.000723 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pflotran(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.pflotran took 0.000685 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SAMRAI(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.SAMRAI took 0.000720 seconds child config.packages.flibs took 0.000012 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pnetcdf(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.pnetcdf took 0.000727 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.netcdf(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.netcdf took 0.000722 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.fblaslapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.fblaslapack took 0.000711 seconds ============================================================================================= TESTING: locateCMake from config.packages.cmake(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/cmake.py:54) Looking for default CMake executable Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/cmake...found Defined make macro "CMAKE" to "/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/cmake" Looking for default CTest executable Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ctest...found Defined make macro "CTEST" to "/scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ctest" Executing: /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/cmake --version stdout: cmake version 3.21.4 CMake suite maintained and supported by Kitware (kitware.com/cmake). CMake version found 3.21.4 child config.packages.cmake took 0.013905 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.unittestcpp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.unittestcpp took 0.001398 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.muparser(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.muparser took 0.000775 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hcephes(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.hcephes took 0.000772 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.googletest(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.googletest took 0.000774 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.opencascade(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.opencascade(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.opencascade(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1016) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional opencascade Looking for OPENCASCADE at git.opencascade, hg.opencascade or a directory starting with ['opencascade'] Found a copy of OPENCASCADE in git.opencascade Executing: ['git', 'rev-parse', '--git-dir'] stdout: .git Executing: ['git', 'cat-file', '-e', 'f136d2a3ac89b3203affef1f04da6fde9d60bf7e^{commit}'] Executing: ['git', 'rev-parse', 'f136d2a3ac89b3203affef1f04da6fde9d60bf7e'] stdout: f136d2a3ac89b3203affef1f04da6fde9d60bf7e Executing: ['git', 'cat-file', '-e', 'origin/f136d2a3ac89b3203affef1f04da6fde9d60bf7e^{commit}'] stdout: fatal: Not a valid object name origin/f136d2a3ac89b3203affef1f04da6fde9d60bf7e^{commit} Executing: ['git', '-c', 'user.name=petsc-configure', '-c', 'user.email=petsc@configure', 'stash'] stdout: No local changes to save Executing: ['git', 'clean', '-f', '-d', '-x'] stdout: Removing opencascade.petscconf Removing pkg.gitcommit Executing: ['git', 'checkout', '-f', 'f136d2a3ac89b3203affef1f04da6fde9d60bf7e'] stdout: HEAD is now at f136d2a3a [OCE-PATCH] Fix private linkng of external libs in opencascade Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 500 Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx...found Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Removing configure arguments ['-TP'] Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90...found Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected Non-Microsoft Windows native compiler Makefile /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/lib/petsc/conf/pkg.conf.opencascade has correct checksum Commit file /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/lib/petsc/conf/pkg.gitcommit.opencascade has correct checksum Do not need to rebuild OPENCASCADE Not checking for library in Download OPENCASCADE: ['-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', 'libTKXSBase.a', 'libTKSTEPBase.a', 'libTKSTEPAttr.a', 'libTKSTEP209.a', 'libTKSTEP.a', 'libTKIGES.a', 'libTKGeomAlgo.a', 'libTKTopAlgo.a', 'libTKPrim.a', 'libTKBO.a', 'libTKBool.a', 'libTKHLR.a', 'libTKFillet.a', 'libTKOffset.a', 'libTKFeat.a', 'libTKMesh.a', 'libTKXMesh.a', 'libTKShHealing.a', 'libTKG2d.a', 'libTKG3d.a', 'libTKGeomBase.a', 'libTKBRep.a', 'libTKernel.a', 'libTKMath.a'] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 ['-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', 'libTKXSBase.a', 'libTKSTEPBase.a', 'libTKSTEPAttr.a', 'libTKSTEP209.a', 'libTKSTEP.a', 'libTKIGES.a', 'libTKGeomAlgo.a', 'libTKTopAlgo.a', 'libTKPrim.a', 'libTKBO.a', 'libTKBool.a', 'libTKHLR.a', 'libTKFillet.a', 'libTKOffset.a', 'libTKFeat.a', 'libTKMesh.a', 'libTKXMesh.a', 'libTKShHealing.a', 'libTKG2d.a', 'libTKG3d.a', 'libTKGeomBase.a', 'libTKBRep.a', 'libTKernel.a', 'libTKMath.a'] ['-lstdc++'] Checking for headers ['opencascade/Standard_Version.hxx'] in Download OPENCASCADE: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['opencascade/Standard_Version.hxx'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CXXPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib /tmp/petsc-xj8i2x7y/config.headers/conftest.cc Preprocess output before filtering: Preprocess output after filtering: Found header files ['opencascade/Standard_Version.hxx'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkVersion from config.packages.opencascade(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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 "opencascade/Standard_Version.hxx" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s const char *ver = "petscpkgver(" PetscXstr_(OCC_VERSION_COMPLETE) ")"; Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -E -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.opencascade -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib /tmp/petsc-xj8i2x7y/config.packages.opencascade/conftest.cc Found the raw version string: (" "\"7.5.0\"" ")" This is the processed version string: 7.5.0 For opencascade need 7.5.0 <= 7.5.0 <= Looking for OPENCASCADE at git.opencascade, hg.opencascade or a directory starting with ['opencascade'] Found a copy of OPENCASCADE in git.opencascade Looking for OPENCASCADE at git.opencascade, hg.opencascade or a directory starting with ['opencascade'] Found a copy of OPENCASCADE in git.opencascade ============================================================================================= TESTING: checkSharedLibrary from config.packages.opencascade(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.opencascade took 1.814334 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.combblas(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.combblas took 0.000892 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.cgns(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.cgns took 0.000751 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.amgx(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.amgx(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.amgx took 0.000728 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.alquimia(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.alquimia took 0.000696 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.exodusii(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.exodusii took 0.000725 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.eigen(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.eigen took 0.000736 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.grid(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.grid(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.grid took 0.000737 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.metis(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.metis(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.metis took 0.000722 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pragmatic(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.pragmatic took 0.000725 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.parmetis(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.parmetis(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.parmetis took 0.000717 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.netlib-lapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.netlib-lapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.netlib-lapack took 0.000723 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pthread(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.pthread(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/pthread.py:19) Checks for pthread_barrier_t ================================================================================== Checking for a functional pthread Checking for library in Compiler specific search PTHREAD: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_pthread_create(void) { pthread_create(); } int main(void) { _check_pthread_create(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/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(void); static void _check_pthread_create(void) { pthread_create(); } void dummy(void) {_check_pthread_create();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -ldl Checking for headers ['pthread.h'] in Compiler specific search PTHREAD: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['pthread.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['pthread.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.pthread/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.pthread/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { pthread_barrier_t *a; (void)a; return 0; } ============================================================================================= TESTING: checkVersion from config.packages.pthread(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.pthread took 0.318897 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.egads(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.egads took 0.000861 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PTScotch(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.PTScotch took 0.000801 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mmg(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mmg took 0.000772 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.parmmg(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.parmmg took 0.000778 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Zoltan(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Zoltan took 0.000765 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ADIOS(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ADIOS took 0.000740 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.openmp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.openmp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.openmp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/openmp.py:20) Checks for OpenMP compiler flags Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -qopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c stdout: gcc: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? Possible ERROR while running compiler: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -qopenmp gcc: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? PETSc Error: No output file produced Rejecting compiler flag -qopenmp due to nonzero status from link Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp Preprocessing source: #include "confdefs.h" #include "conffix.h" #if defined(_OPENMP) ompv=_OPENMP #else #error "No _OPENMP macro for CC, something is wrong with the OpenMP install" #endif Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -fopenmp /tmp/petsc-xj8i2x7y/config.packages.openmp/conftest.c Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -ldl Valid C linker flag -fopenmp Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -qopenmp -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc stdout: g++: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? Possible ERROR while running compiler: exit code 1 stderr: g++: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -qopenmp g++: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? PETSc Error: No output file produced Rejecting compiler flag -qopenmp due to nonzero status from link Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -fopenmp -std=gnu++17 -fPIC /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -fopenmp Preprocessing source: #include "confdefs.h" #include "conffix.h" #if defined(_OPENMP) ompv=_OPENMP #else #error "No _OPENMP macro for CXX, something is wrong with the OpenMP install" #endif Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -fopenmp /tmp/petsc-xj8i2x7y/config.packages.openmp/conftest.c Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -qopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 stdout: gfortran: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -qopenmp gfortran: error: unrecognized command line option ‘-qopenmp’; did you mean ‘-fopenmp’? PETSc Error: No output file produced Rejecting compiler flag -qopenmp due to nonzero status from link Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp Preprocessing source: #include "confdefs.h" #include "conffix.h" #if defined(_OPENMP) ompv=_OPENMP #else #error "No _OPENMP macro for FC, something is wrong with the OpenMP install" #endif Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -fopenmp /tmp/petsc-xj8i2x7y/config.packages.openmp/conftest.c ================================================================================== Checking for a functional openmp Not checking for library in Compiler specific search OPENMP: [] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [] [] Checking for headers ['omp.h'] in Compiler specific search OPENMP: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['omp.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.openmp -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['omp.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkVersion from config.packages.openmp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.openmp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.openmp took 0.352309 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.viennacl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.viennacl took 0.001337 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.zfp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.zfp(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.zfp took 0.000776 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ColPack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ColPack took 0.000785 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ADOLC(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ADOLC took 0.000756 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.openblas(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.openblas took 0.000747 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.blis(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.blis took 0.000772 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.f2cblaslapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.f2cblaslapack took 0.000737 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:506) Looking for BLAS/LAPACK in user specified directory: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl Files and directories in that directory: ['include', 'bin', 'tools', 'interfaces', 'lib', 'examples', 'benchmarks'] Files and directories in that directory: ['include', 'bin', 'tools', 'interfaces', 'lib', 'examples', 'benchmarks'] ================================================================================ Checking for BLAS and LAPACK in User specified MATLAB [ILP64] MKL Linux lib dir ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/glnxa64/mkl.so', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/sys/os/glnxa64/libiomp5.so', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/glnxa64 for first library:mkl.s Directory of requested libraries /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/glnxa64 does not exist Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/glnxa64/mkl.so', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/sys/os/glnxa64/libiomp5.so', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/glnxa64 for first library:mkl.s Directory of requested libraries /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/glnxa64 does not exist Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in User specified MATLAB [ILP64] MKL macOS lib dir ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/maci64/mkl.dylib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/sys/os/maci64/libiomp5.dylib', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/maci64 for first library:mkl.dyli Directory of requested libraries /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/maci64 does not exist Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/maci64/mkl.dylib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/sys/os/maci64/libiomp5.dylib', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/maci64 for first library:mkl.dyli Directory of requested libraries /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/bin/maci64 does not exist Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in User specified MKL11/12 and later ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/libmkl_intel_lp64.a', 'mkl_core', 'mkl_intel_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl for first library:libmkl_intel_lp64. Files in directory:['include', 'bin', 'tools', 'interfaces', 'lib', 'examples', 'benchmarks'] Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/libmkl_intel_lp64.a', 'mkl_core', 'mkl_intel_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl for first library:libmkl_intel_lp64. Files in directory:['include', 'bin', 'tools', 'interfaces', 'lib', 'examples', 'benchmarks'] Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in User specified MKL11/12 and later ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl for first library:libmkl_intel_lp64. Files in directory:['include', 'bin', 'tools', 'interfaces', 'lib', 'examples', 'benchmarks'] Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl for first library:libmkl_intel_lp64. Files in directory:['include', 'bin', 'tools', 'interfaces', 'lib', 'examples', 'benchmarks'] Unknown name mangling in BLAS/LAPACK MKL Path not found.. skipping: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/64 MKL Path not found.. skipping: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/ia64 MKL Path not found.. skipping: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/em64t Files and directories in that directory: ['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] ================================================================================ Checking for BLAS and LAPACK in User specified MKL11/12 Linux32 ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_intel_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(void); static void _check_ddot_(void) { ddot_(); } int main(void) { _check_ddot_(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_intel_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(void); static void _check_ddot(void) { ddot(); } int main(void) { _check_ddot(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in User specified MKL11/12 Linux32 for static linking (Cray) ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['-Wl,--start-group', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_intel_thread', '-Wl,--end-group', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(void); static void _check_ddot_(void) { ddot_(); } int main(void) { _check_ddot_(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,--start-group -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -Wl,--end-group -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['-Wl,--start-group', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_intel_thread', '-Wl,--end-group', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(void); static void _check_ddot(void) { ddot(); } int main(void) { _check_ddot(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,--start-group -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -Wl,--end-group -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_fini' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_flush' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_8u' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_for_static_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_fork_call' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_next_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_push_num_threads' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_alloc' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_barrier' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_global_thread_num' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_4' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_critical' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_omp_task_with_deps' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_master' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_fini_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_dispatch_init_8' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_fixed8_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_cmplx4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_ok_to_fork' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_single' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_ordered' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_end_reduce_nowait' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_serialized_parallel' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float4_add' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_atomic_float8_max' /scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_thread.so: undefined reference to `__kmpc_reduce' collect2: error: ld returned 1 exit status Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in User specified MKL11/12 Linux32 ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:114) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(void); static void _check_ddot_(void) { ddot_(); } int main(void) { _check_ddot_(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(void); static void _check_ddot_(void) { ddot_(); } void dummy(void) {_check_ddot_();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBMKL_GNU_THREAD" to "1" Defined "HAVE_LIBPTHREAD" to "1" Checking for functions [dgetrs_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(void); static void _check_dgetrs_(void) { dgetrs_(); } int main(void) { _check_dgetrs_(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(void); static void _check_dgetrs_(void) { dgetrs_(); } void dummy(void) {_check_dgetrs_();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBMKL_GNU_THREAD" to "1" Defined "HAVE_LIBPTHREAD" to "1" Checking for functions [dgeev_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread'] ['libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(void); static void _check_dgeev_(void) { dgeev_(); } int main(void) { _check_dgeev_(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(void); static void _check_dgeev_(void) { dgeev_(); } void dummy(void) {_check_dgeev_();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBMKL_GNU_THREAD" to "1" Defined "HAVE_LIBPTHREAD" to "1" Found Fortran mangling on BLAS/LAPACK which is underscore Defined "BLASLAPACK_UNDERSCORE" to "1" ============================================================================================= TESTING: checkMKL from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:598) Check for Intel MKL library Checking for functions [mkl_set_num_threads] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/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(void); static void _check_mkl_set_num_threads(void) { mkl_set_num_threads(); } int main(void) { _check_mkl_set_num_threads(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/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(void); static void _check_mkl_set_num_threads(void) { mkl_set_num_threads(); } void dummy(void) {_check_mkl_set_num_threads();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBMKL_GNU_THREAD" to "1" Defined "HAVE_LIBPTHREAD" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBDL" to "1" Defined "HAVE_LIBMPI_USEMPIF08" to "1" Defined "HAVE_LIBMPI_USEMPI_IGNORE_TKR" to "1" Defined "HAVE_LIBMPI_MPIFH" to "1" Defined "HAVE_LIBMPI" to "1" Defined "HAVE_LIBGFORTRAN" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBGFORTRAN" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBGCC_S" to "1" Defined "HAVE_LIBQUADMATH" to "1" Defined "HAVE_LIBPTHREAD" to "1" Checking for functions [flexiblas_avail] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char flexiblas_avail(void); static void _check_flexiblas_avail(void) { flexiblas_avail(); } int main(void) { _check_flexiblas_avail(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `flexiblas_avail' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `flexiblas_avail' collect2: error: ld returned 1 exit status Defined "HAVE_MKL_LIBS" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c:3:10: fatal error: mkl_spblas.h: No such file or directory #include "mkl_spblas.h" ^~~~~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c:3:10: fatal error: mkl_spblas.h: No such file or directory #include "mkl_spblas.h" ^~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include "mkl_spblas.h" int main(void) { return 0; } MKL include path not automatically picked up by compiler. Trying to find mkl_spblas.h... ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['mkl_spblas.h'] in ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include'] Checking include with compiler flags var CPPFLAGS ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.openmp -fopenmp -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['mkl_spblas.h'] in ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include'] MKL mkl_spblas.h found at:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include MKL include path set to ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "mkl_version.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s const char *ver = "petscpkgver(" PetscXstr_(INTEL_MKL_VERSION) ")"; Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c Found the raw version string: (" "20190004" ")" This is the processed version string: 20190004 For blaslapack need <= 20190004 <= Defined "HAVE_MKL_INCLUDES" to "1" Defined "HAVE_MKL_SET_NUM_THREADS" to "1" ============================================================================================= TESTING: checklsame from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:712) Do the BLAS/LAPACK libraries have a valid lsame() function with correct binding. Checking for functions [lsame_] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(void); static void _check_lsame_(void) { lsame_(); } int main(void) { _check_lsame_(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(void); static void _check_lsame_(void) { lsame_(); } void dummy(void) {_check_lsame_();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Defined "HAVE_LIBMKL_INTEL_LP64" to "1" Defined "HAVE_LIBMKL_CORE" to "1" Defined "HAVE_LIBMKL_GNU_THREAD" to "1" Defined "HAVE_LIBPTHREAD" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBDL" to "1" Defined "HAVE_LIBMPI_USEMPIF08" to "1" Defined "HAVE_LIBMPI_USEMPI_IGNORE_TKR" to "1" Defined "HAVE_LIBMPI_MPIFH" to "1" Defined "HAVE_LIBMPI" to "1" Defined "HAVE_LIBGFORTRAN" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBGFORTRAN" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBGCC_S" to "1" Defined "HAVE_LIBQUADMATH" to "1" Defined "HAVE_LIBPTHREAD" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.setCompilers/libconftest.so -fopenmp -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.setCompilers/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl ============================================================================================= TESTING: checkRuntimeIssues from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/BlasLapack.py:771) Determines if BLAS/LAPACK routines use 32 or 64-bit integers 32-bit BLAS indices based on the BLAS/LAPACK library being used Checking if sdot() returns a float or a double ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main(void) { FILE *output = fopen("runtimetestoutput","w"); extern float sdot_(const int*,const float*,const int *,const float*,const int*); float x1[1] = {3.0}; int one1 = 1; long long int ione1 = 1; float sdotresult = 0; int blasint64 = 0; if (!blasint64) { sdotresult = sdot_(&one1,x1,&one1,x1,&one1); } else { sdotresult = sdot_((const int*)&ione1,x1,(const int*)&ione1,x1,(const int*)&ione1); } fprintf(output, "--known-sdot-returns-double=%d",sdotresult != 9); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Testing executable /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest Checking for sdot() return double: result 0 Checking if snrm() returns a float or a double ======== Checking running linked program Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main(void) { FILE *output = fopen("runtimetestoutput","w"); extern float snrm2_(const int*,const float*,const int*); float x2[1] = {3.0}; int one2 = 1; long long int ione2 = 1; float normresult = 0; int blasint64 = 0; if (!blasint64) { normresult = snrm2_(&one2,x2,&one2); } else { normresult = snrm2_((const int*)&ione2,x2,(const int*)&ione2); } fprintf(output, "--known-snrm2-returns-double=%d",normresult != 3); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Testing executable /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest Checking for snrm2() return double: result 0 Checking for functions [bli_thread_set_num_threads] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bli_thread_set_num_threads(void); static void _check_bli_thread_set_num_threads(void) { bli_thread_set_num_threads(); } int main(void) { _check_bli_thread_set_num_threads(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `bli_thread_set_num_threads' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `bli_thread_set_num_threads' collect2: error: ld returned 1 exit status Checking for functions [openblas_set_num_threads] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char openblas_set_num_threads(void); static void _check_openblas_set_num_threads(void) { openblas_set_num_threads(); } int main(void) { _check_openblas_set_num_threads(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `openblas_set_num_threads' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `openblas_set_num_threads' collect2: error: ld returned 1 exit status Checking for functions [APL_dgemm] in library ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] Checking directory of requested libraries:/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 for first library:libmkl_intel_lp64. Files in directory:['libmkl_cdft_core.a', 'libmkl_gnu_thread.so', 'libmkl_intel_lp64.a', 'libmkl_intel_thread.a', 'libmkl_blacs_intelmpi_lp64.so', 'libmkl_avx.so', 'libmkl_rt.so', 'libmkl_gf_lp64.a', 'libmkl_tbb_thread.so', 'libmkl_intel_ilp64.a', 'libmkl_vml_cmpt.so', 'libmkl_vml_avx.so', 'libmkl_intel_lp64.so', 'libmkl_blacs_sgimpt_ilp64.so', 'libmkl_blacs_intelmpi_lp64.a', 'locale', 'libmkl_lapack95_lp64.a', 'libmkl_vml_mc3.so', 'libmkl_blas95_lp64.a', 'libmkl_core.a', 'libmkl_gnu_thread.a', 'libmkl_scalapack_ilp64.so', 'libmkl_blacs_intelmpi_ilp64.so', 'libmkl_core.so', 'libmkl_blacs_sgimpt_lp64.so', 'libmkl_intel_ilp64.so', 'libmkl_avx2.so', 'libmkl_avx512_mic.so', 'libmkl_blacs_sgimpt_ilp64.a', 'libmkl_blacs_intelmpi_ilp64.a', 'libmkl_intel_thread.so', 'libmkl_vml_def.so', 'libmkl_vml_avx512_mic.so', 'libmkl_avx512.so', 'libmkl_scalapack_lp64.a', 'libmkl_blacs_openmpi_lp64.so', 'libmkl_gf_ilp64.so', 'libmkl_cdft_core.so', 'libmkl_mc3.so', 'libmkl_vml_avx2.so', 'libmkl_scalapack_ilp64.a', 'libmkl_blacs_openmpi_ilp64.so', 'libmkl_blacs_openmpi_lp64.a', 'libmkl_gf_ilp64.a', 'libmkl_vml_mc2.so', 'libmkl_sequential.so', 'libmkl_blas95_ilp64.a', 'libmkl_vml_avx512.so', 'libmkl_mc.so', 'libmkl_def.so', 'libmkl_gf_lp64.so', 'libmkl_vml_mc.so', 'libmkl_tbb_thread.a', 'libmkl_blacs_sgimpt_lp64.a', 'libmkl_blacs_openmpi_ilp64.a', 'libmkl_lapack95_ilp64.a', 'libmkl_scalapack_lp64.so', 'libmkl_sequential.a'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char APL_dgemm(void); static void _check_APL_dgemm(void) { APL_dgemm(); } int main(void) { _check_APL_dgemm(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `APL_dgemm' collect2: error: ld returned 1 exit status Possible ERROR while running linker: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.o: In function `main': conftest.c:(.text.startup+0x5): undefined reference to `APL_dgemm' collect2: error: ld returned 1 exit status ============================================================================================= TESTING: checkVersion from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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 "mkl_version.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s const char *ver = "petscpkgver(" PetscXstr_(INTEL_MKL_VERSION) ")"; Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.packages.BlasLapack/conftest.c Found the raw version string: (" "20190004" ")" This is the processed version string: 20190004 For blaslapack need <= 20190004 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.BlasLapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.BlasLapack took 4.640434 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.sundials2(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.sundials2 took 0.001406 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.spai(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/spai.py:53) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.spai(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.spai took 0.000823 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.raja(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.raja took 0.000767 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.pARMS(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.pARMS took 0.000758 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.p4est(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.p4est took 0.000761 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_sparse_optimize(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.mkl_sparse_optimize(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/mkl_sparse_optimize.py:52) ================================================================================== Checking for a functional mkl_sparse_optimize Checking for library in Compiler specific search MKL_SPARSE_OPTIMIZE: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [mkl_sparse_optimize mkl_sparse_s_create_bsr] in library [] ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_sparse_optimize(void); static void _check_mkl_sparse_optimize(void) { mkl_sparse_optimize(); } char mkl_sparse_s_create_bsr(void); static void _check_mkl_sparse_s_create_bsr(void) { mkl_sparse_s_create_bsr(); } int main(void) { _check_mkl_sparse_optimize(); _check_mkl_sparse_s_create_bsr(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_sparse_optimize(void); static void _check_mkl_sparse_optimize(void) { mkl_sparse_optimize(); } char mkl_sparse_s_create_bsr(void); static void _check_mkl_sparse_s_create_bsr(void) { mkl_sparse_s_create_bsr(); } void dummy(void) {_check_mkl_sparse_optimize(); _check_mkl_sparse_s_create_bsr();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Checking for headers ['mkl.h', 'mkl_spblas.h'] in Compiler specific search MKL_SPARSE_OPTIMIZE: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['mkl.h', 'mkl_spblas.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['mkl.h', 'mkl_spblas.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkHaveUsableSp2m from config.packages.mkl_sparse_optimize(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/mkl_sparse_optimize.py:25) Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include sparse_request_t request = SPARSE_STAGE_FULL_MULT_NO_VAL; int main(void) { return 0; } Looking for mkl_sparse_sp2m() that is usable for MatMatMultSymbolic()/Numeric(): result 1 Defined "HAVE_MKL_SPARSE_SP2M_FEATURE" to "1" ============================================================================================= TESTING: checkMklSpblasDeprecated from config.packages.mkl_sparse_optimize(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/mkl_sparse_optimize.py:37) Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.c:4:11: error: expected ‘;’ before ‘void’ DEPRECATED void foo(); ^~~~~ ; Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.c:4:11: error: expected ‘;’ before ‘void’ DEPRECATED void foo(); ^~~~~ ; Source: #include "confdefs.h" #include "conffix.h" #include DEPRECATED void foo(); int main(void) { return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include MKL_DEPRECATED void foo(); int main(void) { return 0; } Checking to see if original MKL SpBLAS is declared deprecated: result 1 Defined "MKL_SPBLAS_DEPRECATED" to "1" ============================================================================================= TESTING: checkVersion from config.packages.mkl_sparse_optimize(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.mkl_sparse_optimize took 0.886518 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_sparse(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.mkl_sparse(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/mkl_sparse.py:25) ================================================================================== Checking for a functional mkl_sparse Checking for library in Compiler specific search MKL_SPARSE: [] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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 [mkl_dcsrmv] in library [] ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_dcsrmv(void); static void _check_mkl_dcsrmv(void) { mkl_dcsrmv(); } int main(void) { _check_mkl_dcsrmv(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_dcsrmv(void); static void _check_mkl_dcsrmv(void) { mkl_dcsrmv(); } void dummy(void) {_check_mkl_dcsrmv();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Checking for headers ['mkl.h', 'mkl_spblas.h'] in Compiler specific search MKL_SPARSE: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['mkl.h', 'mkl_spblas.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['mkl.h', 'mkl_spblas.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkVersion from config.packages.mkl_sparse(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.mkl_sparse took 0.638246 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_cpardiso(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/mkl_cpardiso.py:20) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mkl_cpardiso(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mkl_cpardiso took 0.001256 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.kokkos(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.kokkos took 0.000769 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.kokkos-kernels(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.kokkos-kernels took 0.000747 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.htool(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.htool took 0.000716 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hpl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.hpl(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.hpl took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.magma(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.magma took 0.000721 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.kblas(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.kblas took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.h2opus(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.h2opus took 0.000692 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.fftw(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.fftw took 0.000734 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.elemental(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.elemental took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.ml(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.ml took 0.000744 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_pardiso(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/mkl_pardiso.py:21) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mkl_pardiso(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mkl_pardiso took 0.000701 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SuperLU_DIST(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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_DIST(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.SuperLU_DIST took 0.000726 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SuperLU(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:990) Loop over declared dependencies of package and error if any are missing ============================================================================================= TESTING: configureLibrary from config.packages.SuperLU(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1016) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional SuperLU Looking for SUPERLU at git.superlu, hg.superlu or a directory starting with ['SuperLU'] Found a copy of SUPERLU in git.superlu Executing: ['git', 'rev-parse', '--git-dir'] stdout: .git Executing: ['git', 'cat-file', '-e', 'b814567e6cdeba61edffe45839a4043a46215c7a^{commit}'] Executing: ['git', 'rev-parse', 'b814567e6cdeba61edffe45839a4043a46215c7a'] stdout: b814567e6cdeba61edffe45839a4043a46215c7a Executing: ['git', 'cat-file', '-e', 'origin/b814567e6cdeba61edffe45839a4043a46215c7a^{commit}'] stdout: fatal: Not a valid object name origin/b814567e6cdeba61edffe45839a4043a46215c7a^{commit} Executing: ['git', '-c', 'user.name=petsc-configure', '-c', 'user.email=petsc@configure', 'stash'] stdout: No local changes to save Executing: ['git', 'clean', '-f', '-d', '-x'] stdout: Removing pkg.gitcommit Removing superlu.petscconf Executing: ['git', 'checkout', '-f', 'b814567e6cdeba61edffe45839a4043a46215c7a'] stdout: HEAD is now at b814567 Merge pull request #139 from prj-/jolivet/fix-undef Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc...found Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 500 Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx...found Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Removing configure arguments ['-TP'] Checking for program /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90...found Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Removing configure arguments {'-fvisibility=hidden'} Removing configure arguments {'-Wno-strict-aliasing', '-fsanitize=address', '-Wno-unused-variable', '--coverage', '-Mfree', '-std=c89', '-pedantic', '-fstack-protector', '-Werror', '-Wall', '-Wno-unused-dummy-argument', '-Wwrite-strings', '-Wno-unknown-pragmas', '-fdefault-integer-8'} Removing configure arguments {'--coverage'} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -V stdout: gfortran: error: unrecognized command line option ‘-V’ gfortran: fatal error: no input files compilation terminated. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 --version stdout: GNU Fortran (GCC) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Detected Non-Microsoft Windows native compiler Makefile /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/lib/petsc/conf/pkg.conf.superlu has correct checksum Commit file /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/lib/petsc/conf/pkg.gitcommit.superlu has correct checksum Do not need to rebuild SUPERLU Checking for library in Download SUPERLU: ['-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', 'libsuperlu.a'] Contents of /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0: ['include', 'bin', 'tmp', 'etc', 'lib', 'share', 'sbin', 'src'] Contents /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib: ['libTKIGES.so', 'libTKG2d.so.7.5.0', 'libmpi_mpifh.so.40', 'libmpi_usempi_ignore_tkr.so', 'libTKFeat.so', 'libevent_core.so', 'libTKBRep.so.7.5.0', 'libpmix.so', 'libTKShHealing.so.7', 'libTKMath.so.7.5.0', 'libTKSTEP209.so', 'libTKGeomBase.so.7.5.0', 'libTKOffset.so.7', 'libTKXMesh.so.7', 'libTKGeomAlgo.so', 'mpi_f08_callbacks.mod', 'libTKSTEP.so.7', 'libevent_extra-2.1.so.7', 'libTKFillet.so.7', 'mpi_types.mod', 'libTKIGES.so.7', 'libTKSTEP209.so.7.5.0', 'libTKernel.so.7.5.0', 'libpetsc.so', 'libTKPrim.so', 'libTKSTEP.so.7.5.0', 'libTKIGES.so.7.5.0', 'libopen-pal.so.80', 'libTKXSBase.so', 'libTKG2d.so.7', 'libTKPrim.so.7', 'mpi_f08_types.mod', 'libmpi_mpifh.so.40.40.0', 'libTKBRep.so.7', 'libmpi_usempi_ignore_tkr.la', 'libTKFillet.so', 'libTKGeomBase.so.7', 'libTKGeomAlgo.so.7', 'libsuperlu.so', 'libpmix.so.2.9.4', 'libevent_pthreads-2.1.so.7.0.1', 'libTKOffset.so', 'libopen-pal.so.80.0.2', 'libevent_core-2.1.so.7.0.1', 'libhwloc.so.15.5.3', 'libTKXMesh.so.7.5.0', 'libTKHLR.so', 'libTKXMesh.so', 'libTKTopAlgo.so.7', 'mpi_f08_interfaces_callbacks.mod', 'libTKMath.so', 'libevent_pthreads-2.1.so.7', 'libTKBO.so.7.5.0', 'libsuperlu.so.6.0.1', 'libmpi_usempif08.la', 'libevent_core.a', 'cmake', 'libpmix.so.2', 'libTKHLR.so.7', 'libTKMath.so.7', 'libevent.la', 'libTKG3d.so.7.5.0', 'libpetsc.so.3.21', 'libTKMesh.so.7.5.0', 'libTKGeomBase.so', 'libprrte.la', 'libTKG3d.so', 'mpi_f08.mod', 'libmpi_usempif08.so.40', 'libmpi_usempi_ignore_tkr.so.40', 'libhwloc.so', 'libTKFeat.so.7.5.0', 'openmpi', 'libopen-pal.so', 'libTKSTEP209.so.7', 'mpi.mod', 'libmpi_mpifh.so', 'libTKBRep.so', 'libevent-2.1.so.7.0.1', 'libopen-pal.la', 'libTKGeomAlgo.so.7.5.0', 'pmpi_f08_interfaces.mod', 'libmpi.so', 'libTKHLR.so.7.5.0', 'libpetsc.so.3.21.0', 'libTKSTEPBase.so.7', 'libevent_pthreads.so', 'libevent_pthreads.la', 'libTKG3d.so.7', 'petsc', 'libevent_extra.la', 'libTKSTEPAttr.so', 'libTKShHealing.so', 'libTKBool.so', 'libevent_extra-2.1.so.7.0.1', 'libTKTopAlgo.so.7.5.0', 'libhwloc.la', 'libTKMesh.so.7', 'libevent.so', 'libmpi_usempif08.so', 'libmpi_mpifh.la', 'libTKFillet.so.7.5.0', 'libTKBool.so.7', 'libTKMesh.so', 'libTKSTEPBase.so.7.5.0', 'libTKShHealing.so.7.5.0', 'libTKG2d.so', 'libTKXSBase.so.7.5.0', 'libsuperlu.so.6', 'libTKernel.so.7', 'libmpi_usempif08.so.40.40.1', 'pmix', 'libmpi_usempi_ignore_tkr.so.40.40.0', 'pkgconfig', 'libTKBO.so', 'libTKFeat.so.7', 'libhwloc.so.15', 'libTKernel.so', 'hwloc', 'libevent_core.la', 'libprrte.so.3', 'libmpi.so.40.40.2', 'libTKSTEPAttr.so.7', 'libevent.a', 'libTKOffset.so.7.5.0', 'libevent_extra.a', 'libTKTopAlgo.so', 'libTKBO.so.7', 'libpmix.la', 'libTKSTEPAttr.so.7.5.0', 'libTKSTEPBase.so', 'libTKPrim.so.7.5.0', 'libprrte.so.3.0.3', 'libevent_pthreads.a', 'libmpi.so.40', 'mpi_f08_interfaces.mod', 'libevent_extra.so', 'mpi_ext.mod', 'libTKXSBase.so.7', 'libevent-2.1.so.7', 'libTKBool.so.7.5.0', 'libmpi.la', 'libevent_core-2.1.so.7', 'mpi_f08_ext.mod', 'libTKSTEP.so', 'libprrte.so'] ============================================================================================= TESTING: check from config.libraries(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/libraries.py:186) 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] in library ['-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', 'libsuperlu.a'] ['/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64/libmkl_intel_lp64.a', 'mkl_core', 'mkl_gnu_thread', 'pthread', 'libm.a', '-ldl', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc', '-Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64', '-Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib', '-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/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(void); static void _check_set_default_options(void) { set_default_options(); } int main(void) { _check_set_default_options(); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/config.libraries/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lsuperlu -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/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(void); static void _check_set_default_options(void) { set_default_options(); } void dummy(void) {_check_set_default_options();} Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -c -o /tmp/petsc-xj8i2x7y/config.compilers/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -o /tmp/petsc-xj8i2x7y/config.compilers/conftest -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 /tmp/petsc-xj8i2x7y/config.compilers/conftest.o /tmp/petsc-xj8i2x7y/config.compilers/confc.o -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lsuperlu -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lm -ldl -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -ldl Defined "HAVE_LIBSUPERLU" to "1" Checking for headers ['slu_ddefs.h'] in Download SUPERLU: ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkInclude from config.headers(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/headers.py:89) Checks if a particular include file can be found along particular include paths Checking for header files ['slu_ddefs.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] Checking include with compiler flags var CPPFLAGS ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib', '/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include /tmp/petsc-xj8i2x7y/config.headers/conftest.c Preprocess output before filtering: Preprocess output after filtering: Found header files ['slu_ddefs.h'] in ['/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include', '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib'] ============================================================================================= TESTING: checkVersion from config.packages.SuperLU(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1173) 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 "slu_ddefs.h" #define PetscXstr_(s) PetscStr_(s) #define PetscStr_(s) #s const char *ver = "petscpkgver(" PetscXstr_(SUPERLU_MAJOR_VERSION.SUPERLU_MINOR_VERSION.SUPERLU_PATCH_VERSION) ")"; Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.packages.X -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.openmp -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.packages.SuperLU -fopenmp -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include /tmp/petsc-xj8i2x7y/config.packages.SuperLU/conftest.c Found the raw version string: (" "6.0.1" ")" This is the processed version string: 6.0.1 For superlu need 5.2.1 <= 6.0.1 <= Looking for SUPERLU at git.superlu, hg.superlu or a directory starting with ['SuperLU'] Found a copy of SUPERLU in git.superlu Looking for SUPERLU at git.superlu, hg.superlu or a directory starting with ['SuperLU'] Found a copy of SUPERLU in git.superlu ============================================================================================= TESTING: checkSharedLibrary from config.packages.SuperLU(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1086) By default we don't care about checking if the library is shared child config.packages.SuperLU took 1.378557 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.PaStiX(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.PaStiX took 0.000897 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.scalapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.scalapack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.scalapack took 0.000740 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.slate(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.slate(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.slate took 0.000740 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.butterflypack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.butterflypack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.butterflypack took 0.000740 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.strumpack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/strumpack.py:108) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.strumpack(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.strumpack took 0.000788 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MUMPS(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MUMPS.py:70) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MUMPS(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.MUMPS took 0.000881 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MOAB(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.MOAB took 0.000732 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.SuiteSparse(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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.SuiteSparse(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.SuiteSparse took 0.000719 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Chombo(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/Chombo.py:126) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Chombo(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Chombo took 0.000791 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hypre(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/hypre.py:185) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hypre(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.hypre took 0.000780 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.Trilinos(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.Trilinos took 0.000731 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.xSDKTrilinos(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.xSDKTrilinos took 0.000694 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.mstk(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1090) Called if --with-packagename=0; does nothing by default child config.packages.mstk took 0.000722 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.slepc(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/slepc.py:109) Defined make rule "slepc-build" with dependencies "" and code [] Defined make rule "slepc-install" with dependencies "" and code [] child config.packages.slepc took 0.001132 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.hpddm(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/hpddm.py:108) Defined make rule "hpddm-build" with dependencies "" and code [] Defined make rule "hpddm-install" with dependencies "" and code [] child config.packages.hpddm took 0.001072 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.bamg(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/bamg.py:94) Defined make rule "bamg-build" with dependencies "" and code [] Defined make rule "bamg-install" with dependencies "" and code [] child config.packages.bamg took 0.001083 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.MFEM(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/MFEM.py:243) Defined make rule "mfem-build" with dependencies "" and code [] Defined make rule "mfem-install" with dependencies "" and code [] child config.packages.MFEM took 0.001075 seconds ============================================================================================= TESTING: consistencyChecks from config.packages.AMReX(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/package.py:1094) 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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/BuildSystem/config/packages/AMReX.py:166) Adds rules for building AMReX to PETSc makefiles Defined make rule "amrex-build" with dependencies "" and code [] Defined make rule "amrex-install" with dependencies "" and code [] child config.packages.AMReX took 0.001110 seconds ============================================================================================= TESTING: configureRTLDDefault from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:770) Check for dynamic library feature Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c stdout: /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c:4:15: error: ‘RTLD_DEFAULT’ undeclared here (not in a function); did you mean ‘RTLD_LOCAL’? void *ptr = RTLD_DEFAULT; ^~~~~~~~~~~~ RTLD_LOCAL Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c:4:15: error: ‘RTLD_DEFAULT’ undeclared here (not in a function); did you mean ‘RTLD_LOCAL’? void *ptr = RTLD_DEFAULT; ^~~~~~~~~~~~ RTLD_LOCAL Source: #include "confdefs.h" #include "conffix.h" #include void *ptr = RTLD_DEFAULT; int main(void) { return 0; } ============================================================================================= TESTING: configurePrefetch from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:546) Sees if there are any prefetch functions supported Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { void *v = 0;_mm_prefetch((const char*)v,_MM_HINT_NTA); return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -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(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:614) Sees if __attribute((unused)) is supported Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/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(void) { int i = 0; int j = myfunc(&i); (void)j; typedef void* atype; __attribute((unused)) atype a; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Defined "UNUSED" to "__attribute((unused))" ============================================================================================= TESTING: configureDeprecated from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:632) Check if __attribute((deprecated)) is supported Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 80 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and multiple library search directories. -print-multi-os-directory Display the relative path to OS libraries. -print-sysroot Display the target libraries directory. -print-sysroot-headers-suffix Display the sysroot suffix used to find headers. -Wa, Pass comma-separated on to the assembler. -Wp, Pass comma-separated on to the preprocessor. -Wl, Pass comma-separated on to the linker. -Xassembler Pass on to the assembler. -Xpreprocessor Pass on to the preprocessor. -Xlinker Pass on to the linker. -save-temps Do not delete intermediate files. -save-temps= Do not delete intermediate files. -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components. -pipe Use pipes rather than intermediate files. -time Time the execution of each subprocess. -specs= Override built-in specs with the contents of . -std= Assume that the input sources are for . --sysroot= Use as the root directory for headers and libraries. -B Add to the compiler's search paths. -v Display the programs invoked by the compiler. -### Like -v but options quoted and commands not executed. -E Preprocess only; do not compile, assemble or link. -S Compile only; do not assemble or link. -c Compile and assemble, but do not link. -o Place the output into . -pie Create a dynamically linked position independent executable. -shared Create a shared library. -x Specify the language of the following input files. Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension. Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gcc. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define DEPRECATED_FUNCTION_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) DEPRECATED_FUNCTION_BASE("asdasdadsasd") int myfunc(void) { return 1; } int main(void) { return 0; } configureDeprecated: '__attribute__((deprecated(string_literal_why)))' appears to work Defined "DEPRECATED_FUNCTION_BASE(string_literal_why)" to "__attribute__((deprecated(string_literal_why)))" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define DEPRECATED_TYPEDEF_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) typedef int my_int DEPRECATED_TYPEDEF_BASE("asdasdadsasd"); int main(void) { return 0; } configureDeprecated: '__attribute__((deprecated(string_literal_why)))' appears to work Defined "DEPRECATED_TYPEDEF_BASE(string_literal_why)" to "__attribute__((deprecated(string_literal_why)))" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define DEPRECATED_ENUM_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) enum E { oldval DEPRECATED_ENUM_BASE("asdasdadsasd"), newval }; int main(void) { return 0; } configureDeprecated: '__attribute__((deprecated(string_literal_why)))' appears to work Defined "DEPRECATED_ENUM_BASE(string_literal_why)" to "__attribute__((deprecated(string_literal_why)))" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define DEPRECATED_OBJECT_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) DEPRECATED_OBJECT_BASE("asdasdadsasd") int x; int main(void) { return 0; } configureDeprecated: '__attribute__((deprecated(string_literal_why)))' appears to work Defined "DEPRECATED_OBJECT_BASE(string_literal_why)" to "__attribute__((deprecated(string_literal_why)))" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define TEST _Pragma("GCC warning "Testing _Pragma"") value int main(void) { return 0; } Defined "DEPRECATED_MACRO_BASE_(why)" to "_Pragma(#why)" Defined "DEPRECATED_MACRO_BASE(string_literal_why)" to "PETSC_DEPRECATED_MACRO_BASE_(GCC warning string_literal_why)" ============================================================================================= TESTING: configureIsatty from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:626) Check if the Unix C function isatty() works correctly Actually just assumes it does not work correctly on batch systems Defined "USE_ISATTY" to "1" ============================================================================================= TESTING: configureExpect from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:699) Sees if the __builtin_expect directive is supported Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { if (__builtin_expect(0,1)) return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Defined "HAVE_BUILTIN_EXPECT" to "1" ============================================================================================= TESTING: configureAlign from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:683) Check if __attribute(aligned) is supported Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/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(void) { return 0; } Defined "ATTRIBUTEALIGNED(size)" to "__attribute((aligned(size)))" Defined "HAVE_ATTRIBUTEALIGNED" to "1" ============================================================================================= TESTING: configureFunctionName from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:706) Sees if the compiler supports __func__ or a variant. Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { if (__func__[0] != 'm') return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { if (__func__[0] != 'm') return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Defined "FUNCTION_NAME_C" to "__func__" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { if (__func__[0] != 'm') return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(void) { if (__func__[0] != 'm') return 1; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Defined "FUNCTION_NAME_CXX" to "__func__" ============================================================================================= TESTING: configureIntptrt from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:724) Determine what to use for uintptr_t and intptr_t Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int x; uintptr_t i = (uintptr_t)&x; (void)i; return 0; } Defined "UINTPTR_T" to "uintptr_t" Defined "UINTPTR_T_FMT" to ""#" PRIxPTR" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int x; intptr_t i = (intptr_t)&x; (void)i; return 0; } Defined "INTPTR_T" to "intptr_t" Defined "INTPTR_T_FMT" to ""#" PRIxPTR" ============================================================================================= TESTING: configureSolaris from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:776) Solaris specific stuff ============================================================================================= TESTING: configureLinux from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:798) Linux specific stuff Defined "HAVE_DOUBLE_ALIGN_MALLOC" to "1" ============================================================================================= TESTING: configureDarwin from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:789) Log brew configuration for Apple systems Executing: ['brew', 'config'] stdout: [Errno 2] No such file or directory: 'brew': 'brew' ============================================================================================= TESTING: configureWin32 from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:804) Win32 non-cygwin specific stuff Checking for functions [GetComputerName] in library ['Kernel32.lib'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName(void) { GetComputerName(NULL,NULL);; } int main(void) { _check_GetComputerName(); return 0; } Compile failed inside link Checking for functions [GetComputerName] in library ['kernel32'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName(void) { GetComputerName(NULL,NULL);; } int main(void) { _check_GetComputerName(); return 0; } Compile failed inside link Checking for functions [GetUserName] in library ['Advapi32.lib'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName(void) { GetUserName(NULL,NULL);; } int main(void) { _check_GetUserName(); return 0; } Compile failed inside link Checking for functions [GetUserName] in library ['advapi32'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName(void) { GetUserName(NULL,NULL);; } int main(void) { _check_GetUserName(); return 0; } Compile failed inside link Checking for functions [GetDC] in library ['User32.lib'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC(void) { GetDC(0);; } int main(void) { _check_GetDC(); return 0; } Compile failed inside link Checking for functions [GetDC] in library ['user32'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC(void) { GetDC(0);; } int main(void) { _check_GetDC(); return 0; } Compile failed inside link Checking for functions [CreateCompatibleDC] in library ['Gdi32.lib'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC(void) { CreateCompatibleDC(0);; } int main(void) { _check_CreateCompatibleDC(); return 0; } Compile failed inside link Checking for functions [CreateCompatibleDC] in library ['gdi32'] [] Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/config.libraries/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/config.libraries/conftest.c stdout: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC(void) { CreateCompatibleDC(0);; } int main(void) { _check_CreateCompatibleDC(); return 0; } Compile failed inside link Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { uid_t u; (void)u; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if defined(PETSC_HAVE_UNISTD_H) #include #endif int main(void) { int a=R_OK; (void)a; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { int a=0; if (S_ISDIR(a)){} return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c stdout: /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c:3:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c:3:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { LARGE_INTEGER a; DWORD b=a.u.HighPart; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c stdout: /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c:3:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c:3:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include #include int main(void) { int flags = O_BINARY; return 0; } Defined "REPLACE_DIR_SEPARATOR" to "'\\'" Defined "DIR_SEPARATOR" to "'/'" Defined "DIR" to ""/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0"" Defined make macro "wPETSC_DIR" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0" Defined "ARCH" to """" ============================================================================================= TESTING: configureCygwinBrokenPipe from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:1243) 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 ============================================================================================= TESTING: configureDefaultArch from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:1259) ============================================================================================= TESTING: configureScript from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:1276) Output a script in the conf directory which will reproduce the configuration ============================================================================================= TESTING: configureInstall from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:1315) 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: configureAtoll from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:609) Checks if atoll exists Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main(void) { long v = atoll("25"); (void)v; return 0; } Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -ldl Defined "HAVE_ATOLL" to "1" ============================================================================================= TESTING: configureCoverage from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:991) Configure coverage for all available languages. If user did not request coverage, this function does nothing and returns immediatel. Therefore the following only apply to the case where the user requested coverage. On success: - defines PETSC_USE_COVERAGE to 1 On failure: - If no compilers supported the coverage flag, throws RuntimeError - configureCoverage(): coverage was disabled from command line or default ============================================================================================= TESTING: configureCoverageExecutable from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:1129) Check that a code-coverage collecting tool exists and is on PATH. On success: - Adds PETSC_COVERAGE_EXEC make macro containing the full path to the coverage tool executable. Raises RuntimeError if: - User explicitly requests auto-detection of the coverage tool from command line, and this routine fails to guess the suitable tool name. - The routine fails to find the tool, and --with-coverage is true checkCoverage: NOT required to find an executable checkCoverage: User did not explicitly set coverage exec (got 'default-auto'), trying to auto-detect based on compiler '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc' Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc --help | head -n 20 stdout: Usage: gcc [options] file... Options: -pass-exit-codes Exit with highest error code from a phase. --help Display this information. --target-help Display target specific command line options. --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]. Display specific types of command line options. (Use '-v --help' to display command line options of sub-processes). --version Display compiler version information. -dumpspecs Display all of the built in spec strings. -dumpversion Display the version of the compiler. -dumpmachine Display the compiler's target processor. -print-search-dirs Display the directories in the compiler's search path. -print-libgcc-file-name Display the name of the compiler's companion library. -print-file-name= Display the full path to library . -print-prog-name= Display the full path to compiler component . -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path. -print-multi-directory Display the root directory for versions of libgcc. -print-multi-lib Display the mapping between command line options and Detected GNU compiler checkCoverage: Searching version string 'gcc (GCC) 8.3.0' (for compiler '/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc') using pattern '[gG][cC\+\-]+[0-9]* \(.+\) (\d+)\.(\d+)\.(\d+)' checkCoverage: Found major = 8, minor = 3, patch = 0 checkCoverage: Checking for coverage tool(s): - gcov-8 - gcov-8.3 - gcov Checking for program gcov-8...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcov-8...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcov-8...not found Checking for program /opt/slurm/bin/gcov-8...not found Checking for program /scinet/niagara/software/2019b/core/bin/gcov-8...not found Checking for program /usr/local/sbin/gcov-8...not found Checking for program /usr/local/bin/gcov-8...not found Checking for program /usr/sbin/gcov-8...not found Checking for program /usr/bin/gcov-8...not found Checking for program /sbin/gcov-8...not found Checking for program /bin/gcov-8...not found Checking for program /scinet/niagara/bin/gcov-8...not found Checking for program /usr/lpp/mmfs/bin/gcov-8...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/gcov-8...not found Unable to find programs: ['gcov-8'] in listing of the specific search path: [''] Warning accessing gives errors: [Errno 2] No such file or directory: '' Checking for program gcov-8.3...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcov-8.3...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcov-8.3...not found Checking for program /opt/slurm/bin/gcov-8.3...not found Checking for program /scinet/niagara/software/2019b/core/bin/gcov-8.3...not found Checking for program /usr/local/sbin/gcov-8.3...not found Checking for program /usr/local/bin/gcov-8.3...not found Checking for program /usr/sbin/gcov-8.3...not found Checking for program /usr/bin/gcov-8.3...not found Checking for program /sbin/gcov-8.3...not found Checking for program /bin/gcov-8.3...not found Checking for program /scinet/niagara/bin/gcov-8.3...not found Checking for program /usr/lpp/mmfs/bin/gcov-8.3...not found Checking for program /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/lib/petsc/bin/win32fe/gcov-8.3...not found Unable to find programs: ['gcov-8.3'] in listing of the specific search path: [''] Warning accessing gives errors: [Errno 2] No such file or directory: '' Checking for program gcov...not found Checking for program /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/gcov...not found Checking for program /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcov...found Defined make macro "PETSC_COVERAGE_EXEC" to "/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcov" ============================================================================================= TESTING: configureStrictPetscErrorCode from PETSc.Configure(/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config/PETSc/Configure.py:1224) Enables or disables strict PetscErrorCode checking. If --with-strict-petscerrorcode = 1: - defines PETSC_USE_STRICT_PETSCERRORCODE to 1 Else: - deletes any prior PETSC_USE_STRICT_PETSCERRORCODE definitions (if they exist) ============================================================================================= Executing: CC -VV stdout: /bin/sh: CC: command not found Defined "USE_SOCKET_VIEWER" to "1" Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -c -o /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.o -I/tmp/petsc-xj8i2x7y/config.compilersFortran -I/tmp/petsc-xj8i2x7y/config.headers -I/tmp/petsc-xj8i2x7y/config.utilities.cacheDetails -I/tmp/petsc-xj8i2x7y/config.types -I/tmp/petsc-xj8i2x7y/config.functions -I/tmp/petsc-xj8i2x7y/config.utilities.featureTestMacros -I/tmp/petsc-xj8i2x7y/config.utilities.missing -I/tmp/petsc-xj8i2x7y/PETSc.options.sharedLibraries -I/tmp/petsc-xj8i2x7y/config.compilerFlags -I/tmp/petsc-xj8i2x7y/PETSc.options.scalarTypes -I/tmp/petsc-xj8i2x7y/config.packages.MPI -I/tmp/petsc-xj8i2x7y/config.packages.pthread -I/tmp/petsc-xj8i2x7y/config.setCompilers -I/tmp/petsc-xj8i2x7y/config.packages.BlasLapack -I/tmp/petsc-xj8i2x7y/config.compilers -I/tmp/petsc-xj8i2x7y/config.packages.mkl_sparse_optimize -I/tmp/petsc-xj8i2x7y/config.libraries -I/tmp/petsc-xj8i2x7y/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp /tmp/petsc-xj8i2x7y/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main(void) { setsockopt(0,SOL_SOCKET,SO_REUSEADDR,0,0); return 0; } Defined "HAVE_SO_REUSEADDR" to "1" ============================================================================================= Executing: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -show stdout: gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Defined "MPICC_SHOW" to ""gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi"" Defined make macro "CC_FLAGS" to " -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3" Defined "HAVE_CXX" to "1" Defined make macro "CXXPP_FLAGS" to " -fopenmp" Defined make macro "CXX_FLAGS" to " -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC" Defined make macro "CXX_LINKER" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx" Defined make macro "CXX_LINKER_FLAGS" to " -fopenmp -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3" Defined make macro "CPP_FLAGS" to " -fopenmp" Defined make macro "PCC" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Defined make macro "PCC_FLAGS" to "$(CC_FLAGS)" Defined make macro "CC_SUFFIX" to "o" Defined make macro "PCC_LINKER" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc" Defined make macro "PCC_LINKER_FLAGS" to " -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3" Defined make macro "CC_LINKER_SUFFIX" to "" Defined "USE_FORTRAN_BINDINGS" to "1" Defined make macro "FPP_FLAGS" to " -fopenmp" Defined make macro "FC_FLAGS" to " -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp" Defined make macro "FC_SUFFIX" to "o" Defined make macro "FC_LINKER" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90" Defined make macro "FC_LINKER_FLAGS" to " -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3" Defined make macro "FC_MODULE_FLAG" to "-I" Defined make macro "FC_MODULE_OUTPUT_FLAG" to "-J" Defined make macro "SL_LINKER" to "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/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 "complex" Defined make macro "PETSC_PRECISION" to "double" ============================================================================================= Defined "HAVE_SUPERLU" to "1" Defined make macro "SUPERLU_LIB" to "-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lsuperlu" Defined make macro "SUPERLU_INCLUDE" to "-I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include" Defined "HAVE_MKL_SPARSE" to "1" Defined make macro "MKL_SPARSE_LIB" to "" Defined make macro "MKL_SPARSE_INCLUDE" to "" Defined "HAVE_MKL_SPARSE_OPTIMIZE" to "1" Defined make macro "MKL_SPARSE_OPTIMIZE_LIB" to "" Defined make macro "MKL_SPARSE_OPTIMIZE_INCLUDE" to "" Defined make macro "BLASLAPACK_LIB" to "-Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread" Defined make macro "BLASLAPACK_INCLUDE" to "-I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include" Defined "HAVE_OPENMP" to "1" Defined make macro "OPENMP_LIB" to "" Defined make macro "OPENMP_INCLUDE" to "" Defined "HAVE_OPENMP" to "1" Defined make macro "OPENMP_LIB" to "" Defined make macro "OPENMP_INCLUDE" to "" Defined "HAVE_PTHREAD" to "1" Defined make macro "PTHREAD_LIB" to "" Defined make macro "PTHREAD_INCLUDE" to "" Defined "HAVE_OPENCASCADE" to "1" Defined make macro "OPENCASCADE_LIB" to "-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath" Defined make macro "OPENCASCADE_INCLUDE" to "-I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include" Defined "HAVE_MATHLIB" to "1" Defined make macro "MATHLIB_LIB" to "-lm" Defined make macro "MATHLIB_INCLUDE" to "" 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 "-I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include" Defined "HAVE_OPENMPI" to "1" Defined make macro "OPENMPI_LIB" to "" Defined make macro "OPENMPI_INCLUDE" to "" Defined "HAVE_X" to "1" Defined make macro "X_LIB" to "-lX11" Defined make macro "X_INCLUDE" to "" Defined make macro "PETSC_EXTERNAL_LIB_BASIC" to "-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -lsuperlu -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath -lm -lX11 -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl" Defined make macro "PETSC_CC_INCLUDES" to "-I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/include -I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include" Defined make macro "PETSC_CC_INCLUDES_INSTALL" to "-I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include" Defined make macro "PETSC_FC_INCLUDES" to "-I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/include -I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include" Defined make macro "PETSC_FC_INCLUDES_INSTALL" to "-I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include" Defined "LIB_DIR" to ""/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib"" Defined "USE_SINGLE_LIBRARY" to "1" Defined make macro "LIBNAME" to "${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX}" Defined make macro "SHLIBS" to "libpetsc" Defined make macro "PETSC_WITH_EXTERNAL_LIB" to "-Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -lpetsc -lsuperlu -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath -lm -lX11 -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl" Defined make macro "PETSC_SYS_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_VEC_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_MAT_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_DM_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_KSP_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_SNES_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TS_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TAO_LIB" to "${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_LIB" to "${PETSC_TAO_LIB}" Defined make macro "PETSC_LIB_BASIC" to "-lpetsc" Defined make macro "CONFIGURE_OPTIONS" to "PETSC_ARCH=config-release --with-scalar-type=complex --with-fortran-kernels=1 --with-debugging=0 COPTFLAGS=-O3 -march=native CXXOPTFLAGS=-O3 -march=native FOPTFLAGS=-O3 -march=native --with-cxx=g++ --download-openmpi --download-superlu --download-opencascade --with-blaslapack-dir=/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl --with-threadsafety --with-log=1 --with-openmp --prefix=/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0" Defined "HAVE_TAU_PERFSTUBS" to "1" ================================================================================ child PETSc.Configure took 1.767251 seconds child sum 44.221109 child total 44.246480 **** config-release/lib/petsc/conf/petscvariables **** FAST_AR_FLAGS = Scq AR_FLAGS = cr AR_ARGFILE = yes PCC_AT_FILE = 1 C_VERSION = gcc (GCC) 8.3.0 MPICC_SHOW = gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi Cxx_VERSION = g++ (GCC) 8.3.0 MPICXX_SHOW = g++ -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi FC_VERSION = GNU Fortran (GCC) 8.3.0 MPIFC_SHOW = gfortran -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi C_DEPFLAGS = -MMD -MP CXX_DEPFLAGS = -MMD -MP FC_DEFINE_FLAG = -D FC_DEPFLAGS = -MMD -MP wPETSC_DIR = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0 PETSC_COVERAGE_EXEC = /scinet/niagara/software/2019b/opt/base/gcc/8.3.0/bin/gcov CC_FLAGS = -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 CXXPP_FLAGS = -fopenmp CXX_FLAGS = -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC CXX_LINKER = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx CXX_LINKER_FLAGS = -fopenmp -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 CPP_FLAGS = -fopenmp PCC = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc PCC_FLAGS = $(CC_FLAGS) CC_SUFFIX = o PCC_LINKER = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc PCC_LINKER_FLAGS = -fopenmp -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 CC_LINKER_SUFFIX = FPP_FLAGS = -fopenmp FC_FLAGS = -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp FC_SUFFIX = o FC_LINKER = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 FC_LINKER_FLAGS = -fopenmp -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 FC_MODULE_FLAG = -I FC_MODULE_OUTPUT_FLAG = -J SL_LINKER = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc SL_LINKER_FLAGS = ${PCC_LINKER_FLAGS} SL_LINKER_SUFFIX = so SL_LINKER_LIBS = ${PETSC_EXTERNAL_LIB_BASIC} PETSC_LANGUAGE = CONLY PETSC_SCALAR = complex PETSC_PRECISION = double SUPERLU_LIB = -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lsuperlu SUPERLU_INCLUDE = -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include MKL_SPARSE_LIB = MKL_SPARSE_INCLUDE = MKL_SPARSE_OPTIMIZE_LIB = MKL_SPARSE_OPTIMIZE_INCLUDE = BLASLAPACK_LIB = -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread BLASLAPACK_INCLUDE = -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include OPENMP_LIB = OPENMP_INCLUDE = PTHREAD_LIB = PTHREAD_INCLUDE = OPENCASCADE_LIB = -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath OPENCASCADE_INCLUDE = -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include MATHLIB_LIB = -lm MATHLIB_INCLUDE = REGEX_LIB = REGEX_INCLUDE = MPI_LIB = MPI_INCLUDE = -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include OPENMPI_LIB = OPENMPI_INCLUDE = X_LIB = -lX11 X_INCLUDE = PETSC_EXTERNAL_LIB_BASIC = -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -lsuperlu -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath -lm -lX11 -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl PETSC_CC_INCLUDES = -I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/include -I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include PETSC_CC_INCLUDES_INSTALL = -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include PETSC_FC_INCLUDES = -I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/include -I/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0/config-release/include -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include PETSC_FC_INCLUDES_INSTALL = -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include LIBNAME = ${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX} SHLIBS = libpetsc PETSC_WITH_EXTERNAL_LIB = -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc/x86_64-pc-linux-gnu/8.3.0 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib/gcc -Wl,-rpath,/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib64 -Wl,-rpath,/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -L/gpfs/fs1/scinet/niagara/software/2019b/opt/base/gcc/8.3.0/lib -lpetsc -lsuperlu -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath -lm -lX11 -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl PETSC_SYS_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_VEC_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_MAT_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_DM_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_KSP_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_SNES_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_TS_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_TAO_LIB = ${PETSC_WITH_EXTERNAL_LIB} PETSC_LIB = ${PETSC_TAO_LIB} PETSC_LIB_BASIC = -lpetsc CONFIGURE_OPTIONS = PETSC_ARCH=config-release --with-scalar-type=complex --with-fortran-kernels=1 --with-debugging=0 COPTFLAGS=-O3 -march=native CXXOPTFLAGS=-O3 -march=native FOPTFLAGS=-O3 -march=native --with-cxx=g++ --download-openmpi --download-superlu --download-opencascade --with-blaslapack-dir=/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl --with-threadsafety --with-log=1 --with-openmp --prefix=/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0 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 = /usr/bin/diff -w PYTHON = /usr/bin/python3 M4 = /usr/bin/m4 CPP = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -E CXXPP = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -E FPP = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -E AR = /usr/bin/ar RANLIB = /usr/bin/ranlib AR_LIB_SUFFIX = a DYNAMICLINKER = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc CC_LINKER_SLFLAG = -Wl,-rpath, FC_LINKER_SLFLAG = -Wl,-rpath, CC = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc CXX = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx FC = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 LD_SHARED = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc CLANGUAGE = C EXEFLAGS = -Wl,-export-dynamic GIT = git PREFIXDIR = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0 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 = MAKE_NP = 24 MAKE_TEST_NP = 16 MAKE_LOAD = 48.0 NPMAX = 32 SONAME_FUNCTION = $(1).$(SL_LINKER_SUFFIX).$(2) SL_LINKER_FUNCTION = -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2)) BUILDSHAREDLIB = yes GDB = /usr/bin/gdb DSYMUTIL = true MPIEXEC = /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec --oversubscribe HOSTNAME = hostname PING = ping HOST = host MPIEXEC_TAIL = PYTHON_EXE = "/usr/bin/python3" CMAKE = /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/cmake CTEST = /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/ctest BISON = /usr/bin/bison PETSC_TEST_OPTIONS = -checkfunctionlist -use_gpu_aware_mpi 0 **** config-release/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: **** config-release/include/petscconf.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_ARCH "" #define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned(size))) #define PETSC_AssertAlignx(a,b) #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_CLANGUAGE_C 1 #define PETSC_CXX_RESTRICT __restrict #define PETSC_DEPRECATED_ENUM_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) #define PETSC_DEPRECATED_FUNCTION_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) #define PETSC_DEPRECATED_MACRO_BASE(string_literal_why) PETSC_DEPRECATED_MACRO_BASE_(GCC warning string_literal_why) #define PETSC_DEPRECATED_MACRO_BASE_(why) _Pragma(#why) #define PETSC_DEPRECATED_OBJECT_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) #define PETSC_DEPRECATED_TYPEDEF_BASE(string_literal_why) __attribute__((deprecated(string_literal_why))) #define PETSC_DIR "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0" #define PETSC_DIR_SEPARATOR '/' #define PETSC_FORTRAN_CHARLEN_T size_t #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_CXX 1 #define PETSC_HAVE_CXX_ATOMIC 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_HAVE_CXX_COMPLEX_FIX 1 #define PETSC_HAVE_CXX_DIALECT_CXX11 1 #define PETSC_HAVE_CXX_DIALECT_CXX14 1 #define PETSC_HAVE_CXX_DIALECT_CXX17 1 #define PETSC_HAVE_DLADDR 1 #define PETSC_HAVE_DLCLOSE 1 #define PETSC_HAVE_DLERROR 1 #define PETSC_HAVE_DLFCN_H 1 #define PETSC_HAVE_DLOPEN 1 #define PETSC_HAVE_DLSYM 1 #define PETSC_HAVE_DOUBLE_ALIGN_MALLOC 1 #define PETSC_HAVE_DRAND48 1 #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #define PETSC_HAVE_ERF 1 #define PETSC_HAVE_EXECUTABLE_EXPORT 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_FE_VALUES 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_FORTRAN_FLUSH 1 #define PETSC_HAVE_FORTRAN_FREE_LINE_LENGTH_NONE 1 #define PETSC_HAVE_FORTRAN_TYPE_STAR 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_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_LINUX 1 #define PETSC_HAVE_LOG2 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_MALLOC_H 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_MKL_INCLUDES 1 #define PETSC_HAVE_MKL_LIBS 1 #define PETSC_HAVE_MKL_SET_NUM_THREADS 1 #define PETSC_HAVE_MKL_SPARSE 1 #define PETSC_HAVE_MKL_SPARSE_OPTIMIZE 1 #define PETSC_HAVE_MKL_SPARSE_SP2M_FEATURE 1 #define PETSC_HAVE_MKSTEMP 1 #define PETSC_HAVE_MMAP 1 #define PETSC_HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE OMP #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_GET_ACCUMULATE 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_INIT_THREAD 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_PERSISTENT_NEIGHBORHOOD_COLLECTIVES 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER_BLOCK 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_OMPI_MAJOR_VERSION 5 #define PETSC_HAVE_OMPI_MINOR_VERSION 0 #define PETSC_HAVE_OMPI_RELEASE_VERSION 2 #define PETSC_HAVE_OPENCASCADE 1 #define PETSC_HAVE_OPENMP 1 #define PETSC_HAVE_OPENMPI 1 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_POSIX_MEMALIGN 1 #define PETSC_HAVE_PTHREAD 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_REAL___FLOAT128 1 #define PETSC_HAVE_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_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_STDATOMIC_H 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 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_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_TAU_PERFSTUBS 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_THREADSAFETY 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_X 1 #define PETSC_HAVE_XMMINTRIN_H 1 #define PETSC_INTPTR_T intptr_t #define PETSC_INTPTR_T_FMT "#" PRIxPTR #define PETSC_IS_COLORING_MAX USHRT_MAX #define PETSC_IS_COLORING_VALUE_TYPE short #define PETSC_IS_COLORING_VALUE_TYPE_F integer2 #define PETSC_LEVEL1_DCACHE_LINESIZE 64 #define PETSC_LIB_DIR "/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib" #define PETSC_MAX_PATH_LEN 4096 #define PETSC_MEMALIGN 16 #define PETSC_MKL_SPBLAS_DEPRECATED 1 #define PETSC_MPICC_SHOW "gcc -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include -pthread -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,-rpath -Wl,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -Wl,--enable-new-dtags -lmpi" #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_OMAKE "/usr/bin/gmake --no-print-directory" #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 "/usr/bin/python3" #define PETSC_Prefetch(a,b,c) _mm_prefetch((const char*)(a),(c)) #define PETSC_REPLACE_DIR_SEPARATOR '\\' #define PETSC_SIGNAL_CAST #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG 8 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_SLSUFFIX "so" #define PETSC_UINTPTR_T uintptr_t #define PETSC_UINTPTR_T_FMT "#" PRIxPTR #define PETSC_UNUSED __attribute((unused)) #define PETSC_USE_AVX512_KERNELS 1 #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_USE_COMPLEX 1 #define PETSC_USE_CTABLE 1 #define PETSC_USE_DEBUGGER "gdb" #define PETSC_USE_DMLANDAU_2D 1 #define PETSC_USE_FORTRAN_BINDINGS 1 #define PETSC_USE_FORTRAN_KERNELS 1 #define PETSC_USE_INFO 1 #define PETSC_USE_ISATTY 1 #define PETSC_USE_LOG 1 #define PETSC_USE_MALLOC_COALESCED 1 #define PETSC_USE_PROC_FOR_SIZE 1 #define PETSC_USE_REAL_DOUBLE 1 #define PETSC_USE_SHARED_LIBRARIES 1 #define PETSC_USE_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__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC__GNU_SOURCE 1 #endif **** config-release/include/petscfix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif **** config-release/include/petscpkg_version.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_PKG_BLASLAPACK_VERSION_MAJOR 20190004 #define PETSC_PKG_BLASLAPACK_VERSION_MINOR 0 #define PETSC_PKG_BLASLAPACK_VERSION_SUBMINOR 0 #define PETSC_PKG_BLASLAPACK_VERSION_ PETSC_PKG_BLASLAPACK_VERSION_EQ #define PETSC_PKG_BLASLAPACK_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_BLASLAPACK_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_BLASLAPACK_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_BLASLAPACK_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_BLASLAPACK_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_BLASLAPACK_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_BLASLAPACK_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_BLASLAPACK_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_BLASLAPACK_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_BLASLAPACK_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_BLASLAPACK_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_BLASLAPACK_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_BLASLAPACK_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_BLASLAPACK_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_BLASLAPACK_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_BLASLAPACK_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_BLASLAPACK_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #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_SUPERLU_VERSION_MAJOR 6 #define PETSC_PKG_SUPERLU_VERSION_MINOR 0 #define PETSC_PKG_SUPERLU_VERSION_SUBMINOR 1 #define PETSC_PKG_SUPERLU_VERSION_ PETSC_PKG_SUPERLU_VERSION_EQ #define PETSC_PKG_SUPERLU_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_SUPERLU_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_SUPERLU_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_SUPERLU_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_SUPERLU_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_SUPERLU_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_SUPERLU_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_SUPERLU_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_SUPERLU_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_SUPERLU_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_SUPERLU_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_SUPERLU_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_SUPERLU_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_SUPERLU_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_SUPERLU_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_SUPERLU_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_SUPERLU_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_OPENCASCADE_VERSION_MAJOR 7 #define PETSC_PKG_OPENCASCADE_VERSION_MINOR 5 #define PETSC_PKG_OPENCASCADE_VERSION_SUBMINOR 0 #define PETSC_PKG_OPENCASCADE_VERSION_ PETSC_PKG_OPENCASCADE_VERSION_EQ #define PETSC_PKG_OPENCASCADE_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_OPENCASCADE_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_OPENCASCADE_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_OPENCASCADE_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_OPENCASCADE_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_OPENCASCADE_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_OPENCASCADE_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_OPENCASCADE_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_OPENCASCADE_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_OPENCASCADE_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_OPENCASCADE_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_OPENCASCADE_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_OPENCASCADE_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_OPENCASCADE_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_OPENCASCADE_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_OPENCASCADE_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_OPENCASCADE_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #endif Attempting to save configure hash file: config-release/lib/petsc/conf/configure-hash Saved configure hash file: config-release/lib/petsc/conf/configure-hash Configure Actions These are the actions performed by configure on the filesystem --------------------------------------------------------------------------------------------- PETSc: Build : Set default architecture to config-release in lib/petsc/conf/petscvariables File creation : Created config-release/lib/petsc/conf/reconfigure-config-release.py for automatic reconfiguration Framework: RDict update : Substitutions were stored in RDict with parent None File creation : Created makefile configure header config-release/lib/petsc/conf/petscvariables File creation : Created makefile configure header config-release/lib/petsc/conf/petscrules File creation : Created configure header config-release/include/petscconf.h File creation : Created C specific configure header config-release/include/petscfix.h File creation : Created configure pkg header config-release/include/petscpkg_version.h Compilers: C Compiler: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 -fopenmp Version: gcc (GCC) 8.3.0 C++ Compiler: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -Wno-lto-type-mismatch -Wno-psabi -fstack-protector -fvisibility=hidden -O3 -std=gnu++17 -fPIC -fopenmp Version: g++ (GCC) 8.3.0 Fortran Compiler: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpif90 -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -O3 -fopenmp Version: GNU Fortran (GCC) 8.3.0 Linkers: Shared linker: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -fopenmp -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 Dynamic linker: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpicc -fopenmp -shared -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -Wno-lto-type-mismatch -fstack-protector -fvisibility=hidden -O3 Libraries linked against: -ldl BlasLapack: Intel MKL Version: 20190004 Includes: -I/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/include Libraries: -Wl,-rpath,/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -L/scinet/intel/2019u4/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_gnu_thread -lpthread uses OpenMP; use export OMP_NUM_THREADS=

or -omp_num_threads

to control the number of threads uses 4 byte integers MPI: Version: 3 Includes: -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include mpiexec: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/bin/mpiexec Implementation: openmpi OMPI_VERSION: 5.0.2 X: Libraries: -lX11 python: Executable: /usr/bin/python3 OpenMPI: openmp: Version: 201511 pthread: cmake: Version: 3.21.4 Executable: /scinet/niagara/software/2019b/opt/base/cmake/3.21.4/bin/cmake regex: bison: Version: 3.0 Executable: /usr/bin/bison SuperLU: Version: 6.0.1 Includes: -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include Libraries: -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lsuperlu opencascade: Version: 7.5.0 Includes: -I/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/include Libraries: -Wl,-rpath,/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -L/scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0/lib -lTKXSBase -lTKSTEPBase -lTKSTEPAttr -lTKSTEP209 -lTKSTEP -lTKIGES -lTKGeomAlgo -lTKTopAlgo -lTKPrim -lTKBO -lTKBool -lTKHLR -lTKFillet -lTKOffset -lTKFeat -lTKMesh -lTKXMesh -lTKShHealing -lTKG2d -lTKG3d -lTKGeomBase -lTKBRep -lTKernel -lTKMath mkl_sparse: uses OpenMP; use export OMP_NUM_THREADS=

or -omp_num_threads

to control the number of threads mkl_sparse_optimize: uses OpenMP; use export OMP_NUM_THREADS=

or -omp_num_threads

to control the number of threads PETSc: Language used to compile PETSc: C PETSC_ARCH: config-release PETSC_DIR: /gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 Prefix: /scratch/t/triverio/modelics/workplace/rebel/build/external/builds/petsc-3.21.0 Scalar type: complex Precision: double Support for __float128 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=/gpfs/s4h/scratch/t/triverio/modelics/workplace/rebel/build/external/petsc-3.21.0 PETSC_ARCH=config-release all xxx=======================================================================================xxx ================================================================================ Finishing configure run at Tue, 18 Jun 2024 14:49:06 -0400 ================================================================================