Executing: uname -s stdout: Linux ================================================================================ ================================================================================ Starting configure run at Wed, 19 Jan 2022 06:00:37 +0000 Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --prefix=/opt/petsc/complex-double-with-cuda --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 COPTFLAGS="-O3 -mavx" CXXOPTFLAGS="-O3 -mavx" FOPTFLAGS="-O3 -ffree-line-length-none -mavx" CUDAOPTFLAGS=-O3 --with-scalar-type=complex --with-precision=double --with-cuda-dir=/usr/local/cuda --with-fortran-kernels=1 --with-clanguage=c --with-cxx-dialect=cxx14 --with-cuda-dialect=cxx14 -with-debugging=1 Working directory: /home/hao/src/git/PETScbak Machine platform: uname_result(system='Linux', node='stratosphere', release='5.4.0-90-generic', version='#101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021', machine='x86_64', processor='x86_64') Python version: 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0] ================================================================================ Environmental variables LESSOPEN=| /usr/bin/lesspipe %s USER=hao SSH_CLIENT=192.168.235.120 51076 22 XDG_SESSION_TYPE=tty SHLVL=2 MOTD_SHOWN=pam HOME=/home/hao OLDPWD=/home/hao/src/git/PETScbak/src SSH_TTY=/dev/pts/0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus LOGNAME=hao _=./configure XDG_SESSION_CLASS=user TERM=xterm-256color XDG_SESSION_ID=1 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin XDG_RUNTIME_DIR=/run/user/1000 LANG=en_US.UTF-8 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=00: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:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=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:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=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:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: SHELL=/bin/bash LESSCLOSE=/usr/bin/lesspipe %s %s PWD=/home/hao/src/git/PETScbak SSH_CONNECTION=192.168.235.120 51076 10.0.1.4 22 XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop Files in path provided by default path /usr/local/sbin: /usr/local/bin: aggregate_profile.pl mpicxx mpiCC mpirun ompi-clean profile2mat.pl ompi_info mpifort mpif90 orterun orte-server mpif77 orte-info ortecc orted orte-clean mpiexec opal_wrapper mpicc mpic++ ompi-server /usr/sbin: chgpasswd iptables-nft-save vgchange vgrename tipc vgimportclone ip6tables-restore losetup integritysetup fsck.msdos ebtables-nft xfs_admin insmod mkfs.ntfs ctrlaltdel cryptsetup-reencrypt mdadm e2fsck iucode-tool era_dump xfs_db ldconfig dmstats vgmerge dpkg-reconfigure pam-auth-update ip6tables-legacy vgck lvs thin_trim ip6tables-save fdformat pvremove iscsid era_invalidate tune2fs pwconv irqbalance dpkg-preconfigure apparmor_status visudo kpartx uuidd update-info-dir lvrename swapoff grub-reboot update-ca-certificates iconvconfig unix_update pvmove parted vgimport ip6tables-translate sfdisk genl ip6tables-restore-translate xfs_fsr pvchange popularity-contest mdmon mkfs.minix e2scrub_all pdata_tools sshd grpunconv ldattach usbmuxd locale-gen service poweroff mount.ntfs vgremove pvscan xfs_metadump rmt mkfs.xfs shutdown vgdisplay dumpe2fs mkswap iptables-restore-translate getcap ntfsresize fsck.xfs grub-probe fsck.ext2 mkhomedir_helper unix_chkpwd halt lvcreate update-mime lvmsadc zramctl zic xtables-nft-multi update-passwd ip6tables-apply setvesablank mkfs.bfs mklost+found mpathpersist logrotate cache_writeback start-stop-daemon mkinitramfs iptables-translate lvmpolld fsfreeze iptables-nft xfs_ncheck runlevel useradd blkzone lvm xfs_scrub_all iptables-legacy-restore iw invoke-rc.d iptables-legacy-save mke2fs init pwck readprofile tarcat pam_extrausers_chkpwd vgmknodes grub-set-default tzconfig bcache-super-show lvreduce filefrag remove-shell dosfsck thin_restore ownership e2label vipw shadowconfig fsck.ext3 ntfsclone popcon-largest-unused mkntfs mkfs.ext3 bridge iptables-nft-restore iscsistart lvconvert cgdisk mkdosfs lvresize dhclient-script lvremove fatlabel deluser update-rc.d grub-install applygnupgdefaults grub-mkdevicemap findfs e2undo fstrim pwunconv ethtool chroot fsck.btrfs crda lvchange cron mount.lowntfs-3g cppw kbdrate sgdisk update-grub-gfxpayload iptables switch_root xfs_mkfile lsmod arptables-nft-save ip6tables-nft-save ip6tables vgcfgrestore modinfo vgconvert raw xfs_growfs aa-teardown xtables-monitor rsyslogd iptables-restore xfs_mdrestore rmmod atd iscsi-iname update-pciids cache_metadata_size irqbalance-ui vgreduce on_ac_power dmeventd lvmconfig vcstime vpddecode chpasswd biosdecode xfs_spaceman swaplabel e4crypt debugfs mkfs.msdos blkid sulogin tc ntfslabel overlayroot-chroot pam_timestamp_check fsck.ext4 iscsi_discovery add-shell adduser netplan veritysetup thermald groupadd wipefs iptables-apply era_check pivot_root ebtables nfnl_osf tcpdump setcap fsck mkfs.ext2 blkdeactivate xtables-legacy-multi ntfscp make-bcache iscsiadm cryptdisks_stop cache_check xfs_repair e2freefrag aa-remove-unknown thin_dump gdisk xfs_copy chmem iptables-save isosize thin_rmap rmt-tar validlocale xfs_logprint mkfs.fat installkernel grub-macbless dmsetup vgsplit ip6tables-legacy-restore cryptdisks_start groupdel upgrade-from-grub-legacy mount.fuse addgroup swapon reboot ebtables-nft-restore fsadm xfs_estimate badblocks pam_tally xfs_scrub usermod fstab-decode e2image apparmor_parser vgscan mount.ntfs-3g killall5 cache_dump arptables-save arptables cryptsetup fdisk mkfs.ext4 fsck.vfat thin_metadata_size groupmems rtacct rtcwake update-locale pam_tally2 sysctl mkfs.cramfs multipathd ufw getty thin_ls faillock xfs_quota update-initramfs xfs_bmap thin_repair ntfsundelete grpconv vigr luksformat pvdisplay fsck.cramfs update-grub2 vgcreate umount.udisks2 groupmod pvck dmidecode e2mmpstatus xfs_rtcp pvcreate vgs ip6tables-nft pvs mkfs arptables-nft cfdisk cache_repair hwclock userdel vgexport ldconfig.real dhclient pam_getenv update-grub arpd zerofree lvmsar arptables-restore getpcaps devlink ip6tables-legacy-save lvmdump regdbdump xfs_freeze depmod mkfs.btrfs arptables-nft-restore xfs_info accessdb iptables-legacy ebtables-restore runuser cache_restore blockdev lvscan ebtables-nft-save mount.vmhgfs ip logsave blkdiscard addgnupghome mkfs.vfat delgroup thin_delta chcpu lvmdiskscan newusers nologin rtmon dosfslabel aa-status vgcfgbackup plymouthd pvresize pam_extrausers_update thin_check grpck grub-mkconfig fsck.minix lvdisplay e2scrub multipath modprobe lvextend ip6tables-nft-restore era_restore vgextend hdparm iucode_tool fixparts grub-bios-setup ebtables-save capsh setvtrgb telinit agetty partprobe fsck.fat xfs_io e4defrag cpgr resize2fs /usr/bin: migrate-pubring-from-classic-gpg ubuntu-distro-info sg_reset_wp nice wc dpkg-source gettext.sh tail byobu-screen mesg dpkg-distaddfile NF install-info batch grub-mkfont rename.ul ptargrep tload uptime finalrd link gpg byobu-status byobu-prompt test pkexec chmod ipcmk automake-1.16 x86_64-linux-gnu-objcopy sg_write_same more colcrt uname dpkg-buildflags sg byobu-ctrl-a expr ldd eatmydata sg_referrals ntfscat su vmware-vgauth-cmd split gfortran lshw rrsync bootctl traceroute6.iputils autoupdate groups true grub-render-label x86_64-linux-gnu-gcc-nm-9 systemd-resolve pod2html rm scsi_start sg_ses gcov-tool bzexe sg_write_buffer apt-ftparchive gpg-wks-server pygettext3.8 unlz4 gcov-9 passwd splitfont xxd prtstat troff stdbuf rbash gcov-dump at run-mailcap systemd-umount find ssh-keygen gpg-zip manifest csplit pod2man vmware-toolbox-cmd vmtoolsd networkctl gettext xzcmp gold wget print pidof dbus-uuidgen pollinate instmodsh x86_64-linux-gnu-ranlib reset lzegrep locale-check dpkg-scansources systemd-run hostid podchecker basename bzdiff xzmore delpart mtr-packet pydoc3.8 sg_seek cloud-init clear hwe-support-status snapfuse snap htop pkttyagent gencat comm iconv script killall systemd-tty-ask-password-agent rsync btrfs nvidia-smi time xdg-user-dirs-update vmware-vgauth-smoketest host h2xs pmap static-sh jsonschema sg_map tset debconf-apt-progress sos-collector byobu-janitor fgrep rview pbput busybox ctail lzma faillog pic awk df pod2text trial3 b2sum routel man-recode md5sum.textutils vmware-vmblock-fuse chardet3 ftp taskset ec2metadata upower findmnt byobu-launcher-install chrt lastlog byobu-select-session splain lexgrog kmodsign g++ nvidia-modprobe nohup x86_64-linux-gnu-nm lspgpot rev twistd3 col8 mtrace ping6 gpgsm mount os-prober sbsiglist c89 jsondiff cpan5.30-x86_64-linux-gnu patch sg_senddiag nvidia-xconfig hostname bzfgrep col6 peekfd usbreset dumpkeys ipcrm rnano readelf ld.bfd manpath lz4cat run-one-until-failure sg_persist btrfstune lsmem nsupdate grotty localectl perlivp vmstat run-parts faked-tcp lnstat chcon lessecho byobu-ugraph nvidia-ngx-updater mkfifo byobu-keybindings nisdomainname scsi_logging_level ntfsdecrypt routef ssh-add chgrp apt-extracttemplates watchgnupg aptitude-curses git-shell nl factor as uuidparse gio-querymodules sh ping4 pyhtmlizer3 mcookie gunzip mv btrfsck fwupdate col1 wdctl rgrep nslookup pkill ptardiff localedef grub-mkrelpath gdbus podselect systemd-socket-activate sg_safte toe run-one-constantly elfedit kernel-install byobu-silent cksum dpkg-gensymbols grub-fstest getopt kmod lzfgrep btrfs-convert editor infocmp systemd-detect-virt snapctl ntfs-3g codepage prove sg_decode_sense perl stat dig file gapplication objcopy byobu-status-detail helpztags vmware-rpctool compose bsd-from nstat skill twist3 systemctl sensible-editor automake bc growpart gpasswd dh_bash-completion nvidia-cuda-mps-control byobu-layout login nano gpg-connect-agent debconf-set-selections chattr geqn systemd-cat sg_get_lba_status screen unicode_stop sg_sync utmpdump sg_rmsn byobu-enable printenv udisksctl tkconch3 chfn make sg_xcopy ncal ssh-argv0 x86_64-linux-gnu-g++-9 cmp dpkg-query size sg_rbuf ld base64 automat-visualize3 getent base32 fmt aa-exec tr tbl ssh-import-id-gh xdg-user-dir ssh-import-id-lp vim.basic mk_modmap ntfscmp grub-mknetdir whiptail perl5.30.0 byobu-launcher ssh-import-id deallocvt update-alternatives tsort cautious-launcher ulockmgr_server setlogcons dpkg-shlibdeps chsh ln look pkcheck whereis mawk infobrowser nvidia-settings kill fwupdmgr systemd-cgtop ntfsls chardetect3 vim nvidia-debugdump aclocal-1.16 debconf-escape znew iptables-xml x86_64-linux-gnu-elfedit byobu-enable-prompt arch gcov-tool-9 fakeroot shred date x86_64-linux-gnu-g++ nm timeout grep aclocal purge-old-kernels xz sg_requests unexpand sosreport ex gawk volname zdump cpan x86_64-linux-gnu-gold debconf-communicate cvtsudoers sg_stream_ctl sensible-pager run-one from [ setupcon sprof dpkg ntfsfix uniq ss sg_sat_identify lsblk bashbug grub-mklayout rpcgen systemd-inhibit red dbus-daemon whoami vigpg grog ctstat sg_read_attr zegrep du id sg_format sg_get_config rmdir aa-enabled getconf cal resizepart check-language-support systemd-notify echo bzip2recover xargs zmore apport-unpack vcs-run grub-file tmux ucfr dpkg-parsechangelog lsusb dpkg-statoverride top prlimit sg_write_long lsattr mknod lsipc mkdir miniterm pstree.x11 apt-cache uuidgen loadkeys sg_timestamp pl2pm gpgconf sg_rdac h2ph dir ionice sg_read_long timedatectl debconf-copydb fuser fakeroot-tcp x86_64-linux-gnu-gcov-tool-9 ssh lsmod xzegrep wifi-status linux64 x86_64-linux-gnu-gcov-dump-9 keyring unicode_start last g++-9 aptitude setleds expiry lslocks aptitude-run-state-bundle gcc-nm-9 hd lcf sg_verify ls lzmore nvidia-cuda-mps-server byobu-config sg_bg_ctl zipdetails bzcmp sg_ident seq ul x86_64-linux-gnu-readelf dh_autotools-dev_restoreconfig unattended-upgrades loadunimap bzless gpgtar gcc-9 sg_inq glib-compile-schemas dbxtool mktemp mountpoint catchsegv sensible-browser choom udevadm sg_map26 zgrep groff dpkg-name tac egrep false pinentry tic enc2xs catman VGAuthService netkit-ftp dirname expand diff3 dirmngr-client sg_luns sg_rtpg lowntfs-3g xzdiff sg_sat_read_gplog bzcat ntfsmove install corelist dbus-update-activation-environment debconf on_ac_power lslogins atrm addr2line xzless man systemd-stdio-bridge grub-glue-efi gpg-agent wall join faked-sysv lz4c distro-info strip dpkg-buildpackage perlthanks py3versions pr ssh-keyscan w.procps sbvarsign lsns usb-devices telnet.netkit byobu-select-backend systemd-cgls apt-key byobu-select-profile grub-mount byobu-launch systemd-delta grub-menulst2cfg f95 dash ypdomainname mt-gnu col gpgcompose btrfs-select-super edit lzmainfo pslog strings mt chage lspci dpkg-maintscript-helper systemd-tmpfiles partx ginstall-info sg_unmap sg_rep_zones python3 ntfsusermap sg_opcodes dpkg-divert dbus-cleanup-sockets systemd-machine-id-setup tput kbd_mode sotruss cpp systemd-escape sg_sat_phy_event ubuntu-security-status getkeycodes column sg_logs sg_prevent run-one-until-success sudo cat zcmp sgm_dd pftp savelog json_pp dpkg-split rcp sg_write_x vimtutor lesskey iscsiadm pyjwt3 bzmore perlbug btrfs-find-root nc cloud-id psfxtable fwupdagent ucf col2 pwd gzip unsquashfs dbus-run-session conch3 gpgv systemd-ask-password nvidia-bug-report.sh dircolors ranlib hexdump x86_64-linux-gnu-ar printf gcc pkaction networkd-dispatcher x86_64-linux-gnu-cpp sdiff ckbcomp x86_64-linux-gnu-ld.bfd gpic setmetamode sg_test_rwbuf gsettings sg_emc_trespass newgrp bash ed kbxutil sos cut nproc lzdiff sg_wr_mode openvt ckeygen3 c++filt clear_console x86_64 neqn ntfswipe byobu-ulevel ptx linux-boot-prober libnetcfg infotocap delv git-upload-pack xsubpp lessfile tzselect sg_read_block_limits lscpu touch dd zforce gresource unlzma grub-mkstandalone x86_64-linux-gnu-objdump truncate apport-bug netcat lz4 autoreconf flock colrm ping deb-systemd-helper cpio vmware-checkvm debconf-show ubuntu-advantage pager stty x86_64-linux-gnu-ld md5sum nvidia-uninstall sg_ses_microcode pinentry-curses sbkeysync xzgrep mdig lsinitramfs apt-get rdma landscape-sysinfo byobu-tmux git-upload-archive pstree numfmt x86_64-linux-gnu-gcc-ranlib-9 grub-syslinux2cfg cftp3 traceroute6 symcryptrun i386 pgrep see sg_read_buffer renice printerbanner x86_64-linux-gnu-gprof dpkg-gencontrol dfu-tool tee scriptreplay grub-mkimage write add-apt-repository rsh keep-one-running xzcat zdiff git-receive-pack bzip2 col5 setterm logname mksquashfs sha1sum watch py3compile runcon chvt zfgrep gcc-ar-9 dwp fallocate dpkg-genchanges pico sort ssh-agent which byobu-disable-prompt ubuntu-core-launcher apt-cdrom sync ld.gold openssl dmesg lzcmp sftp do-release-upgrade jsonpointer ubuntu-bug yes scsi_temperature systemd-analyze rvim linux-check-removal unxz setpci sg_sanitize rescan-scsi-bus.sh nawk tabs rlogin view c89-gcc scsi_readcap head byobu-launcher-uninstall sg_turs ifnames dpkg-mergechangelogs od pkmon pod2usage lsof zless x86_64-linux-gnu-strip ntfscluster gcc-nm byobu-export dpkg-scanpackages addpart atq pinky dbus-monitor setpriv mandb ps col3 apt-mark systemd-hwdb grub-mkpasswd-pbkdf2 sg_scan showkey make-first-existing-target x86_64-linux-gnu-dwp dirmngr c99-gcc x86_64-linux-gnu-gcc-nm python3.8 sg_stpg py3clean dpkg-architecture x86_64-linux-gnu-as piconv apropos aptitude-create-state-bundle autoconf sha512sum sg_modes ntfstruncate fincore crontab ua screendump parsechangelog pdb3.8 byobu-disable pbget sg_compare_and_write ipcs x86_64-linux-gnu-c++filt linux32 dbus-send vmhgfs-fuse strace sbsign ltrace rtstat run-this-one shasum jsonpatch git setarch bzegrep debian-distro-info pkcon ntfsrecover btrfs-image env x86_64-linux-gnu-gcc gpgsplit sha256sum x86_64-linux-gnu-gcov nvidia-sleep.sh setfont sbattach c_rehash setsid col4 vmware-hgfsclient resizecons tar zcat sg_raw slabtop envsubst nsenter x86_64-linux-gnu-gcc-ar snice gio ntfsinfo gcc-ar x86_64-linux-gnu-gcov-dump sudoedit psfstriptable pygettext3 dpkg-checkbuilddeps hostnamectl mailmail3 mtr m4 btrfs-map-logical lzcat tracepath sginfo cloud-init-per realpath sg_write_verify sg_reset w logger x86_64-linux-gnu-gcc-ranlib fwupdtool apt-sortpkgs ucfq bunzip2 systemd-path bzgrep dh_autotools-dev_updateconfig sed byobu-shell ischroot sbverify byobu-reconnect-sockets gfortran-9 ar x86_64-linux-gnu-strings grub-mkrescue lesspipe psfgettable gprof kbdinfo x86_64-linux-gnu-cpp-9 pbputs scsi_ready sleep x86_64-linux-gnu-gcov-tool paste info slogin eject soelim sha384sum nc.openbsd grub-kbdcomp apport-collect psfaddtable namei apport-cli lorder perl5.30-x86_64-linux-gnu systemd-mount vimdiff byobu x86_64-linux-gnu-gcc-ar-9 gtbl ssh-copy-id lastb sg_readcap uncompress cpp-9 scsi_satl less fgconsole perldoc grops scp col9 f77 grub-editenv autom4te sg_copy_results xauth c++ col7 update-mime-database gcov-dump-9 unattended-upgrade users x86_64-linux-gnu-gfortran-9 select-editor tempfile oem-getlogs ip x86_64-linux-gnu-size vmware-xferlogs x86_64-linux-gnu-gcc-9 vdir x86_64-linux-gnu-gcov-9 apt-add-repository nvidia-installer lsb_release cp cc linux-version sha224sum fold scsi_stop sg_vpd sudoreplay tty ntfs-3g.probe x86_64-linux-gnu-ld.gold strace-log-merge autoheader usbhid-dump who dpkg-deb pldd umount scsi_mandat preconv loginctl unshare sgp_dd diff systemd-id128 encguess sg_read calendar telnet x86_64-linux-gnu-addr2line setkeycodes sg_dd gpgparsemail byobu-quiet dpkg-vendor chown locale curl readlink dpkg-genbuildinfo apt-config dpkg-trigger ngettext shuf unmkinitramfs lzless eqn journalctl captoinfo fusermount nroff x86_64-linux-gnu-gfortran plymouth pathchk autoscan apt ptar systemd unlink resolvectl whatis vi vim.tiny pydoc3 showconsolefont nvidia-persistenced gcov jsonpatch-jsondiff gcc-ranlib systemd-sysusers pdb3 linux-update-symlinks gcc-ranlib-9 vmware-namespace-cmd fakeroot-sysv lzgrep bsd-write boltctl xzfgrep pastebinit c99 sg_start objdump busctl fwupdtpmevlog domainname mapscrn ntfssecaudit grub-ntldr-img grub-script-check deb-systemd-invoke ntfsfallocate pwdx gzexe sg_zone sum free sg_reassign dnsdomainname sg_sat_set_features /sbin: chgpasswd iptables-nft-save vgchange vgrename tipc vgimportclone ip6tables-restore losetup integritysetup fsck.msdos ebtables-nft xfs_admin insmod mkfs.ntfs ctrlaltdel cryptsetup-reencrypt mdadm e2fsck iucode-tool era_dump xfs_db ldconfig dmstats vgmerge dpkg-reconfigure pam-auth-update ip6tables-legacy vgck lvs thin_trim ip6tables-save fdformat pvremove iscsid era_invalidate tune2fs pwconv irqbalance dpkg-preconfigure apparmor_status visudo kpartx uuidd update-info-dir lvrename swapoff grub-reboot update-ca-certificates iconvconfig unix_update pvmove parted vgimport ip6tables-translate sfdisk genl ip6tables-restore-translate xfs_fsr pvchange popularity-contest mdmon mkfs.minix e2scrub_all pdata_tools sshd grpunconv ldattach usbmuxd locale-gen service poweroff mount.ntfs vgremove pvscan xfs_metadump rmt mkfs.xfs shutdown vgdisplay dumpe2fs mkswap iptables-restore-translate getcap ntfsresize fsck.xfs grub-probe fsck.ext2 mkhomedir_helper unix_chkpwd halt lvcreate update-mime lvmsadc zramctl zic xtables-nft-multi update-passwd ip6tables-apply setvesablank mkfs.bfs mklost+found mpathpersist logrotate cache_writeback start-stop-daemon mkinitramfs iptables-translate lvmpolld fsfreeze iptables-nft xfs_ncheck runlevel useradd blkzone lvm xfs_scrub_all iptables-legacy-restore iw invoke-rc.d iptables-legacy-save mke2fs init pwck readprofile tarcat pam_extrausers_chkpwd vgmknodes grub-set-default tzconfig bcache-super-show lvreduce filefrag remove-shell dosfsck thin_restore ownership e2label vipw shadowconfig fsck.ext3 ntfsclone popcon-largest-unused mkntfs mkfs.ext3 bridge iptables-nft-restore iscsistart lvconvert cgdisk mkdosfs lvresize dhclient-script lvremove fatlabel deluser update-rc.d grub-install applygnupgdefaults grub-mkdevicemap findfs e2undo fstrim pwunconv ethtool chroot fsck.btrfs crda lvchange cron mount.lowntfs-3g cppw kbdrate sgdisk update-grub-gfxpayload iptables switch_root xfs_mkfile lsmod arptables-nft-save ip6tables-nft-save ip6tables vgcfgrestore modinfo vgconvert raw xfs_growfs aa-teardown xtables-monitor rsyslogd iptables-restore xfs_mdrestore rmmod atd iscsi-iname update-pciids cache_metadata_size irqbalance-ui vgreduce on_ac_power dmeventd lvmconfig vcstime vpddecode chpasswd biosdecode xfs_spaceman swaplabel e4crypt debugfs mkfs.msdos blkid sulogin tc ntfslabel overlayroot-chroot pam_timestamp_check fsck.ext4 iscsi_discovery add-shell adduser netplan veritysetup thermald groupadd wipefs iptables-apply era_check pivot_root ebtables nfnl_osf tcpdump setcap fsck mkfs.ext2 blkdeactivate xtables-legacy-multi ntfscp make-bcache iscsiadm cryptdisks_stop cache_check xfs_repair e2freefrag aa-remove-unknown thin_dump gdisk xfs_copy chmem iptables-save isosize thin_rmap rmt-tar validlocale xfs_logprint mkfs.fat installkernel grub-macbless dmsetup vgsplit ip6tables-legacy-restore cryptdisks_start groupdel upgrade-from-grub-legacy mount.fuse addgroup swapon reboot ebtables-nft-restore fsadm xfs_estimate badblocks pam_tally xfs_scrub usermod fstab-decode e2image apparmor_parser vgscan mount.ntfs-3g killall5 cache_dump arptables-save arptables cryptsetup fdisk mkfs.ext4 fsck.vfat thin_metadata_size groupmems rtacct rtcwake update-locale pam_tally2 sysctl mkfs.cramfs multipathd ufw getty thin_ls faillock xfs_quota update-initramfs xfs_bmap thin_repair ntfsundelete grpconv vigr luksformat pvdisplay fsck.cramfs update-grub2 vgcreate umount.udisks2 groupmod pvck dmidecode e2mmpstatus xfs_rtcp pvcreate vgs ip6tables-nft pvs mkfs arptables-nft cfdisk cache_repair hwclock userdel vgexport ldconfig.real dhclient pam_getenv update-grub arpd zerofree lvmsar arptables-restore getpcaps devlink ip6tables-legacy-save lvmdump regdbdump xfs_freeze depmod mkfs.btrfs arptables-nft-restore xfs_info accessdb iptables-legacy ebtables-restore runuser cache_restore blockdev lvscan ebtables-nft-save mount.vmhgfs ip logsave blkdiscard addgnupghome mkfs.vfat delgroup thin_delta chcpu lvmdiskscan newusers nologin rtmon dosfslabel aa-status vgcfgbackup plymouthd pvresize pam_extrausers_update thin_check grpck grub-mkconfig fsck.minix lvdisplay e2scrub multipath modprobe lvextend ip6tables-nft-restore era_restore vgextend hdparm iucode_tool fixparts grub-bios-setup ebtables-save capsh setvtrgb telinit agetty partprobe fsck.fat xfs_io e4defrag cpgr resize2fs /bin: migrate-pubring-from-classic-gpg ubuntu-distro-info sg_reset_wp nice wc dpkg-source gettext.sh tail byobu-screen mesg dpkg-distaddfile NF install-info batch grub-mkfont rename.ul ptargrep tload uptime finalrd link gpg byobu-status byobu-prompt test pkexec chmod ipcmk automake-1.16 x86_64-linux-gnu-objcopy sg_write_same more colcrt uname dpkg-buildflags sg byobu-ctrl-a expr ldd eatmydata sg_referrals ntfscat su vmware-vgauth-cmd split gfortran lshw rrsync bootctl traceroute6.iputils autoupdate groups true grub-render-label x86_64-linux-gnu-gcc-nm-9 systemd-resolve pod2html rm scsi_start sg_ses gcov-tool bzexe sg_write_buffer apt-ftparchive gpg-wks-server pygettext3.8 unlz4 gcov-9 passwd splitfont xxd prtstat troff stdbuf rbash gcov-dump at run-mailcap systemd-umount find ssh-keygen gpg-zip manifest csplit pod2man vmware-toolbox-cmd vmtoolsd networkctl gettext xzcmp gold wget print pidof dbus-uuidgen pollinate instmodsh x86_64-linux-gnu-ranlib reset lzegrep locale-check dpkg-scansources systemd-run hostid podchecker basename bzdiff xzmore delpart mtr-packet pydoc3.8 sg_seek cloud-init clear hwe-support-status snapfuse snap htop pkttyagent gencat comm iconv script killall systemd-tty-ask-password-agent rsync btrfs nvidia-smi time xdg-user-dirs-update vmware-vgauth-smoketest host h2xs pmap static-sh jsonschema sg_map tset debconf-apt-progress sos-collector byobu-janitor fgrep rview pbput busybox ctail lzma faillog pic awk df pod2text trial3 b2sum routel man-recode md5sum.textutils vmware-vmblock-fuse chardet3 ftp taskset ec2metadata upower findmnt byobu-launcher-install chrt lastlog byobu-select-session splain lexgrog kmodsign g++ nvidia-modprobe nohup x86_64-linux-gnu-nm lspgpot rev twistd3 col8 mtrace ping6 gpgsm mount os-prober sbsiglist c89 jsondiff cpan5.30-x86_64-linux-gnu patch sg_senddiag nvidia-xconfig hostname bzfgrep col6 peekfd usbreset dumpkeys ipcrm rnano readelf ld.bfd manpath lz4cat run-one-until-failure sg_persist btrfstune lsmem nsupdate grotty localectl perlivp vmstat run-parts faked-tcp lnstat chcon lessecho byobu-ugraph nvidia-ngx-updater mkfifo byobu-keybindings nisdomainname scsi_logging_level ntfsdecrypt routef ssh-add chgrp apt-extracttemplates watchgnupg aptitude-curses git-shell nl factor as uuidparse gio-querymodules sh ping4 pyhtmlizer3 mcookie gunzip mv btrfsck fwupdate col1 wdctl rgrep nslookup pkill ptardiff localedef grub-mkrelpath gdbus podselect systemd-socket-activate sg_safte toe run-one-constantly elfedit kernel-install byobu-silent cksum dpkg-gensymbols grub-fstest getopt kmod lzfgrep btrfs-convert editor infocmp systemd-detect-virt snapctl ntfs-3g codepage prove sg_decode_sense perl stat dig file gapplication objcopy byobu-status-detail helpztags vmware-rpctool compose bsd-from nstat skill twist3 systemctl sensible-editor automake bc growpart gpasswd dh_bash-completion nvidia-cuda-mps-control byobu-layout login nano gpg-connect-agent debconf-set-selections chattr geqn systemd-cat sg_get_lba_status screen unicode_stop sg_sync utmpdump sg_rmsn byobu-enable printenv udisksctl tkconch3 chfn make sg_xcopy ncal ssh-argv0 x86_64-linux-gnu-g++-9 cmp dpkg-query size sg_rbuf ld base64 automat-visualize3 getent base32 fmt aa-exec tr tbl ssh-import-id-gh xdg-user-dir ssh-import-id-lp vim.basic mk_modmap ntfscmp grub-mknetdir whiptail perl5.30.0 byobu-launcher ssh-import-id deallocvt update-alternatives tsort cautious-launcher ulockmgr_server setlogcons dpkg-shlibdeps chsh ln look pkcheck whereis mawk infobrowser nvidia-settings kill fwupdmgr systemd-cgtop ntfsls chardetect3 vim nvidia-debugdump aclocal-1.16 debconf-escape znew iptables-xml x86_64-linux-gnu-elfedit byobu-enable-prompt arch gcov-tool-9 fakeroot shred date x86_64-linux-gnu-g++ nm timeout grep aclocal purge-old-kernels xz sg_requests unexpand sosreport ex gawk volname zdump cpan x86_64-linux-gnu-gold debconf-communicate cvtsudoers sg_stream_ctl sensible-pager run-one from [ setupcon sprof dpkg ntfsfix uniq ss sg_sat_identify lsblk bashbug grub-mklayout rpcgen systemd-inhibit red dbus-daemon whoami vigpg grog ctstat sg_read_attr zegrep du id sg_format sg_get_config rmdir aa-enabled getconf cal resizepart check-language-support systemd-notify echo bzip2recover xargs zmore apport-unpack vcs-run grub-file tmux ucfr dpkg-parsechangelog lsusb dpkg-statoverride top prlimit sg_write_long lsattr mknod lsipc mkdir miniterm pstree.x11 apt-cache uuidgen loadkeys sg_timestamp pl2pm gpgconf sg_rdac h2ph dir ionice sg_read_long timedatectl debconf-copydb fuser fakeroot-tcp x86_64-linux-gnu-gcov-tool-9 ssh lsmod xzegrep wifi-status linux64 x86_64-linux-gnu-gcov-dump-9 keyring unicode_start last g++-9 aptitude setleds expiry lslocks aptitude-run-state-bundle gcc-nm-9 hd lcf sg_verify ls lzmore nvidia-cuda-mps-server byobu-config sg_bg_ctl zipdetails bzcmp sg_ident seq ul x86_64-linux-gnu-readelf dh_autotools-dev_restoreconfig unattended-upgrades loadunimap bzless gpgtar gcc-9 sg_inq glib-compile-schemas dbxtool mktemp mountpoint catchsegv sensible-browser choom udevadm sg_map26 zgrep groff dpkg-name tac egrep false pinentry tic enc2xs catman VGAuthService netkit-ftp dirname expand diff3 dirmngr-client sg_luns sg_rtpg lowntfs-3g xzdiff sg_sat_read_gplog bzcat ntfsmove install corelist dbus-update-activation-environment debconf on_ac_power lslogins atrm addr2line xzless man systemd-stdio-bridge grub-glue-efi gpg-agent wall join faked-sysv lz4c distro-info strip dpkg-buildpackage perlthanks py3versions pr ssh-keyscan w.procps sbvarsign lsns usb-devices telnet.netkit byobu-select-backend systemd-cgls apt-key byobu-select-profile grub-mount byobu-launch systemd-delta grub-menulst2cfg f95 dash ypdomainname mt-gnu col gpgcompose btrfs-select-super edit lzmainfo pslog strings mt chage lspci dpkg-maintscript-helper systemd-tmpfiles partx ginstall-info sg_unmap sg_rep_zones python3 ntfsusermap sg_opcodes dpkg-divert dbus-cleanup-sockets systemd-machine-id-setup tput kbd_mode sotruss cpp systemd-escape sg_sat_phy_event ubuntu-security-status getkeycodes column sg_logs sg_prevent run-one-until-success sudo cat zcmp sgm_dd pftp savelog json_pp dpkg-split rcp sg_write_x vimtutor lesskey iscsiadm pyjwt3 bzmore perlbug btrfs-find-root nc cloud-id psfxtable fwupdagent ucf col2 pwd gzip unsquashfs dbus-run-session conch3 gpgv systemd-ask-password nvidia-bug-report.sh dircolors ranlib hexdump x86_64-linux-gnu-ar printf gcc pkaction networkd-dispatcher x86_64-linux-gnu-cpp sdiff ckbcomp x86_64-linux-gnu-ld.bfd gpic setmetamode sg_test_rwbuf gsettings sg_emc_trespass newgrp bash ed kbxutil sos cut nproc lzdiff sg_wr_mode openvt ckeygen3 c++filt clear_console x86_64 neqn ntfswipe byobu-ulevel ptx linux-boot-prober libnetcfg infotocap delv git-upload-pack xsubpp lessfile tzselect sg_read_block_limits lscpu touch dd zforce gresource unlzma grub-mkstandalone x86_64-linux-gnu-objdump truncate apport-bug netcat lz4 autoreconf flock colrm ping deb-systemd-helper cpio vmware-checkvm debconf-show ubuntu-advantage pager stty x86_64-linux-gnu-ld md5sum nvidia-uninstall sg_ses_microcode pinentry-curses sbkeysync xzgrep mdig lsinitramfs apt-get rdma landscape-sysinfo byobu-tmux git-upload-archive pstree numfmt x86_64-linux-gnu-gcc-ranlib-9 grub-syslinux2cfg cftp3 traceroute6 symcryptrun i386 pgrep see sg_read_buffer renice printerbanner x86_64-linux-gnu-gprof dpkg-gencontrol dfu-tool tee scriptreplay grub-mkimage write add-apt-repository rsh keep-one-running xzcat zdiff git-receive-pack bzip2 col5 setterm logname mksquashfs sha1sum watch py3compile runcon chvt zfgrep gcc-ar-9 dwp fallocate dpkg-genchanges pico sort ssh-agent which byobu-disable-prompt ubuntu-core-launcher apt-cdrom sync ld.gold openssl dmesg lzcmp sftp do-release-upgrade jsonpointer ubuntu-bug yes scsi_temperature systemd-analyze rvim linux-check-removal unxz setpci sg_sanitize rescan-scsi-bus.sh nawk tabs rlogin view c89-gcc scsi_readcap head byobu-launcher-uninstall sg_turs ifnames dpkg-mergechangelogs od pkmon pod2usage lsof zless x86_64-linux-gnu-strip ntfscluster gcc-nm byobu-export dpkg-scanpackages addpart atq pinky dbus-monitor setpriv mandb ps col3 apt-mark systemd-hwdb grub-mkpasswd-pbkdf2 sg_scan showkey make-first-existing-target x86_64-linux-gnu-dwp dirmngr c99-gcc x86_64-linux-gnu-gcc-nm python3.8 sg_stpg py3clean dpkg-architecture x86_64-linux-gnu-as piconv apropos aptitude-create-state-bundle autoconf sha512sum sg_modes ntfstruncate fincore crontab ua screendump parsechangelog pdb3.8 byobu-disable pbget sg_compare_and_write ipcs x86_64-linux-gnu-c++filt linux32 dbus-send vmhgfs-fuse strace sbsign ltrace rtstat run-this-one shasum jsonpatch git setarch bzegrep debian-distro-info pkcon ntfsrecover btrfs-image env x86_64-linux-gnu-gcc gpgsplit sha256sum x86_64-linux-gnu-gcov nvidia-sleep.sh setfont sbattach c_rehash setsid col4 vmware-hgfsclient resizecons tar zcat sg_raw slabtop envsubst nsenter x86_64-linux-gnu-gcc-ar snice gio ntfsinfo gcc-ar x86_64-linux-gnu-gcov-dump sudoedit psfstriptable pygettext3 dpkg-checkbuilddeps hostnamectl mailmail3 mtr m4 btrfs-map-logical lzcat tracepath sginfo cloud-init-per realpath sg_write_verify sg_reset w logger x86_64-linux-gnu-gcc-ranlib fwupdtool apt-sortpkgs ucfq bunzip2 systemd-path bzgrep dh_autotools-dev_updateconfig sed byobu-shell ischroot sbverify byobu-reconnect-sockets gfortran-9 ar x86_64-linux-gnu-strings grub-mkrescue lesspipe psfgettable gprof kbdinfo x86_64-linux-gnu-cpp-9 pbputs scsi_ready sleep x86_64-linux-gnu-gcov-tool paste info slogin eject soelim sha384sum nc.openbsd grub-kbdcomp apport-collect psfaddtable namei apport-cli lorder perl5.30-x86_64-linux-gnu systemd-mount vimdiff byobu x86_64-linux-gnu-gcc-ar-9 gtbl ssh-copy-id lastb sg_readcap uncompress cpp-9 scsi_satl less fgconsole perldoc grops scp col9 f77 grub-editenv autom4te sg_copy_results xauth c++ col7 update-mime-database gcov-dump-9 unattended-upgrade users x86_64-linux-gnu-gfortran-9 select-editor tempfile oem-getlogs ip x86_64-linux-gnu-size vmware-xferlogs x86_64-linux-gnu-gcc-9 vdir x86_64-linux-gnu-gcov-9 apt-add-repository nvidia-installer lsb_release cp cc linux-version sha224sum fold scsi_stop sg_vpd sudoreplay tty ntfs-3g.probe x86_64-linux-gnu-ld.gold strace-log-merge autoheader usbhid-dump who dpkg-deb pldd umount scsi_mandat preconv loginctl unshare sgp_dd diff systemd-id128 encguess sg_read calendar telnet x86_64-linux-gnu-addr2line setkeycodes sg_dd gpgparsemail byobu-quiet dpkg-vendor chown locale curl readlink dpkg-genbuildinfo apt-config dpkg-trigger ngettext shuf unmkinitramfs lzless eqn journalctl captoinfo fusermount nroff x86_64-linux-gnu-gfortran plymouth pathchk autoscan apt ptar systemd unlink resolvectl whatis vi vim.tiny pydoc3 showconsolefont nvidia-persistenced gcov jsonpatch-jsondiff gcc-ranlib systemd-sysusers pdb3 linux-update-symlinks gcc-ranlib-9 vmware-namespace-cmd fakeroot-sysv lzgrep bsd-write boltctl xzfgrep pastebinit c99 sg_start objdump busctl fwupdtpmevlog domainname mapscrn ntfssecaudit grub-ntldr-img grub-script-check deb-systemd-invoke ntfsfallocate pwdx gzexe sg_zone sum free sg_reassign dnsdomainname sg_sat_set_features /usr/games: /usr/local/games: /snap/bin: lxd.benchmark lxd.check-kernel lxd.lxc-to-lxd lxd.lxc lxd.migrate lxc lxd.buginfo lxd ============================================================================================= TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:1028) serialEvaluation: initial cxxDialectRanges ('c++03', 'c++17') serialEvaluation: new cxxDialectRanges ('c++03', 'c++17') child config.utilities.macosFirewall 0.000004 ============================================================================================= TESTING: configureDebuggers from config.utilities.debuggers(config/BuildSystem/config/utilities/debuggers.py:21) Find a default debugger and determine its arguments Executing: uname -s stdout: Linux 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...not found Checking for program /sbin/gdb...not found Checking for program /bin/gdb...not found Checking for program /usr/games/gdb...not found Checking for program /usr/local/games/gdb...not found Checking for program /snap/bin/gdb...not found Checking for program /usr/local/sbin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /sbin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/games/dbx...not found Checking for program /usr/local/games/dbx...not found Checking for program /snap/bin/dbx...not found Executing: uname -s stdout: Linux Defined make macro "DSYMUTIL" to "true" Executing: uname -s stdout: Linux child config.utilities.debuggers 0.011714 ============================================================================================= TESTING: configureDirectories from PETSc.options.petscdir(config/PETSc/options/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 16 #define PETSC_VERSION_SUBMINOR 3 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_ PETSC_VERSION_EQ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ child PETSc.options.petscdir 0.003419 ============================================================================================= TESTING: getDatafilespath from PETSc.options.dataFilesPath(config/PETSc/options/dataFilesPath.py:29) Checks what DATAFILESPATH should be child PETSc.options.dataFilesPath 0.000578 ============================================================================================= TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable 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...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 2.25.1 ============================================================================================= TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable 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 /usr/games/hg...not found Checking for program /usr/local/games/hg...not found Checking for program /snap/bin/hg...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/hg...not found child config.sourceControl 0.007302 ============================================================================================= TESTING: configureInstallationMethod from PETSc.options.petscclone(config/PETSc/options/petscclone.py:20) lib/petsc/bin/maint exists. This appears to be a repository clone .git directory exists Executing: ['git', 'describe', '--match=v*'] stdout: v3.16.3-33-g0acd390c19 Executing: ['git', 'log', '-1', '--pretty=format:%H'] stdout: 0acd390c19a90be89024d970aa21a9ca150c3eec Executing: ['git', 'log', '-1', '--pretty=format:%ci'] stdout: 2022-01-17 16:30:29 +0000 Executing: ['git', 'rev-parse', '--abbrev-ref', 'HEAD'] stdout: release Defined "VERSION_GIT" to ""v3.16.3-33-g0acd390c19"" Defined "VERSION_DATE_GIT" to ""2022-01-17 16:30:29 +0000"" Defined "VERSION_BRANCH_GIT" to ""release"" child PETSc.options.petscclone 0.034922 ============================================================================================= TESTING: setNativeArchitecture from PETSc.options.arch(config/PETSc/options/arch.py:31) ============================================================================================= TESTING: configureArchitecture from PETSc.options.arch(config/PETSc/options/arch.py:43) Checks PETSC_ARCH and sets if not set configure hash file: arch-linux-c-debug/lib/petsc/conf/configure-hash does not match, need to run configure Setting hashfile: arch-linux-c-debug/lib/petsc/conf/configure-hash Deleting configure hash file: arch-linux-c-debug/lib/petsc/conf/configure-hash Deleted configure hash file: arch-linux-c-debug/lib/petsc/conf/configure-hash child PETSc.options.arch 0.022356 ============================================================================================= TESTING: setInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:32) setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH Error trying to to test write permissions on directory [Errno 13] Permission denied: '/opt/petsc/complex-double-with-cuda/PETScTestDirectory' Defined make macro "PREFIXDIR" to "/opt/petsc/complex-double-with-cuda" ============================================================================================= TESTING: saveReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:76) ============================================================================================= TESTING: cleanConfDir from PETSc.options.installDir(config/PETSc/options/installDir.py:69) ============================================================================================= TESTING: configureInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:53) Makes installDir subdirectories if it does not exist for both prefix install location and PETSc work install location Changed persistence directory to /home/hao/src/git/PETScbak/arch-linux-c-debug/lib/petsc/conf ============================================================================================= TESTING: restoreReconfigure from PETSc.options.installDir(config/PETSc/options/installDir.py:89) child PETSc.options.installDir 0.002160 ============================================================================================= TESTING: setExternalPackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:15) ============================================================================================= TESTING: cleanExternalpackagesDir from PETSc.options.externalpackagesdir(config/PETSc/options/externalpackagesdir.py:22) child PETSc.options.externalpackagesdir 0.000673 ============================================================================================= TESTING: configureCLanguage from PETSc.options.languages(config/PETSc/options/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" Defined make macro "CLANGUAGE" to "C" child PETSc.options.languages 0.000856 ============================================================================================= TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:2101) ============================================================================================= TESTING: checkEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:2131) ============================================================================================= TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:2071) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ============================================================================================= TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:2092) OpenMPI wrappers require LD_LIBRARY_PATH set ============================================================================================= TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:604) Initialize the compiler and linker flags Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Initialized HIPFLAGS to Initialized HIPFLAGS to Initialized LDFLAGS to Initialized SYCLCXXFLAGS to Initialized SYCLCXXFLAGS to Initialized LDFLAGS to Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Initialized CPPFLAGS to Initialized FPPFLAGS to Initialized CUDAPPFLAGS to -Wno-deprecated-gpu-targets Initialized CXXPPFLAGS to Initialized HIPPPFLAGS to Initialized SYCLPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized HIPC_LINKER_FLAGS to [] Initialized SYCLCXX_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ============================================================================================= TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:787) Locate a functional C compiler Checking for program /usr/local/sbin/mpicc...not found Checking for program /usr/local/bin/mpicc...found Defined make macro "CC" to "mpicc" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Testing executable /tmp/petsc-qj8bmjby/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Executing: mpicc --version stdout: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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. Since MPI c compiler starts with mpi, force searches for other compilers to only look for MPI compilers ============================================================================================= TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:826) Locate a functional C preprocessor Checking for program /usr/local/sbin/mpicc...not found Checking for program /usr/local/bin/mpicc...found Defined make macro "CPP" to "mpicc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:862) Locate a functional CUDA compiler Checking for program /usr/local/cuda/bin/nvcc...found Defined make macro "CUDAC" to "/usr/local/cuda/bin/nvcc" ===== Checking compiler Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /usr/local/cuda/bin/nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Mon_Oct_11_21:27:02_PDT_2021 Cuda compilation tools, release 11.4, V11.4.152 Build cuda_11.4.r11.4/compiler.30521435_0 ============================================================================================= TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:902) Locate a functional CUDA preprocessor Checking for program /usr/local/cuda/bin/nvcc...found Defined make macro "CUDAPP" to "/usr/local/cuda/bin/nvcc -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include __global__ void testFunction() {return;}; Executing: /usr/local/cuda/bin/nvcc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkHIPCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:936) Locate a functional HIP compiler 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 /usr/games/hipcc...not found Checking for program /usr/local/games/hipcc...not found Checking for program /snap/bin/hipcc...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/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 /usr/games/opt/rocm/bin/hipcc...not found Checking for program /usr/local/games/opt/rocm/bin/hipcc...not found Checking for program /snap/bin/opt/rocm/bin/hipcc...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/opt/rocm/bin/hipcc...not found ============================================================================================= TESTING: checkHIPPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:979) Locate a functional HIP preprocessor ============================================================================================= TESTING: checkSYCLCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1010) Locate a functional SYCL compiler ============================================================================================= TESTING: checkSYCLPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:1036) Placeholder for now ============================================================================================= TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1127) Locate a functional Cxx compiler Checking for program /usr/local/sbin/mpicxx...not found Checking for program /usr/local/bin/mpicxx...found Defined make macro "CXX" to "mpicxx" ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Testing executable /tmp/petsc-qj8bmjby/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Executing: mpicxx --version stdout: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:1168) Locate a functional Cxx preprocessor Checking for program /usr/local/sbin/mpicxx...not found Checking for program /usr/local/bin/mpicxx...found Defined make macro "CXXPP" to "mpicxx -E" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : ============================================================================================= TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1271) Locate a functional Fortran compiler Checking for program /usr/local/sbin/mpif90...not found Checking for program /usr/local/bin/mpif90...found Defined make macro "FC" to "mpif90" ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lpetsc-ufod4vtr9mqHvKIQiVAm Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lpetsc-ufod4vtr9mqHvKIQiVAm collect2: error: ld returned 1 exit status: ======== Checking running linked program ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Testing executable /tmp/petsc-qj8bmjby/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Executing: mpif90 --version stdout: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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(config/BuildSystem/config/setCompilers.py:1308) Locate a functional Fortran preprocessor Checking for program /usr/local/sbin/mpif90...not found Checking for program /usr/local/bin/mpif90...found Defined make macro "FPP" to "mpif90 -E" Deleting "FPP" Checking for program /usr/local/sbin/mpif90...not found Checking for program /usr/local/bin/mpif90...found Defined make macro "FPP" to "mpif90 --use cpp32" Deleting "FPP" ============================================================================================= TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:1330) Make sure fortran comment "!" works ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main ! comment end Fortran comments can use ! in column 1 ============================================================================================= TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1507) ============================================================================================= TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1606) Check that the archiver exists and can make a library usable by the compiler Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } 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 /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-qj8bmjby/config.setCompilers/libconf1.a /tmp/petsc-qj8bmjby/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /tmp/petsc-qj8bmjby/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils for Ubuntu) 2.34 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } 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 /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-qj8bmjby/config.setCompilers/libconf1.a /tmp/petsc-qj8bmjby/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /tmp/petsc-qj8bmjby/config.setCompilers/libconf1.a ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -L/tmp/petsc-qj8bmjby/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" ============================================================================================= TESTING: checkArchiverRecipeArgfile from config.setCompilers(config/BuildSystem/config/setCompilers.py:1670) 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(config/BuildSystem/config/setCompilers.py:1752) Check that the linker can produce shared libraries Executing: uname -s stdout: Linux Checking shared linker mpicc using flags ['-qmkshrobj'] Checking for program /usr/local/sbin/mpicc...not found Checking for program /usr/local/bin/mpicc...found Defined make macro "LD_SHARED" to "mpicc" Executing: 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: mpicc -show stdout: gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Trying C compiler flag -fPIC Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -qmkshrobj -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qmkshrobj’ Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: gcc: error: unrecognized command line option ‘-qmkshrobj’ : Linker output after filtering: gcc: error: unrecognized command line option ‘-qmkshrobj’: Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ‘-qmkshrobj’ ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status: Rejected C compiler flag -fPIC because it was not compatible with shared linker mpicc using flags ['-qmkshrobj'] Trying C compiler flag Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -qmkshrobj /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: gcc: error: unrecognized command line option ‘-qmkshrobj’ Rejecting linker flag -qmkshrobj due to nonzero status from link Linker output before filtering: gcc: error: unrecognized command line option ‘-qmkshrobj’ : Linker output after filtering: gcc: error: unrecognized command line option ‘-qmkshrobj’: Rejecting C linker flag -qmkshrobj due to gcc: error: unrecognized command line option ‘-qmkshrobj’ ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o: in function `_start': (.text+0x24): undefined reference to `main' collect2: error: ld returned 1 exit status: Rejected C compiler flag because it was not compatible with shared linker mpicc using flags ['-qmkshrobj'] Deleting "LD_SHARED" Checking shared linker mpicc using flags ['-shared'] Checking for program /usr/local/sbin/mpicc...not found Checking for program /usr/local/bin/mpicc...found Defined make macro "LD_SHARED" to "mpicc" Executing: 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: mpicc -show stdout: gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Trying C compiler flag -fPIC Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added C compiler flag -fPIC Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Valid C linker flag -shared ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if (ret) {} ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -L/tmp/petsc-qj8bmjby/config.setCompilers -lconftest Using shared linker mpicc with flags ['-shared'] and library extension so Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux ============================================================================================= TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1450) Determine the PIC option for each compiler Executing: 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: mpicxx -show stdout: g++ -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Trying Cxx compiler flag -fPIC for PIC code Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC Added Cxx compiler flag -fPIC ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Accepted Cxx compiler flag -fPIC for PIC code Executing: 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: mpif90 -show stdout: gfortran -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi Trying FC compiler flag -fPIC for PIC code Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC Added FC compiler flag -fPIC ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: function foo(a) real:: a,x,bar common /xx/ x x=a foo = bar(x) end Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Accepted FC compiler flag -fPIC for PIC code Trying CUDA compiler flag -Xcompiler -fPIC for PIC code Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Xcompiler -fPIC Added CUDA compiler flag -Xcompiler -fPIC ===== Checking linker Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int (*fprintf_ptr)(FILE*,const char*,...) = fprintf; void foo(void){ fprintf_ptr(stdout,"hello"); return; } void bar(void){foo();} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Accepted CUDA compiler flag -Xcompiler -fPIC for PIC code ============================================================================================= TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1866) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Executing: uname -s stdout: Linux Executing: mpicc -V Trying C linker flag -Wl,-rpath, Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -Wl,-rpath,/home/hao/src/git/PETScbak -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/home/hao/src/git/PETScbak Executing: uname -s stdout: Linux Executing: mpicc -V Trying Cxx linker flag -Wl,-rpath, Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -Wl,-rpath,/home/hao/src/git/PETScbak /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/home/hao/src/git/PETScbak Executing: uname -s stdout: Linux Executing: mpicc -V Trying FC linker flag -Wl,-rpath, Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -Wl,-rpath,/home/hao/src/git/PETScbak -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/home/hao/src/git/PETScbak Executing: uname -s stdout: Linux Executing: mpicc -V Trying CUDA linker flag -Wl,-rpath, Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: /usr/local/cuda/bin/nvcc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -Xcompiler -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Valid CUDA linker flag -Wl,-rpath,/home/hao/src/git/PETScbak ============================================================================================= TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1905) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/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: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ============================================================================================= TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1951) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC /tmp/petsc-qj8bmjby/config.libraries/conftest.o -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -fPIC /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } void dummy(void) {_check_dlopen(); _check_dlsym(); _check_dlclose();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -ldl Defined "HAVE_LIBDL" to "1" Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker mpicc using flags ['-shared'] Checking for program /usr/local/sbin/mpicc...not found Checking for program /usr/local/bin/mpicc...found Defined make macro "DYNAMICLINKER" to "mpicc" Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -ldl Valid C linker flag -shared ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { void *handle = dlopen("/tmp/petsc-qj8bmjby/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: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -ldl Using dynamic linker mpicc with flags ['-shared'] and library extension so ============================================================================================= TESTING: checkPragma from config.setCompilers(config/BuildSystem/config/setCompilers.py:1409) Check for all available applicable languages whether they complain (including warnings!) about potentially unknown pragmas Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wunknown-pragmas Added C compiler flag -Wunknown-pragmas ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wunknown-pragmas /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wunknown-pragmas -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wunknown-pragmas Added Cxx compiler flag -Wunknown-pragmas ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wunknown-pragmas -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #pragma GCC poison TEST int main() { ; return 0; } Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -Wunknown-pragmas -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Possible ERROR while running compiler: exit code 1 stderr: nvcc fatal : Unknown option '-Wunknown-pragmas' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Xcompiler -fPIC -Wunknown-pragmas nvcc fatal : Unknown option '-Wunknown-pragmas' PETSc Error: No output file produced Rejecting compiler flag -Wunknown-pragmas due to nonzero status from link ============================================================================================= TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:2000) Output module data as defines and substitutions Substituting "CC" with "mpicc" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "mpicc -E" Substituting "CPPFLAGS" with "" Substituting "CUDAC" with "/usr/local/cuda/bin/nvcc" Substituting "CUDAFLAGS" with " -Xcompiler -fPIC" Substituting "CUDAPP" with "/usr/local/cuda/bin/nvcc -E" Substituting "CUDAPPFLAGS" with "-Wno-deprecated-gpu-targets" Substituting "CXX" with "mpicxx" Substituting "CXX_CXXFLAGS" with " -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXPP" with "mpicxx -E" Substituting "CXXPPFLAGS" with "" Substituting "FC" with "mpif90" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-shared" child config.setCompilers 9.750861 ============================================================================================= TESTING: configureIndexSize from PETSc.options.indexTypes(config/PETSc/options/indexTypes.py:39) Defined make macro "PETSC_INDEX_SIZE" to "32" child PETSc.options.indexTypes 0.001262 ============================================================================================= TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:82) Get the default compiler flags Executing: mpicc --version stdout: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: mpicc gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Defined make macro "C_VERSION" to "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0" Executing: mpicc -show stdout: gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Defined make macro "MPICC_SHOW" to "gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi" Executing: 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: mpicc --version stdout: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: uname -s stdout: Linux Executing: mpicc --help | head -n 500 Trying C compiler flag -Wall Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-strict-aliasing Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing Added C compiler flag -Wno-strict-aliasing Trying C compiler flag -Wno-unknown-pragmas Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -fstack-protector Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector Added C compiler flag -fstack-protector Trying C compiler flag -mfp16-format=ieee Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -mfp16-format=ieee /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c 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() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -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: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden Added C compiler flag -fvisibility=hidden Trying C compiler flag -O3 -mavx Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx Added C compiler flag -O3 -mavx Executing: mpicxx --version stdout: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: mpicxx g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Defined make macro "Cxx_VERSION" to "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0" Executing: mpicxx -show stdout: g++ -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Defined make macro "MPICXX_SHOW" to "g++ -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi" Executing: 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: uname -s stdout: Linux Executing: mpicxx --version stdout: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -fstack-protector Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector Added Cxx compiler flag -fstack-protector Trying Cxx compiler flag -fvisibility=hidden Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden Added Cxx compiler flag -fvisibility=hidden Trying Cxx compiler flag -O3 -mavx Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx Added Cxx compiler flag -O3 -mavx Executing: mpif90 --version stdout: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: mpif90 GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Defined make macro "FC_VERSION" to "GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0" Executing: mpif90 -show stdout: gfortran -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi Defined make macro "MPIFC_SHOW" to "gfortran -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi" Executing: 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: mpif90 --version stdout: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: mpif90 --version stdout: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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: mpif90 --version stdout: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Trying FC compiler flag -Wall Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall /tmp/petsc-qj8bmjby/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-0 Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -ffree-line-length-0 /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-0 Added FC compiler flag -ffree-line-length-0 Trying FC compiler flag -Wno-unused-dummy-argument Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument Added FC compiler flag -Wno-unused-dummy-argument Trying FC compiler flag -O3 -ffree-line-length-none -mavx Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx Added FC compiler flag -O3 -ffree-line-length-none -mavx Executing: /usr/local/cuda/bin/nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Mon_Oct_11_21:27:02_PDT_2021 Cuda compilation tools, release 11.4, V11.4.152 Build cuda_11.4.r11.4/compiler.30521435_0 getCompilerVersion: /usr/local/cuda/bin/nvcc nvcc: NVIDIA (R) Cuda compiler driver Defined make macro "CUDA_VERSION" to "nvcc: NVIDIA (R) Cuda compiler driver" Executing: /usr/local/cuda/bin/nvcc --help | head -n 20 stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, PTX assemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : PTX assemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.gpu/.ptx input files to device-only .cubin files. This Executing: /usr/local/cuda/bin/nvcc --help | head -n 500 Executing: /usr/local/cuda/bin/nvcc --help | head -n 20 stdout: Usage : nvcc [options] Options for specifying the compilation phase ============================================ More exactly, this option specifies up to which stage the input files must be compiled, according to the following compilation trajectories for different input file types: .c/.cc/.cpp/.cxx : preprocess, compile, link .o : link .i/.ii : compile, link .cu : preprocess, cuda frontend, PTX assemble, merge with host C code, compile, link .gpu : cicc compile into cubin .ptx : PTX assemble into cubin. --cuda (-cuda) Compile all .cu input files to .cu.cpp.ii output. --cubin (-cubin) Compile all .cu/.gpu/.ptx input files to device-only .cubin files. This Executing: /usr/local/cuda/bin/nvcc --version stdout: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Mon_Oct_11_21:27:02_PDT_2021 Cuda compilation tools, release 11.4, V11.4.152 Build cuda_11.4.r11.4/compiler.30521435_0 Detected NVCC compiler Trying CUDA compiler flag -O3 Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -O3 -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Xcompiler -fPIC -O3 Added CUDA compiler flag -O3 ============================================================================================= TESTING: checkIntelHardwareSupport from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:173) Use Linux/MacOS commands to determine what operations the hardware supports Executing: lscpu stdout: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 46 bits physical, 48 bits virtual 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: 45 Model name: Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz Stepping: 7 CPU MHz: 1320.178 CPU max MHz: 3100.0000 CPU min MHz: 1200.0000 BogoMIPS: 4588.92 Virtualization: VT-x L1d cache: 512 KiB L1i cache: 512 KiB L2 cache: 4 MiB L3 cache: 40 MiB NUMA node0 CPU(s): 0-7,16-23 NUMA node1 CPU(s): 8-15,24-31 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable Vulnerability Mds: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Meltdown: Mitigation; PTI Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW, STIBP conditional, RSB filling Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d ============================================================================================= TESTING: checkCompilerMacros from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:164) Save the list of CPP macros defined by the C and C++ compiler, does not work for all compilers Executing: mpicc -c -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilerFlags -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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 __SSE4_1__ 1 #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __FLT64_DECIMAL_DIG__ 17 #define __CET__ 3 #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 __POPCNT__ 1 #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 _FORTIFY_SOURCE 2 #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__ 201706L #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__ 9 #define __MMX__ 1 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 32 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __SSE4_2__ 1 #define __HAVE_SPECULATION_SAFE_VALUE 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 __AVX__ 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 __XSAVE__ 1 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "9.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 __SSSE3__ 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 __SSE3__ 1 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 Executing: mpicxx -c -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilerFlags -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC /tmp/petsc-qj8bmjby/config.compilerFlags/conftest.cc -E -dM stdout: #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __cpp_attributes 200809 #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 200410 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __SSE4_1__ 1 #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ double(4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __cpp_binary_literals 201304 #define __FLT64_DECIMAL_DIG__ 17 #define __CET__ 3 #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 __cpp_rvalue_reference 200610 #define __has_include(STR) __has_include__(STR) #define __DEC64_MAX_EXP__ 385 #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 __POPCNT__ 1 #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 _FORTIFY_SOURCE 2 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #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__ 201706L #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__ 9 #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__ 32 #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 __SSE4_2__ 1 #define __HAVE_SPECULATION_SAFE_VALUE 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 __cplusplus 201402L #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 __AVX__ 1 #define __ATOMIC_HLE_ACQUIRE 65536 #define __FLT32_HAS_QUIET_NAN__ 1 #define __GNUG__ 9 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #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 __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __XSAVE__ 1 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 21 #define __VERSION__ "9.3.0" #define __UINT64_C(c) c ## UL #define __cpp_unicode_characters 200704 #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 __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 __DBL_HAS_DENORM__ 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 __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 linux 1 #define __cpp_range_based_for 200907 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __SSE2__ 1 #define __SSSE3__ 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 __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __code_model_small__ 1 #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 __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 __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 __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 201304 #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 __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 __INT8_C(c) c #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 __SSE3__ 1 #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 2.625384 Executing: 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: checkC99Flag from config.compilers(config/BuildSystem/config/compilers.py:1684) Check for -std=c99 or equivalent flag Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c:7:11: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 7 | float x[2],y; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { float x[2],y; y = FLT_ROUNDS; // c++ comment int j = 2; for (int i=0; i<2; i++){ x[i] = i*j*y; } ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c:7:11: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 7 | float x[2],y; | ^ Accepted C99 compile flag: ============================================================================================= TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:160) Check for the C/CXX restrict keyword Executing: mpicc -V ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:5:20: warning: unused variable ‘x’ [-Wunused-variable] 5 | float * __restrict x;; | ^ Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set C restrict keyword to __restrict Defined "C_RESTRICT" to "__restrict" ============================================================================================= TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:421) Activate format string checking if using the GNU compilers ============================================================================================= TESTING: checkCInline from config.compilers(config/BuildSystem/config/compilers.py:130) Check for C inline keyword ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C Inline keyword to inline Defined "C_INLINE" to "inline" ============================================================================================= TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:432) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY);dlopen(libname, RTLD_NOW);dlopen(libname, RTLD_LOCAL);dlopen(libname, RTLD_GLOBAL); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Defined "HAVE_RTLD_NOW" to "1" Defined "HAVE_RTLD_LOCAL" to "1" Defined "HAVE_RTLD_GLOBAL" to "1" ============================================================================================= TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:224) Determines the libraries needed to link with C compiled code ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -ldl C libraries are not needed when using Fortran linker ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void asub(void) {char s[16];printf("testing %s",s);} ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.compilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -ldl C libraries are not needed when using C++ linker ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1635) Check if -MMD works for dependency generation, and add it if it does Trying C compiler flag -MMD -MP Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -MMD -MP /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -MMD -MP Defined make macro "C_DEPFLAGS" to "-MMD -MP" Trying Cxx compiler flag -MMD -MP Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -MMD -MP /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -fPIC -MMD -MP Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Trying CUDA compiler flag -MMD -MP Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -O3 -MMD -MP -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Xcompiler -fPIC -O3 -MMD -MP Defined make macro "CUDA_DEPFLAGS" to "-MMD -MP" ============================================================================================= TESTING: checkDeviceHostCompiler from config.compilers(config/BuildSystem/config/compilers.py:478) 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 /usr/local/cuda/bin/nvcc accepts host compiler mpicxx Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -O3 -ccbin mpicxx -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Output from compiling with -Xcompiler -fPIC -O3 -ccbin mpicxx Added CUDA compiler flag -ccbin mpicxx ============================================================================================= TESTING: checkCxxDialect from config.compilers(config/BuildSystem/config/compilers.py:501) Determine the CXX dialect supported by the compiler(language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest dialect configure can determine cxx20: [future!] cxx17: gnu++17 or c++17 cxx14: gnu++14 or c++14 cxx11: 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.lang+'dialect' = maxSupportedDialect (e.g. 'c++14') - self.cxxDialectRange = (self.cxxDialectRange[0],maxSupportedDialect) (e.g. ('c++03','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect or raises a RuntimeException if either: - The combination of specifically requested packages cannnot all be compiled with the same flag - The compiler does not support at minimum -std=c++03 (or its equivalent) checkCxxDialect: checking C++ dialect version for language "CUDA" using compiler "/usr/local/cuda/bin/nvcc" checkCxxDialect: user has explicitly selected CUDA dialect c++14 checkCxxDialect: compiler is NOT GNUish, using flag base -std=c++ checkCxxDialect: checking CXX 14 for CUDA with flag: -std=c++14 Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" // C++03 includes #include template void ignore(const T&) {} // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; // c++11 includes #include #include #include class MoveSemantics { std::unique_ptr _member; public: MoveSemantics(int val = 4) : _member(new valClass(val)) { } MoveSemantics& operator=(MoveSemantics &&other) noexcept = default; }; template constexpr T Cubed( T x ) { return x*x*x; } auto trailing(int x) -> int { return x+2;} enum class Shapes : int {SQUARE,CIRCLE}; template struct Tuple {}; using PetscErrorCode = int; // c++14 includes template constexpr T pi = T(3.1415926535897932385L); // variable template int main() { // C++03 body valClass cls = valClass(); // value initialization int i = cls.i; // i is not declared const const int& rci = i; // but rci is const_cast(rci) = 4; // C++11 body PetscErrorCode ierr = 0; auto ret = trailing(ierr); MoveSemantics bob; MoveSemantics alice; alice = std::move(bob);ignore(alice); Tuple<> t0;ignore(t0); Tuple t1;ignore(t1); Tuple t2;ignore(t2); std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); std::cout << x << ret << std::endl; // C++14 body std::cout<< I(0.0,1.0); auto lambda = [](auto x, auto y) {return x + y;}; std::cout< 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: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:160) Check for the C/CXX restrict keyword Executing: mpicc -V ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.cc: In function ‘int main()’: /tmp/petsc-qj8bmjby/config.compilers/conftest.cc:5:20: warning: unused variable ‘x’ [-Wunused-variable] 5 | float * __restrict x;; | ^ Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict x;; return 0; } compilers: Set Cxx restrict keyword to __restrict Defined "CXX_RESTRICT" to "__restrict" Executing: mpicxx --help | head -n 500 ============================================================================================= TESTING: checkCxxDialect from config.compilers(config/BuildSystem/config/compilers.py:501) Determine the CXX dialect supported by the compiler(language) [and correspoding compiler option - if any]. isGNUish indicates if the compiler is gnu compliant (i.e. clang). -with--dialect can take options: auto: use highest dialect configure can determine cxx20: [future!] cxx17: gnu++17 or c++17 cxx14: gnu++14 or c++14 cxx11: 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.lang+'dialect' = maxSupportedDialect (e.g. 'c++14') - self.cxxDialectRange = (self.cxxDialectRange[0],maxSupportedDialect) (e.g. ('c++03','c++14')) - self.addDefine('HAVE_{LANG}_DIALECT_CXX{DIALECT_NUM}',1) for every supported dialect or raises a RuntimeException if either: - The combination of specifically requested packages cannnot all be compiled with the same flag - The compiler does not support at minimum -std=c++03 (or its equivalent) checkCxxDialect: checking C++ dialect version for language "CXX" using compiler "mpicxx" checkCxxDialect: user has explicitly selected CXX dialect c++14 checkCxxDialect: compiler is GNUish, using flag base -std=gnu++ checkCxxDialect: checking CXX 14 for Cxx with flag: -std=gnu++14 Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" // C++03 includes #include template void ignore(const T&) {} // silence unused variable warnings class valClass { public: int i; valClass() { i = 3; } valClass(int x) : i(x) { } }; // c++11 includes #include #include #include class MoveSemantics { std::unique_ptr _member; public: MoveSemantics(int val = 4) : _member(new valClass(val)) { } MoveSemantics& operator=(MoveSemantics &&other) noexcept = default; }; template constexpr T Cubed( T x ) { return x*x*x; } auto trailing(int x) -> int { return x+2;} enum class Shapes : int {SQUARE,CIRCLE}; template struct Tuple {}; using PetscErrorCode = int; // c++14 includes template constexpr T pi = T(3.1415926535897932385L); // variable template int main() { // C++03 body valClass cls = valClass(); // value initialization int i = cls.i; // i is not declared const const int& rci = i; // but rci is const_cast(rci) = 4; // C++11 body PetscErrorCode ierr = 0; auto ret = trailing(ierr); MoveSemantics bob; MoveSemantics alice; alice = std::move(bob);ignore(alice); Tuple<> t0;ignore(t0); Tuple t1;ignore(t1); Tuple t2;ignore(t2); std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); std::cout << x << ret << std::endl; // C++14 body std::cout<< I(0.0,1.0); auto lambda = [](auto x, auto y) {return x + y;}; std::cout< #include #define Type int #define PetscReal double #define PetscComplex std::complex /* The two lines, from petsccxxcomplexfix.h, can cause the combination "C++14 + GCC-4.x libstdc++ library" to fail, complaining imag() is not marked const. If the compiler can compile these two lines, it should be able to compile other lines. */ static inline PetscComplex operator-(const Type& lhs, const PetscComplex& rhs) { return PetscReal(lhs) - const_cast(rhs); } static inline PetscComplex operator/(const Type& lhs, const PetscComplex& rhs) { return PetscReal(lhs) / const_cast(rhs); } int main() { Type x = 2; PetscComplex y(1.0,1.0),z,w; z = x - y; w = x / y; std::cout << z << w; ; return 0; } the CXX compiler supports petsccxxcomplexfix.h Defined "HAVE_CXX_COMPLEX_FIX" to "1" ============================================================================================= TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:781) Determines the libraries needed to link with C++ from C and Fortran ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `asub()': conftest.cc:(.text.unlikely+0xb): undefined reference to `__cxa_allocate_exception' /usr/bin/ld: conftest.cc:(.text.unlikely+0x12): undefined reference to `typeinfo for int' /usr/bin/ld: conftest.cc:(.text.unlikely+0x22): undefined reference to `__cxa_throw' /usr/bin/ld: conftest.cc:(.text.unlikely+0x3e): undefined reference to `__cxa_begin_catch' /usr/bin/ld: conftest.cc:(.text.unlikely+0x45): undefined reference to `std::cout' /usr/bin/ld: conftest.cc:(.text.unlikely+0x51): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: conftest.cc:(.text.unlikely+0x66): undefined reference to `__cxa_end_catch' /usr/bin/ld: conftest.cc:(.text.unlikely+0x57): undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0x10): undefined reference to `std::ios_base::Init::Init()' /usr/bin/ld: conftest.cc:(.text.startup+0x17): undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `asub()': conftest.cc:(.text.unlikely+0xb): undefined reference to `__cxa_allocate_exception' /usr/bin/ld: conftest.cc:(.text.unlikely+0x12): undefined reference to `typeinfo for int' /usr/bin/ld: conftest.cc:(.text.unlikely+0x22): undefined reference to `__cxa_throw' /usr/bin/ld: conftest.cc:(.text.unlikely+0x3e): undefined reference to `__cxa_begin_catch' /usr/bin/ld: conftest.cc:(.text.unlikely+0x45): undefined reference to `std::cout' /usr/bin/ld: conftest.cc:(.text.unlikely+0x51): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: conftest.cc:(.text.unlikely+0x66): undefined reference to `__cxa_end_catch' /usr/bin/ld: conftest.cc:(.text.unlikely+0x57): undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0x10): undefined reference to `std::ios_base::Init::Init()' /usr/bin/ld: conftest.cc:(.text.startup+0x17): undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `asub()': conftest.cc:(.text.unlikely+0xb): undefined reference to `__cxa_allocate_exception' /usr/bin/ld: conftest.cc:(.text.unlikely+0x12): undefined reference to `typeinfo for int' /usr/bin/ld: conftest.cc:(.text.unlikely+0x22): undefined reference to `__cxa_throw' /usr/bin/ld: conftest.cc:(.text.unlikely+0x3e): undefined reference to `__cxa_begin_catch' /usr/bin/ld: conftest.cc:(.text.unlikely+0x45): undefined reference to `std::cout' /usr/bin/ld: conftest.cc:(.text.unlikely+0x51): undefined reference to `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)' /usr/bin/ld: conftest.cc:(.text.unlikely+0x66): undefined reference to `__cxa_end_catch' /usr/bin/ld: conftest.cc:(.text.unlikely+0x57): undefined reference to `__cxa_end_catch' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `_GLOBAL__sub_I_conftest.cc': conftest.cc:(.text.startup+0x10): undefined reference to `std::ios_base::Init::Init()' /usr/bin/ld: conftest.cc:(.text.startup+0x17): undefined reference to `std::ios_base::Init::~Init()' /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o:(.data.rel.local.DW.ref._ZTIi[DW.ref._ZTIi]+0x0): undefined reference to `typeinfo for int' /usr/bin/ld: /tmp/petsc-qj8bmjby/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: uname -s stdout: Linux ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main(int argc,char **args) {return 0;} Executing: mpicc -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl compilers: C++ requires -lstdc++ to link with C compiler ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void asub(void) {std::vector v; try { throw 20; } catch (int e) { std::cout << "An exception occurred"; }} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl C++ libraries are not needed when using FC linker Executing: mpicxx -V ============================================================================================= TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:1097) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS Testing Fortran mangling type underscore with code void d1chk_(void){return;} ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" Executing: mpif90 --version stdout: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Copyright (C) 2019 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(config/BuildSystem/config/compilers.py:1135) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main call d1_chk() end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/conftest.o: in function `main': conftest.F90:(.text.startup+0x1d): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/conftest.o: in function `main': conftest.F90:(.text.startup+0x1d): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/compilers.py:1145) Substitutes for FLIBS the libraries needed to link with Fortran This macro is intended to be used in those situations when it is necessary to mix, e.g. C++ and Fortran 77, source code into a single program or shared library. For example, if object files from a C++ and Fortran 77 compiler must be linked together, then the C++ compiler/linker must be used for linking (since special C++-ish things need to happen at link time like calling global constructors, instantiating templates, enabling exception support, etc.). However, the Fortran 77 intrinsic and run-time libraries must be linked in as well, but the C++ compiler/linker does not know how to add these Fortran 77 libraries. This code was translated from the autoconf macro which was packaged in its current form by Matthew D. Langston . However, nearly all of this macro came from the OCTAVE_FLIBS macro in octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton for writing this extremely useful macro. ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.F90:3:26: 3 | call MPI_Allreduce() | 1 Error: There is no specific subroutine for the generic ‘mpi_allreduce’ at (1) Source: program main use mpi call MPI_Allreduce() end Compile failed inside link ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main #include call MPI_Allreduce() end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: subroutine asub() print*,'testing' call MPI_Allreduce() return end ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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: mpicc -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' /usr/bin/ld: conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' /usr/bin/ld: conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' /usr/bin/ld: conftest.F90:(.text+0x5c): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' /usr/bin/ld: conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' /usr/bin/ld: conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' /usr/bin/ld: conftest.F90:(.text+0x5c): undefined reference to `mpi_allreduce_' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.compilers/confc.o: in function `asub_': conftest.F90:(.text+0x31): undefined reference to `_gfortran_st_write' /usr/bin/ld: conftest.F90:(.text+0x45): undefined reference to `_gfortran_transfer_character_write' /usr/bin/ld: conftest.F90:(.text+0x4d): undefined reference to `_gfortran_st_write_done' /usr/bin/ld: 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: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: Driving: /usr/bin/gfortran -o /tmp/petsc-qj8bmjby/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/usr/bin/gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Reading specs from /usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccURkJ8G.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o /tmp/petsc-qj8bmjby/config.compilers/conftest /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl -rpath /usr/local/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 /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' Linker output before filtering: Driving: /usr/bin/gfortran -o /tmp/petsc-qj8bmjby/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/usr/bin/gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Reading specs from /usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccURkJ8G.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o /tmp/petsc-qj8bmjby/config.compilers/conftest /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl -rpath /usr/local/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 /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' : Linker output after filtering: Driving: /usr/bin/gfortran -o /tmp/petsc-qj8bmjby/config.compilers/conftest -v -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -l gfortran -l m -shared-libgcc Using built-in specs. COLLECT_GCC=/usr/bin/gfortran COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none:hsa OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) Reading specs from /usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.spec rename spec lib to liborig COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccURkJ8G.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 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o /tmp/petsc-qj8bmjby/config.compilers/conftest /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/local/lib -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. /tmp/petsc-qj8bmjby/config.compilers/conftest.o -lstdc++ -ldl -rpath /usr/local/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 /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o COLLECT_GCC_OPTIONS='-o' '/tmp/petsc-qj8bmjby/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-ffree-line-length-0' '-Wno-unused-dummy-argument' '-O3' '-ffree-line-length-none' '-mavx' '-I' '/usr/local/include' '-pthread' '-I' '/usr/local/lib' '-L/usr/local/lib' '-shared-libgcc' '-mtune=generic' '-march=x86-64': Executing: mpif90 -V compilers: Checking arg Driving: compilers: Unknown arg Driving: compilers: Checking arg /usr/bin/gfortran compilers: Unknown arg /usr/bin/gfortran compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-qj8bmjby/config.compilers/conftest compilers: Unknown arg /tmp/petsc-qj8bmjby/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-0 compilers: Unknown arg -ffree-line-length-0 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 -ffree-line-length-none compilers: Unknown arg -ffree-line-length-none compilers: Checking arg -mavx compilers: Unknown arg -mavx compilers: Checking arg /tmp/petsc-qj8bmjby/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-qj8bmjby/config.compilers/conftest.o compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -ldl compilers: Found library: -ldl compilers: Checking arg -I/usr/local/include compilers: Found include directory: /usr/local/include compilers: Checking arg -pthread compilers: Unknown arg -pthread compilers: Checking arg -I/usr/local/lib compilers: Found include directory: /usr/local/lib compilers: Checking arg -Wl,-rpath compilers: Unknown arg -Wl,-rpath compilers: Checking arg -Wl,/usr/local/lib compilers: Unknown arg -Wl,/usr/local/lib compilers: Checking arg -Wl,--enable-new-dtags compilers: Unknown arg -Wl,--enable-new-dtags compilers: Checking arg -L/usr/local/lib compilers: Found library directory: -L/usr/local/lib 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=/usr/bin/gfortran compilers: Unknown arg COLLECT_GCC=/usr/bin/gfortran compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper compilers: Checking arg OFFLOAD_TARGET_NAMES=nvptx-none:hsa compilers: Unknown arg OFFLOAD_TARGET_NAMES=nvptx-none:hsa compilers: Checking arg OFFLOAD_TARGET_DEFAULT=1 compilers: Unknown arg OFFLOAD_TARGET_DEFAULT=1 compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-linux-gnu compilers: Unknown arg x86_64-linux-gnu compilers: Checking arg Configured compilers: Unknown arg Configured compilers: Checking arg with: compilers: Unknown arg with: compilers: Checking arg ../src/configure compilers: Unknown arg ../src/configure compilers: Checking arg -v compilers: Unknown arg -v compilers: Checking arg --with-pkgversion= compilers: Unknown arg --with-pkgversion= compilers: Checking arg --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs compilers: Unknown arg --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs compilers: Checking arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 compilers: Unknown arg --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 compilers: Checking arg --prefix=/usr compilers: Unknown arg --prefix=/usr compilers: Checking arg --with-gcc-major-version-only compilers: Unknown arg --with-gcc-major-version-only compilers: Checking arg --program-suffix=-9 compilers: Unknown arg --program-suffix=-9 compilers: Checking arg --program-prefix=x86_64-linux-gnu- compilers: Unknown arg --program-prefix=x86_64-linux-gnu- compilers: Checking arg --enable-shared compilers: Unknown arg --enable-shared compilers: Checking arg --enable-linker-build-id compilers: Unknown arg --enable-linker-build-id compilers: Checking arg --libexecdir=/usr/lib compilers: Unknown arg --libexecdir=/usr/lib compilers: Checking arg --without-included-gettext compilers: Unknown arg --without-included-gettext compilers: Checking arg --enable-threads=posix compilers: Unknown arg --enable-threads=posix compilers: Checking arg --libdir=/usr/lib compilers: Unknown arg --libdir=/usr/lib compilers: Checking arg --enable-nls compilers: Unknown arg --enable-nls compilers: Checking arg --enable-clocale=gnu compilers: Unknown arg --enable-clocale=gnu compilers: Checking arg --enable-libstdcxx-debug compilers: Unknown arg --enable-libstdcxx-debug compilers: Checking arg --enable-libstdcxx-time=yes compilers: Unknown arg --enable-libstdcxx-time=yes compilers: Checking arg --with-default-libstdcxx-abi=new compilers: Unknown arg --with-default-libstdcxx-abi=new compilers: Checking arg --enable-gnu-unique-object compilers: Unknown arg --enable-gnu-unique-object compilers: Checking arg --disable-vtable-verify compilers: Unknown arg --disable-vtable-verify compilers: Checking arg --enable-plugin compilers: Unknown arg --enable-plugin compilers: Checking arg --enable-default-pie compilers: Unknown arg --enable-default-pie compilers: Checking arg --with-system-zlib compilers: Unknown arg --with-system-zlib compilers: Checking arg --with-target-system-zlib=auto compilers: Unknown arg --with-target-system-zlib=auto compilers: Checking arg --enable-objc-gc=auto compilers: Unknown arg --enable-objc-gc=auto compilers: Checking arg --enable-multiarch compilers: Unknown arg --enable-multiarch compilers: Checking arg --disable-werror compilers: Unknown arg --disable-werror compilers: Checking arg --with-arch-32=i686 compilers: Unknown arg --with-arch-32=i686 compilers: Checking arg --with-abi=m64 compilers: Unknown arg --with-abi=m64 compilers: Checking arg --with-multilib-list=m32,m64,mx32 compilers: Unknown arg --with-multilib-list=m32,m64,mx32 compilers: Checking arg --enable-multilib compilers: Unknown arg --enable-multilib compilers: Checking arg --with-tune=generic compilers: Unknown arg --with-tune=generic compilers: Checking arg --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa compilers: Unknown arg --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa compilers: Checking arg --without-cuda-driver compilers: Unknown arg --without-cuda-driver compilers: Checking arg --enable-checking=release compilers: Unknown arg --enable-checking=release compilers: Checking arg --build=x86_64-linux-gnu compilers: Unknown arg --build=x86_64-linux-gnu compilers: Checking arg --host=x86_64-linux-gnu compilers: Unknown arg --host=x86_64-linux-gnu compilers: Checking arg --target=x86_64-linux-gnu compilers: Unknown arg --target=x86_64-linux-gnu compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg gcc compilers: Unknown arg gcc compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 9.3.0 compilers: Unknown arg 9.3.0 compilers: Checking arg (Ubuntu compilers: Unknown arg (Ubuntu compilers: Checking arg 9.3.0-17ubuntu1~20.04) compilers: Unknown arg 9.3.0-17ubuntu1~20.04) 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 /usr/lib/gcc/x86_64-linux-gnu/9/libgfortran.spec compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/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=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ compilers: Skipping arg COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ compilers: Checking arg LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ compilers: Skipping arg LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/ compilers: Checking arg COLLECT_GCC_OPTIONS= compilers: Unknown arg COLLECT_GCC_OPTIONS= compilers: Checking arg /usr/lib/gcc/x86_64-linux-gnu/9/collect2 compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/collect2 compilers: Checking arg -plugin compilers: Unknown arg -plugin compilers: Checking arg /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so compilers: Checking arg -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper compilers: Unknown arg -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper compilers: Checking arg -plugin-opt=-fresolution=/tmp/ccURkJ8G.res compilers: Unknown arg -plugin-opt=-fresolution=/tmp/ccURkJ8G.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 --build-id compilers: Unknown arg --build-id 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 --hash-style=gnu compilers: Unknown arg --hash-style=gnu compilers: Checking arg --as-needed compilers: Unknown arg --as-needed 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 -pie compilers: Unknown arg -pie compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg now compilers: Unknown arg now compilers: Checking arg -z compilers: Unknown arg -z compilers: Checking arg relro compilers: Unknown arg relro compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /tmp/petsc-qj8bmjby/config.compilers/conftest compilers: Unknown arg /tmp/petsc-qj8bmjby/config.compilers/conftest compilers: Checking arg /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o compilers: Checking arg /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o compilers: Checking arg /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o compilers: Checking arg -L/usr/local/lib compilers: Already in lflags so skipping: -L/usr/local/lib compilers: Checking arg -L/usr/lib/gcc/x86_64-linux-gnu/9 compilers: Found library directory: -L/usr/lib/gcc/x86_64-linux-gnu/9 compilers: Checking arg -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu compilers: Checking arg -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib compilers: Checking arg -L/lib/x86_64-linux-gnu compilers: Checking arg -L/lib/../lib compilers: Checking arg -L/usr/lib/x86_64-linux-gnu compilers: Checking arg -L/usr/lib/../lib compilers: Checking arg -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. compilers: Checking arg /tmp/petsc-qj8bmjby/config.compilers/conftest.o compilers: Unknown arg /tmp/petsc-qj8bmjby/config.compilers/conftest.o compilers: Checking arg -lstdc++ compilers: Already in lflags: -lstdc++ compilers: Checking arg -ldl compilers: Already in lflags: -ldl compilers: Checking arg -rpath compilers: Found -rpath library: /usr/local/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 /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o compilers: Checking arg /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o compilers: Unknown arg /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/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: ['-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/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 ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl ======== Checking running linked program ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C as the linker ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest compilers: Check that Fortran libraries can be used with C++ as linker ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl ======== Checking running linked program ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.setCompilers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.setCompilers/conftest compilers: Fortran libraries can be used from C++ ============================================================================================= TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1600) Check that Fortran can link C++ libraries ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main call d1chk() end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/cxxobj.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl compilers: Fortran can link C++ functions ============================================================================================= TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1766) child config.compilers 14.538545 ============================================================================================= TESTING: configureClosure from config.utilities.closure(config/BuildSystem/config/utilities/closure.py:17) Determine if Apple ^close syntax is supported in C ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.closure/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.closure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.utilities.closure/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.utilities.closure/conftest.c:6:6: error: expected identifier or ‘(’ before ‘^’ token 6 | int (^closure)(int);; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int (^closure)(int);; return 0; } Compile failed inside link child config.utilities.closure 0.041241 ============================================================================================= TESTING: checkFortranTypeSizes from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:56) Check whether real*8 is supported and suggest flags which will allow support Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90:2:21: 2 | real*8 variable | 1 Warning: Unused variable ‘variable’ declared at (1) [-Wunused-variable] Source: program main real*8 variable end ============================================================================================= TESTING: checkFortranPreprocessor from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:73) Determine if Fortran handles preprocessing properly Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/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-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx compilers: Fortran uses preprocessor ============================================================================================= TESTING: checkFortranDefineCompilerOption from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:96) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.setCompilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx -DTesting /tmp/petsc-qj8bmjby/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-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx -DTesting Defined make macro "FC_DEFINE_FLAG" to "-D" compilers: Fortran uses -D for defining macro ============================================================================================= TESTING: checkFortran90 from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:146) Determine whether the Fortran compiler handles F90 ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90:3:43: 3 | REAL(KIND=SELECTED_REAL_KIND(10)) d | 1 Warning: Unused variable ‘d’ declared at (1) [-Wunused-variable] Source: program main REAL(KIND=SELECTED_REAL_KIND(10)) d INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -lstdc++ -ldl Fortran compiler supports F90 ============================================================================================= TESTING: checkFortran90FreeForm from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:162) Determine whether the Fortran compiler handles F90FreeForm We also require that the compiler handles lines longer than 132 characters ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8); INTEGER (KIND=int) :: ierr; ierr = 1 end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "USING_F90FREEFORM" to "1" Fortran compiler supports F90FreeForm ============================================================================================= TESTING: checkFortran2003 from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:176) Determine whether the Fortran compiler handles F2003 ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Successful compile: Source: module Base_module type, public :: base_type integer :: A contains procedure, public :: Print => BasePrint end type base_type contains subroutine BasePrint(this) class(base_type) :: this end subroutine BasePrint end module Base_module program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 ============================================================================================= TESTING: checkFortran90Array from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:211) Check for F90 array interfaces Executing: uname -s stdout: Linux ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); exit(111); } return; } ======== Checking running linked program ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/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: mpif90 -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o /tmp/petsc-qj8bmjby/config.compilersFortran/fooobj.o -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.compilersFortran/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.compilersFortran/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.compilersFortran/conftest stdout: arrays [0x7ffc3b318220 0x7ffc3b318220 0x7ffc3b318220] arrays [0x7ffc3b318160 0x7ffc3b3181c0 0x7ffc3b318160] pointers match! [(nil) (nil)] [0x36] Defined "HAVE_F90_2PTR_ARG" to "1" compilers: F90 compiler uses two arguments for array pointers ============================================================================================= TESTING: checkFortran90AssumedType from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:298) Executing: mpif90 -qversion ============================================================================================= TESTING: checkFortranModuleInclude from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:303) Figures out what flag is used to specify the include path for Fortran modules ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Successful compile: Source: program main use configtest write(*,*) testint end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest -I/tmp/petsc-qj8bmjby/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o /tmp/petsc-qj8bmjby/config.compilersFortran/configtest.o -lstdc++ -ldl compilers: Fortran module include flag -I found ============================================================================================= TESTING: checkFortranModuleOutput from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:369) Figures out what flag is used to specify the output path for Fortran modules ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -module /tmp/petsc-qj8bmjby/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command line option ‘-module’; did you mean ‘-fmodules’? Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -module:/tmp/petsc-qj8bmjby/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: exit code 1 stderr: gfortran: error: unrecognized command line option ‘-module:/tmp/petsc-qj8bmjby/config.compilersFortran/confdir’ Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fmod=/tmp/petsc-qj8bmjby/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Possible ERROR while running compiler: stderr: f951: Warning: command line option ‘-fmod=/tmp/petsc-qj8bmjby/config.compilersFortran/confdir’ is valid for Modula-2 but not for Fortran Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= failed ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -J/tmp/petsc-qj8bmjby/config.compilersFortran/confdir -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/compilersFortran.py:135) Determine whether the Fortran compiler handles type(*) ===== Checking compiler Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/compilersFortran.py:125) Determines if PETSc objects in Fortran are initialized by default (doesn't work with common blocks) Defined "FORTRAN_TYPE_INITIALIZE" to " = -2" Initializing Fortran objects ============================================================================================= TESTING: configureFortranFlush from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:116) ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.F90 Successful compile: Source: program main call flush(6) end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilersFortran/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilersFortran/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_FLUSH" to "1" ============================================================================================= TESTING: checkDependencyGenerationFlag from config.compilersFortran(config/BuildSystem/config/compilersFortran.py:414) Check if -MMD works for dependency generation, and add it if it does Trying FC compiler flag -MMD -MP Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx -MMD -MP /tmp/petsc-qj8bmjby/config.setCompilers/conftest.F90 Successful compile: Source: program main end Output from compiling with -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx -MMD -MP Defined make macro "FC_DEPFLAGS" to "-MMD -MP" child config.compilersFortran 1.513599 ============================================================================================= TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:107) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.headers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.headers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.headers/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.headers/conftest.o -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.headers/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.headers/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.headers/conftest ============================================================================================= TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:140) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c ============================================================================================= TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:175) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.headers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:197) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/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: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIME_H" to "1" ============================================================================================= TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.headers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: zmmintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SETJMP_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: dos.h: No such file or directory 3 | #include | ^~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FCNTL_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: io.h: No such file or directory 3 | #include | ^~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_MALLOC_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PWD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STRINGS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_UNISTD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SYSINFO_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: machine/endian.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PARAM_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_PROCFS_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_RESOURCE_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sys/systeminfo.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TIMES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_UTSNAME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_SOCKET_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_WAIT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETINET_IN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_NETDB_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: direct.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: direct.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_TIME_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: Ws2tcpip.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_SYS_TYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: WindowsX.h: No such file or directory 3 | #include | ^~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_FLOAT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: ieeefp.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_STDINT_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_PTHREAD_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: inttypes.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_INTTYPES_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: immintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_IMMINTRIN_H" to "1" ============================================================================================= TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: zmmintrin.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: zmmintrin.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~ compilation terminated.: ============================================================================================= TESTING: checkRecursiveMacros from config.headers(config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.headers/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } child config.headers 2.546606 ============================================================================================= TESTING: configureCacheDetails from config.utilities.cacheDetails(config/BuildSystem/config/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { ; return 0; } ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest.o -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.utilities.cacheDetails/conftest Defined "LEVEL1_DCACHE_LINESIZE" to "64" child config.utilities.cacheDetails 0.206146 ============================================================================================= TESTING: check_struct_sigaction from config.types(config/BuildSystem/config/types.py:42) Checks if "struct sigaction" exists in signal.h. This check is for C89 check. Checking for type: struct sigaction ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:18: warning: unused variable ‘a’ [-Wunused-variable] 11 | struct sigaction a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { struct sigaction a;; return 0; } struct sigaction found Defined "HAVE_STRUCT_SIGACTION" to "1" ============================================================================================= TESTING: check__int64 from config.types(config/BuildSystem/config/types.py:48) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:1: error: unknown type name ‘__int64’; did you mean ‘__int64_t’? 11 | __int64 a;; | ^~~~~~~ | __int64_t /tmp/petsc-qj8bmjby/config.types/conftest.c:11:9: warning: unused variable ‘a’ [-Wunused-variable] 11 | __int64 a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { __int64 a;; return 0; } __int64 found ============================================================================================= TESTING: checkSizeTypes from config.types(config/BuildSystem/config/types.py:54) Checks for types associated with sizes, such as size_t. Checking for type: size_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:8: warning: unused variable ‘a’ [-Wunused-variable] 11 | size_t a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { size_t a;; return 0; } size_t found ============================================================================================= TESTING: checkFileTypes from config.types(config/BuildSystem/config/types.py:64) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:8: warning: unused variable ‘a’ [-Wunused-variable] 11 | mode_t a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:7: warning: unused variable ‘a’ [-Wunused-variable] 11 | off_t a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { off_t a;; return 0; } off_t found ============================================================================================= TESTING: checkIntegerTypes from config.types(config/BuildSystem/config/types.py:59) Checks for types associated with integers, such as int32_t. Checking for type: int32_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:9: warning: unused variable ‘a’ [-Wunused-variable] 11 | int32_t a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a;; return 0; } int32_t found ============================================================================================= TESTING: checkPID from config.types(config/BuildSystem/config/types.py:70) Checks for pid_t, and defines it if necessary Checking for type: pid_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:7: warning: unused variable ‘a’ [-Wunused-variable] 11 | pid_t a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { pid_t a;; return 0; } pid_t found ============================================================================================= TESTING: checkUID from config.types(config/BuildSystem/config/types.py:74) Checks for uid_t and gid_t, and defines them if necessary Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.types/conftest.c ============================================================================================= TESTING: checkC99Complex from config.types(config/BuildSystem/config/types.py:81) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:6:17: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 6 | double _Complex x; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:6:17: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 6 | double _Complex x; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.types/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:7:17: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 7 | double _Complex x; | ^ Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { double _Complex x; x = I; ; return 0; } Defined "HAVE_C99_COMPLEX" to "1" ============================================================================================= TESTING: checkCxxComplex from config.types(config/BuildSystem/config/types.py:95) Check for complex numbers in namespace std ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.types/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.o -lstdc++ -ldl Defined "HAVE_CXX_COMPLEX" to "1" ============================================================================================= TESTING: checkConst from config.types(config/BuildSystem/config/types.py:106) Checks for working const, and if not found defines it to empty string ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:25:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 25 | if (x[0]); | ^~ /tmp/petsc-qj8bmjby/config.types/conftest.c:26:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 26 | { /* SCO 3.2v4 cc rejects this. */ | ^ /tmp/petsc-qj8bmjby/config.types/conftest.c:25:10: warning: ‘x[0]’ is used uninitialized in this function [-Wuninitialized] 25 | if (x[0]); | ~^~~ /tmp/petsc-qj8bmjby/config.types/conftest.c:30:9: warning: ‘t’ is used uninitialized in this function [-Wuninitialized] 30 | *t++ = 0; | ~^~ /tmp/petsc-qj8bmjby/config.types/conftest.c:46:25: warning: ‘b’ is used uninitialized in this function [-Wuninitialized] 46 | struct s *b; b->j = 5; | ~~~~~^~~ Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(short)==2)*2-1]; Defined "SIZEOF_SHORT" to "2" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: enum ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(enum{ENUM_DUMMY})==4)*2-1]; Defined "SIZEOF_ENUM" to "4" ============================================================================================= TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:162) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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(config/BuildSystem/config/types.py:196) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_C" to "1" ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { __attribute__((visibility ("default"))) int foo(void);; return 0; } Defined "USE_VISIBILITY_CXX" to "1" ============================================================================================= TESTING: checkMaxPathLen from config.types(config/BuildSystem/config/types.py:218) Determining PETSC_MAX_PATH_LEN ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MAXPATHLEN) # define PETSC_MAX_PATH_LEN MAXPATHLEN #elif defined(MAX_PATH) # define PETSC_MAX_PATH_LEN MAX_PATH #elif defined(_MAX_PATH) # define PETSC_MAX_PATH_LEN _MAX_PATH #else # define PETSC_MAX_PATH_LEN 4096 #endif #define xstr(s) str(s) #define str(s) #s char petsc_max_path_len[] = xstr(PETSC_MAX_PATH_LEN); int main() { ; return 0; } Preprocessing source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MAXPATHLEN) # define PETSC_MAX_PATH_LEN MAXPATHLEN #elif defined(MAX_PATH) # define PETSC_MAX_PATH_LEN MAX_PATH #elif defined(_MAX_PATH) # define PETSC_MAX_PATH_LEN _MAX_PATH #else # define PETSC_MAX_PATH_LEN 4096 #endif #define xstr(s) str(s) #define str(s) #s char petsc_max_path_len[] = xstr(PETSC_MAX_PATH_LEN); Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.types/conftest.c Defined "MAX_PATH_LEN" to "4096" child config.types 2.138389 ============================================================================================= TESTING: configureMemAlign from PETSc.options.memAlign(config/PETSc/options/memAlign.py:29) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 child PETSc.options.memAlign 0.002429 ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lfpe -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lsocket -lnsl -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:286) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_sin’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:6:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 6 | static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_floor’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:10:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 10 | static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_log10’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:14:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 14 | static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_pow’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:18:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 18 | static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); | ^~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x26): undefined reference to `sin' /usr/bin/ld: conftest.c:(.text.startup+0x8b): undefined reference to `log10' /usr/bin/ld: conftest.c:(.text.startup+0xc1): undefined reference to `pow' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x26): undefined reference to `sin' /usr/bin/ld: conftest.c:(.text.startup+0x8b): undefined reference to `log10' /usr/bin/ld: conftest.c:(.text.startup+0xc1): undefined reference to `pow' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0x26): undefined reference to `sin' /usr/bin/ld: conftest.c:(.text.startup+0x8b): undefined reference to `log10' /usr/bin/ld: conftest.c:(.text.startup+0xc1): undefined reference to `pow' collect2: error: ld returned 1 exit status: Checking for functions [sin floor log10 pow] in library ['m'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_sin’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:6:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 6 | static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_floor’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:10:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 10 | static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_log10’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:14:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 14 | static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_pow’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:18:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 18 | static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); | ^~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_sin’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:6:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 6 | static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_floor’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:10:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 10 | static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_log10’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:14:42: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 14 | static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); | ^~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_pow’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:18:40: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] 18 | static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); | ^~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include double sin(double); static void _check_sin() { double x,y; scanf("%lf",&x); y = sin(x); printf("%f",y); ; } #include double floor(double); static void _check_floor() { double x,y; scanf("%lf",&x); y = floor(x); printf("%f",y); ; } #include double log10(double); static void _check_log10() { double x,y; scanf("%lf",&x); y = log10(x); printf("%f",y); ; } #include double pow(double, double); static void _check_pow() { double x,y; scanf("%lf",&x); y = pow(x,x); printf("%f",y); ; } void dummy(void) {_check_sin(); _check_floor(); _check_log10(); _check_pow();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" CheckMath: using math library ['libm.a'] ============================================================================================= TESTING: checkMathErf from config.libraries(config/BuildSystem/config/libraries.py:305) Check for erf() in libm, the math library Checking for functions [erf] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_erf’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:5:74: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] 5 | static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } | ^ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } int main() { _check_erf();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_erf’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:5:74: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] 5 | static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } | ^ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_erf() { double (*checkErf)(double) = erf;double x = 0,y; y = (*checkErf)(x); } void dummy(void) {_check_erf();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" erf() found Defined "HAVE_ERF" to "1" ============================================================================================= TESTING: checkMathTgamma from config.libraries(config/BuildSystem/config/libraries.py:314) Check for tgamma() in libm, the math library Checking for functions [tgamma] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_tgamma’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:5:83: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] 5 | static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } | ^ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } int main() { _check_tgamma();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_tgamma’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:5:83: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] 5 | static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } | ^ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_tgamma() { double (*checkTgamma)(double) = tgamma;double x = 0,y; y = (*checkTgamma)(x); } void dummy(void) {_check_tgamma();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" tgamma() found Defined "HAVE_TGAMMA" to "1" ============================================================================================= TESTING: checkMathLgamma from config.libraries(config/BuildSystem/config/libraries.py:323) Check for lgamma() in libm, the math library Checking for functions [lgamma] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } int main() { _check_lgamma();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include #include static void _check_lgamma() { double (*checkLgamma)(double) = lgamma;double x = 1,y; y = (*checkLgamma)(x);if (y != 0.) abort(); } void dummy(void) {_check_lgamma();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" lgamma() found Defined "HAVE_LGAMMA" to "1" ============================================================================================= TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:336) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } void dummy(void) {_check_fesetenv();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" Defined "HAVE_FENV_H" to "1" ============================================================================================= TESTING: checkMathLog2 from config.libraries(config/BuildSystem/config/libraries.py:344) Check for log2() in libm, the math library Checking for functions [log2] in library ['libm.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_log2’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:5:81: warning: unused variable ‘y’ [-Wunused-variable] 5 | static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } | ^ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } int main() { _check_log2();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lm -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_log2’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:5:81: warning: unused variable ‘y’ [-Wunused-variable] 5 | static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } | ^ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_log2() { double (*checkLog2)(double) = log2; double x = 2.5, y = (*checkLog2)(x); } void dummy(void) {_check_log2();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lm -lstdc++ -ldl Defined "HAVE_LIBM" to "1" log2() found Defined "HAVE_LOG2" to "1" ============================================================================================= TESTING: checkRealtime from config.libraries(config/BuildSystem/config/libraries.py:353) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } void dummy(void) {_check_clock_gettime();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lstdc++ -ldl realtime functions are linked in by default ============================================================================================= TESTING: checkDynamic from config.libraries(config/BuildSystem/config/libraries.py:369) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -ldl -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } void dummy(void) {_check_dlopen();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -ldl -lstdc++ -ldl Defined "HAVE_LIBDL" to "1" Checking for header: dlfcn.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Defined "HAVE_DLFCN_H" to "1" child config.libraries 3.557514 ============================================================================================= TESTING: configureLibraryOptions from PETSc.options.libraryOptions(config/PETSc/options/libraryOptions.py:38) Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE, PETSC_USE_FORTRAN_KERNELS, and PETSC_USE_AVX512_KERNELS Defined "USE_LOG" to "1" Defined "USE_DEBUG" to "1" Defined "USE_INFO" to "1" Defined "USE_CTABLE" to "1" **********Checking if running on BGL/IBM detected Checking for functions [bgl_perfctr_void] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char bgl_perfctr_void(); static void _check_bgl_perfctr_void() { bgl_perfctr_void(); } int main() { _check_bgl_perfctr_void();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `bgl_perfctr_void' collect2: error: ld returned 1 exit status: Checking for functions [ADIOI_BGL_Open] in library [''] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ADIOI_BGL_Open(); static void _check_ADIOI_BGL_Open() { ADIOI_BGL_Open(); } int main() { _check_ADIOI_BGL_Open();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ADIOI_BGL_Open' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): 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" Defined "Alignx(a,b)" to " " ============================================================================================= TESTING: configureISColorValueType from PETSc.options.libraryOptions(config/PETSc/options/libraryOptions.py:99) Sets PETSC_IS_COLORING_VALUE_TYPE, PETSC_MPIU_IS_COLORING_VALUE_TYPE, and PETSC_IS_COLORING_MAX as required by ISColoring Defined "MPIU_IS_COLORING_VALUE_TYPE" to "MPI_UNSIGNED_SHORT" Defined "IS_COLORING_MAX" to "USHRT_MAX" Defined "IS_COLORING_VALUE_TYPE" to "short" Defined "IS_COLORING_VALUE_TYPE_F" to "integer2" child PETSc.options.libraryOptions 0.231207 child config.atomics 0.000023 ============================================================================================= TESTING: checkSysinfo from config.functions(config/BuildSystem/config/functions.py:106) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SYSINFO" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.functions/conftest.c:9:4: error: #error "Cannot check sysinfo without special headers" 9 | # error "Cannot check sysinfo without special headers" | ^~~~~ /tmp/petsc-qj8bmjby/config.functions/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.functions/conftest.c:13:30: warning: implicit declaration of function ‘sysinfo’ [-Wimplicit-function-declaration] 13 | char buf[10]; long count=10; sysinfo(1, buf, count); | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_SYS_SYSINFO_H # include #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVPrintf from config.functions(config/BuildSystem/config/functions.py:125) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: checkVFPrintf from config.functions(config/BuildSystem/config/functions.py:131) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: checkVSNPrintf from config.functions(config/BuildSystem/config/functions.py:137) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VSNPRINTF" to "1" ============================================================================================= TESTING: checkNanosleep from config.functions(config/BuildSystem/config/functions.py:167) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_NANOSLEEP" to "1" ============================================================================================= TESTING: checkMemmove from config.functions(config/BuildSystem/config/functions.py:173) Check for functional memmove() - as MS VC requires correct includes to for this test ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { char c1[1], c2[1] = "c"; size_t n=1; memmove(c1,c2,n); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MEMMOVE" to "1" ============================================================================================= TESTING: checkSignalHandlerType from config.functions(config/BuildSystem/config/functions.py:143) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.functions/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "SIGNAL_CAST" to " " ============================================================================================= TESTING: checkFreeReturnType from config.functions(config/BuildSystem/config/functions.py:153) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.functions/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be 6 | int ierr; void *p; ierr = free(p); return 0; | ^ /tmp/petsc-qj8bmjby/config.functions/conftest.c:6:5: warning: variable ‘ierr’ set but not used [-Wunused-but-set-variable] 6 | int ierr; void *p; ierr = free(p); return 0; | ^~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ============================================================================================= TESTING: checkVariableArgumentLists from config.functions(config/BuildSystem/config/functions.py:159) Checks whether the variable argument list functionality is working ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_VA_COPY" to "1" ============================================================================================= TESTING: checkClassify from config.functions(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 [drand48 _set_output_format readlink _pipe socket _lseek _access _mkdir popen getpagesize dlclose sleep clock fpsetsticky usleep _snprintf dlopen fpresetsticky getcwd fork getdomainname stricmp dlsym getrusage bzero rand sbreak access gethostname _sleep dlerror getwd snprintf memalign uname time lseek PXFGETARG strcasecmp realpath _getcwd gethostbyname] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.functions/conftest.c:32:6: warning: conflicting types for built-in function ‘fork’; expected ‘int(void)’ [-Wbuiltin-declaration-mismatch] 32 | char fork(); | ^~~~ /tmp/petsc-qj8bmjby/config.functions/conftest.c:37:6: warning: conflicting types for built-in function ‘bzero’; expected ‘void(void *, long unsigned int)’ [-Wbuiltin-declaration-mismatch] 37 | char bzero(); | ^~~~~ /tmp/petsc-qj8bmjby/config.functions/conftest.c:45:6: warning: conflicting types for built-in function ‘snprintf’; expected ‘int(char *, long unsigned int, const char *, ...)’ [-Wbuiltin-declaration-mismatch] 45 | char snprintf(); | ^~~~~~~~ /tmp/petsc-qj8bmjby/config.functions/conftest.c:6:1: note: ‘snprintf’ is declared in header ‘’ 5 | #include +++ |+#include 6 | /* Override any gcc2 internal prototype to avoid an error. */ /tmp/petsc-qj8bmjby/config.functions/conftest.c:51:6: warning: conflicting types for built-in function ‘strcasecmp’; expected ‘int(const char *, const char *)’ [-Wbuiltin-declaration-mismatch] 51 | char strcasecmp(); | ^~~~~~~~~~ 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 drand48(); char _set_output_format(); char readlink(); char _pipe(); char socket(); char _lseek(); char _access(); char _mkdir(); char popen(); char getpagesize(); char dlclose(); char sleep(); char clock(); char fpsetsticky(); char usleep(); char _snprintf(); char dlopen(); char fpresetsticky(); char getcwd(); char fork(); char getdomainname(); char stricmp(); char dlsym(); char getrusage(); char bzero(); char rand(); char sbreak(); char access(); char gethostname(); char _sleep(); char dlerror(); char getwd(); char snprintf(); char memalign(); char uname(); char time(); char lseek(); char PXFGETARG(); char strcasecmp(); char realpath(); char _getcwd(); char gethostbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #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_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #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__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #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_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xe4): warning: the `getwd' function is dangerous and should not be used. /usr/bin/ld: conftest.c:(.text.startup+0x12): undefined reference to `_set_output_format' /usr/bin/ld: conftest.c:(.text.startup+0x20): undefined reference to `_pipe' /usr/bin/ld: conftest.c:(.text.startup+0x2e): undefined reference to `_lseek' /usr/bin/ld: conftest.c:(.text.startup+0x35): undefined reference to `_access' /usr/bin/ld: conftest.c:(.text.startup+0x3c): undefined reference to `_mkdir' /usr/bin/ld: conftest.c:(.text.startup+0x66): undefined reference to `fpsetsticky' /usr/bin/ld: conftest.c:(.text.startup+0x74): undefined reference to `_snprintf' /usr/bin/ld: conftest.c:(.text.startup+0x82): undefined reference to `fpresetsticky' /usr/bin/ld: conftest.c:(.text.startup+0x9e): undefined reference to `stricmp' /usr/bin/ld: conftest.c:(.text.startup+0xc1): undefined reference to `sbreak' /usr/bin/ld: conftest.c:(.text.startup+0xd6): undefined reference to `_sleep' /usr/bin/ld: conftest.c:(.text.startup+0x10e): undefined reference to `PXFGETARG' /usr/bin/ld: conftest.c:(.text.startup+0x123): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xe4): warning: the `getwd' function is dangerous and should not be used. /usr/bin/ld: conftest.c:(.text.startup+0x12): undefined reference to `_set_output_format' /usr/bin/ld: conftest.c:(.text.startup+0x20): undefined reference to `_pipe' /usr/bin/ld: conftest.c:(.text.startup+0x2e): undefined reference to `_lseek' /usr/bin/ld: conftest.c:(.text.startup+0x35): undefined reference to `_access' /usr/bin/ld: conftest.c:(.text.startup+0x3c): undefined reference to `_mkdir' /usr/bin/ld: conftest.c:(.text.startup+0x66): undefined reference to `fpsetsticky' /usr/bin/ld: conftest.c:(.text.startup+0x74): undefined reference to `_snprintf' /usr/bin/ld: conftest.c:(.text.startup+0x82): undefined reference to `fpresetsticky' /usr/bin/ld: conftest.c:(.text.startup+0x9e): undefined reference to `stricmp' /usr/bin/ld: conftest.c:(.text.startup+0xc1): undefined reference to `sbreak' /usr/bin/ld: conftest.c:(.text.startup+0xd6): undefined reference to `_sleep' /usr/bin/ld: conftest.c:(.text.startup+0x10e): undefined reference to `PXFGETARG' /usr/bin/ld: conftest.c:(.text.startup+0x123): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xe4): warning: the `getwd' function is dangerous and should not be used. /usr/bin/ld: conftest.c:(.text.startup+0x12): undefined reference to `_set_output_format' /usr/bin/ld: conftest.c:(.text.startup+0x20): undefined reference to `_pipe' /usr/bin/ld: conftest.c:(.text.startup+0x2e): undefined reference to `_lseek' /usr/bin/ld: conftest.c:(.text.startup+0x35): undefined reference to `_access' /usr/bin/ld: conftest.c:(.text.startup+0x3c): undefined reference to `_mkdir' /usr/bin/ld: conftest.c:(.text.startup+0x66): undefined reference to `fpsetsticky' /usr/bin/ld: conftest.c:(.text.startup+0x74): undefined reference to `_snprintf' /usr/bin/ld: conftest.c:(.text.startup+0x82): undefined reference to `fpresetsticky' /usr/bin/ld: conftest.c:(.text.startup+0x9e): undefined reference to `stricmp' /usr/bin/ld: conftest.c:(.text.startup+0xc1): undefined reference to `sbreak' /usr/bin/ld: conftest.c:(.text.startup+0xd6): undefined reference to `_sleep' /usr/bin/ld: conftest.c:(.text.startup+0x10e): undefined reference to `PXFGETARG' /usr/bin/ld: conftest.c:(.text.startup+0x123): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status: Checking for functions [drand48 readlink socket popen getpagesize dlclose clock usleep dlopen fork getdomainname] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.functions/conftest.c:22:6: warning: conflicting types for built-in function ‘fork’; expected ‘int(void)’ [-Wbuiltin-declaration-mismatch] 22 | char fork(); | ^~~~ 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 drand48(); char readlink(); char socket(); char popen(); char getpagesize(); char dlclose(); char clock(); char usleep(); char dlopen(); char fork(); char getdomainname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_DRAND48" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_DLOPEN" to "1" Defined "HAVE_FORK" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Checking for functions [dlsym getrusage bzero rand gethostname dlerror memalign uname time strcasecmp realpath gethostbyname] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.functions/conftest.c:15:6: warning: conflicting types for built-in function ‘bzero’; expected ‘void(void *, long unsigned int)’ [-Wbuiltin-declaration-mismatch] 15 | char bzero(); | ^~~~~ /tmp/petsc-qj8bmjby/config.functions/conftest.c:22:6: warning: conflicting types for built-in function ‘strcasecmp’; expected ‘int(const char *, const char *)’ [-Wbuiltin-declaration-mismatch] 22 | char strcasecmp(); | ^~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlsym(); char getrusage(); char bzero(); char rand(); char gethostname(); char dlerror(); char memalign(); char uname(); char time(); char strcasecmp(); char realpath(); char gethostbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_DLSYM" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_RAND" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_TIME" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_GETHOSTBYNAME" to "1" Checking for functions [_set_output_format] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _set_output_format(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status: Checking for functions [_pipe] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _pipe(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__pipe) || defined (__stub____pipe) _pipe_will_always_fail_with_ENOSYS(); #else _pipe(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_pipe' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_pipe' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_pipe' collect2: error: ld returned 1 exit status: Checking for functions [_lseek] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_lseek' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_lseek' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_lseek' collect2: error: ld returned 1 exit status: Checking for functions [_access] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_access' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_access' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_access' collect2: error: ld returned 1 exit status: Checking for functions [_mkdir] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _mkdir(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__mkdir) || defined (__stub____mkdir) _mkdir_will_always_fail_with_ENOSYS(); #else _mkdir(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_mkdir' collect2: error: ld returned 1 exit status: Checking for functions [sleep] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [fpsetsticky] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fpsetsticky(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_fpsetsticky) || defined (__stub___fpsetsticky) fpsetsticky_will_always_fail_with_ENOSYS(); #else fpsetsticky(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `fpsetsticky' collect2: error: ld returned 1 exit status: Checking for functions [_snprintf] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status: Checking for functions [fpresetsticky] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fpresetsticky(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_fpresetsticky) || defined (__stub___fpresetsticky) fpresetsticky_will_always_fail_with_ENOSYS(); #else fpresetsticky(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `fpresetsticky' collect2: error: ld returned 1 exit status: Checking for functions [getcwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [stricmp] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `stricmp' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `stricmp' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `stricmp' collect2: error: ld returned 1 exit status: Checking for functions [sbreak] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `sbreak' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `sbreak' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `sbreak' collect2: error: ld returned 1 exit status: Checking for functions [access] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [_sleep] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_sleep' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_sleep' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_sleep' collect2: error: ld returned 1 exit status: Checking for functions [getwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): warning: the `getwd' function is dangerous and should not be used. Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): warning: the `getwd' function is dangerous and should not be used. : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): warning: the `getwd' function is dangerous and should not be used.: Checking for functions [snprintf] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.functions/conftest.c:13:6: warning: conflicting types for built-in function ‘snprintf’; expected ‘int(char *, long unsigned int, const char *, ...)’ [-Wbuiltin-declaration-mismatch] 13 | char snprintf(); | ^~~~~~~~ /tmp/petsc-qj8bmjby/config.functions/conftest.c:6:1: note: ‘snprintf’ is declared in header ‘’ 5 | #include +++ |+#include 6 | /* Override any gcc2 internal prototype to avoid an error. */ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [lseek] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [PXFGETARG] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status: Checking for functions [_getcwd] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.functions/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkMmap from config.functions(config/BuildSystem/config/functions.py:179) Check for functional mmap() to allocate shared memory and define HAVE_MMAP ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.functions/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { int fd; fd=open("/tmp/file",O_RDWR); mmap((void*)0,100,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.functions/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.functions/conftest.o -lstdc++ -ldl Defined "HAVE_MMAP" to "1" child config.functions 3.811670 ============================================================================================= TESTING: configureMemorySize from config.utilities.getResidentSetSize(config/BuildSystem/config/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() child config.utilities.getResidentSetSize 0.001970 ============================================================================================= TESTING: configureFortranCommandLine from config.utilities.fortranCommandLine(config/BuildSystem/config/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Checking for functions [] in library [''] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.F90 Successful compile: Source: program main integer i character*(80) arg i = command_argument_count() call get_command_argument(i,arg) end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lstdc++ -ldl Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" child config.utilities.fortranCommandLine 0.150979 ============================================================================================= TESTING: configureFPTrap from config.utilities.FPTrap(config/BuildSystem/config/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: sigfpe.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: Checking for header: fpxcp.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: fpxcp.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated.: Checking for header: floatingpoint.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: floatingpoint.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated.: child config.utilities.FPTrap 0.073621 ============================================================================================= TESTING: configureFeatureTestMacros from config.utilities.featureTestMacros(config/BuildSystem/config/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c:4:10: fatal error: sysctl.h: No such file or directory 4 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: stderr: In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c:4: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _DEFAULT_SOURCE #include int main() { ; return 0; } Defined "_DEFAULT_SOURCE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0;; return 0; } Defined "_GNU_SOURCE" to "1" child config.utilities.featureTestMacros 0.287181 ============================================================================================= TESTING: configureMissingUtypeTypedefs from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:55) Checks if u_short is undefined ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c:6:9: warning: unused variable ‘foo’ [-Wunused-variable] 6 | u_short foo; | ^~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ============================================================================================= TESTING: configureMissingFunctions from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:61) Checks for SOCKETS ============================================================================================= TESTING: configureMissingSignals from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:79) Check for missing signals, and define MISSING_ if necessary ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ============================================================================================= TESTING: configureMissingGetdomainnamePrototype from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:96) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -lstdc++ -ldl ============================================================================================= TESTING: configureMissingSrandPrototype from config.utilities.missing(config/BuildSystem/config/utilities/missing.py:121) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.missing -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if !defined(_BSD_SOURCE) #define _BSD_SOURCE #endif #if !defined(_DEFAULT_SOURCE) #define _DEFAULT_SOURCE #endif #if !defined(_GNU_SOURCE) #define _GNU_SOURCE #endif #include int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.utilities.missing/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.utilities.missing/conftest.o -lstdc++ -ldl child config.utilities.missing 1.875580 ============================================================================================= TESTING: checkSharedDynamicPicOptions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:34) ============================================================================================= TESTING: configureSharedLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:49) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Executing: uname -s stdout: Linux Defined make rule "shared_arch" with dependencies "shared_linux" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).$(SL_LINKER_SUFFIX).$(2)" Defined make macro "SL_LINKER_FUNCTION" to " -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))" Executing: mpicc -v Defined make macro "BUILDSHAREDLIB" to "yes" Defined "USE_SHARED_LIBRARIES" to "1" ============================================================================================= TESTING: configureDynamicLibraries from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:93) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ============================================================================================= TESTING: configureSerializedFunctions from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:99) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ============================================================================================= TESTING: checkSymbolResolution from PETSc.options.sharedLibraries(config/PETSc/options/sharedLibraries.py:108) Checks that dladdr() works ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include #include int main() { Dl_info info; if (dladdr(exit, &info)) return 0; ; return 0; } Defined "HAVE_DLADDR" to "1" Checking for header: cxxabi.h Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types /tmp/petsc-qj8bmjby/config.headers/conftest.c Possible ERROR while running preprocessor: exit code 1 stdout: # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.headers/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.headers/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.headers/conftest.c" 2 stderr: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated. : Preprocess output after filtering: /tmp/petsc-qj8bmjby/config.headers/conftest.c:3:10: fatal error: cxxabi.h: No such file or directory 3 | #include | ^~~~~~~~~~ compilation terminated.: child PETSc.options.sharedLibraries 0.116297 ============================================================================================= TESTING: configureScalarType from PETSc.options.scalarTypes(config/PETSc/options/scalarTypes.py:39) Choose between real and complex numbers Defined "USE_COMPLEX" to "1" Scalar type is complex ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c:6:21: warning: unused variable ‘a’ [-Wunused-variable] 6 | double b = 2.0; int a = isnormal(b); | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnormal(b); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNORMAL" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c:6:21: warning: unused variable ‘a’ [-Wunused-variable] 6 | double b = 2.0; int a = isnan(b); | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isnan(b); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISNAN" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.c:6:21: warning: unused variable ‘a’ [-Wunused-variable] 6 | double b = 2.0; int a = isinf(b); | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { double b = 2.0; int a = isinf(b); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.options.scalarTypes/conftest.o -lstdc++ -ldl Defined "HAVE_ISINF" to "1" ============================================================================================= TESTING: configurePrecision from PETSc.options.scalarTypes(config/PETSc/options/scalarTypes.py:80) Set the default real number precision for PETSc objects Checking C compiler works with __float128 Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_logq’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:5:43: warning: ‘f’ is used uninitialized in this function [-Wuninitialized] 5 | static void _check_logq() { __float128 f; logq(f);; } | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_logq’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:5:43: warning: ‘f’ is used uninitialized in this function [-Wuninitialized] 5 | static void _check_logq() { __float128 f; logq(f);; } | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } void dummy(void) {_check_logq();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lquadmath -lstdc++ -ldl Defined "HAVE_LIBQUADMATH" to "1" C compiler with quadmath library Checking Fortran works with quadmath library Checking for functions [ ] in library ['quadmath'] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.F90 Successful compile: Source: program main real*16 s,w; w = 2.0 ;s = cos(w) end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Fortran works with quadmath library Checking for functions [logq] in library ['quadmath'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c: In function ‘_check_logq’: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:5:43: warning: ‘f’ is used uninitialized in this function [-Wuninitialized] 5 | static void _check_logq() { __float128 f; logq(f);; } | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } int main() { _check_logq();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.compilers/conftest.c: In function ‘_check_logq’: /tmp/petsc-qj8bmjby/config.compilers/conftest.c:5:43: warning: ‘f’ is used uninitialized in this function [-Wuninitialized] 5 | static void _check_logq() { __float128 f; logq(f);; } | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_logq() { __float128 f; logq(f);; } void dummy(void) {_check_logq();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lquadmath -lstdc++ -ldl Defined "HAVE_LIBQUADMATH" to "1" Adding ['quadmath'] to LIBS Defined "HAVE_REAL___FLOAT128" to "1" Defined "USE_REAL_DOUBLE" to "1" Defined make macro "PETSC_SCALAR_SIZE" to "64" Precision is double child PETSc.options.scalarTypes 1.215205 ============================================================================================= TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories 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(config/BuildSystem/config/programs.py:44) Check for autoreconf 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...found Executing: ['/usr/bin/autoreconf'] autoreconf test successful! 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 /usr/games/libtoolize...not found Checking for program /usr/local/games/libtoolize...not found Checking for program /snap/bin/libtoolize...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/libtoolize...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 /usr/games/glibtoolize...not found Checking for program /usr/local/games/glibtoolize...not found Checking for program /snap/bin/glibtoolize...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/glibtoolize...not found ============================================================================================= TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:71) Check for the programs needed to build and run PETSc 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 /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-qj8bmjby/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" 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 /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 /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 /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 /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-qj8bmjby/config.programs/diff1" "/tmp/petsc-qj8bmjby/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 /home/hao/src/git/PETScbak/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 /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 2.426625 ============================================================================================= TESTING: consistencyChecks from config.packages.make(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default ============================================================================================= TESTING: configureMake from config.packages.make(config/BuildSystem/config/packages/make.py:96) Check Guesses for GNU make Executing: gmake --version GNUMake check failed: Could not execute "['gmake --version']": /bin/sh: 1: gmake: not found Executing: make --version stdout: GNU Make 4.2.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Checking for program /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" to "/usr/bin/make" 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" ============================================================================================= TESTING: setupGNUMake from config.packages.make(config/BuildSystem/config/packages/make.py:150) Setup other GNU make stuff Executing: uname -s stdout: Linux Executing: uname -s stdout: Linux Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/make --print-directory" Defined make macro "OMAKE" to "/usr/bin/make --no-print-directory" Defined make macro "MAKE_PAR_OUT_FLG" to "--output-sync=recurse" ============================================================================================= TESTING: configureMakeNP from config.packages.make(config/BuildSystem/config/packages/make.py:197) 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 0.028767 ============================================================================================= TESTING: consistencyChecks from config.packages.hip(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.hip 0.001220 ============================================================================================= TESTING: consistencyChecks from config.packages.X(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.X(config/BuildSystem/config/package.py:928) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional X Checking for library in Compiler specific search X: [] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `XSetWMName' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): 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(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['libX11.a'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char XSetWMName(); static void _check_XSetWMName() { XSetWMName(); } int main() { _check_XSetWMName();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lX11 -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lX11 collect2: error: ld returned 1 exit status: X: SearchDir DirPath not found.. skipping: /opt/X11 X: SearchDir DirPath not found.. skipping: /Developer/SDKs/MacOSX10.5.sdk/usr/X11 X: SearchDir DirPath not found.. skipping: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6 X: SearchDir DirPath not found.. skipping: /usr/X11 X: SearchDir DirPath not found.. skipping: /usr/X11R6 X: SearchDir DirPath not found.. skipping: /usr/X11R5 X: SearchDir DirPath not found.. skipping: /usr/X11R4 X: SearchDir DirPath not found.. skipping: /usr/local/X11 X: SearchDir DirPath not found.. skipping: /usr/local/X11R6 X: SearchDir DirPath not found.. skipping: /usr/local/X11R5 X: SearchDir DirPath not found.. skipping: /usr/local/X11R4 X: SearchDir DirPath not found.. skipping: /usr/X386 X: SearchDir DirPath not found.. skipping: /usr/x386 X: SearchDir DirPath not found.. skipping: /usr/XFree86/X11 Checking for library in Package specific search directory X: ['/usr/local/lib/libX11.a'] Contents of /usr/local: ['etc', 'share', 'sbin', 'lib', 'man', 'cuda', 'bin', 'src', 'include', 'games', 'cuda-11.4'] Contents /usr/local/lib: ['mpi_f08_types.mod', 'libmpi_usempi_ignore_tkr.la', 'pkgconfig', 'libmca_common_sm.so.40', 'libmpi_usempif08.so.40.21.0', 'libmpi_usempif08.so', 'pmix', 'libmca_common_sm.so', 'libmca_common_ompio.so.41.19.3', 'libmca_common_ompio.so', 'libopen-rte.so', 'mpi_f08_interfaces_callbacks.mod', 'libmca_common_ompio.so.41', 'libmpi_usempi_ignore_tkr.so.40', 'libmca_common_monitoring.so', 'libmca_common_sm.so.40.20.0', 'mpi_ext.mod', 'mpi_f08_interfaces.mod', 'libmpi_mpifh.la', 'libmca_common_monitoring.la', 'libopen-pal.so.40.20.3', 'libompitrace.so.40.20.0', 'libmpi_mpifh.so', 'pmpi_f08_interfaces.mod', 'libopen-rte.la', 'libopen-rte.so.40.20.3', 'openmpi', 'libmpi_mpifh.so.40.20.2', 'libopen-pal.la', 'mpi_f08_callbacks.mod', 'ompi_monitoring_prof.so', 'libmpi.so.40.20.3', 'libompitrace.la', 'libopen-pal.so.40', 'libmca_common_dstore.so', 'libmca_common_cuda.so', 'libmpi_usempif08.la', 'mpi.mod', 'libmpi.la', 'libmca_common_dstore.la', 'libmpi_usempi_ignore_tkr.so', 'libmca_common_monitoring.so.50', 'libmpi_mpifh.so.40', 'libmca_common_ompio.la', 'libmca_common_dstore.so.1', 'libmca_common_sm.la', 'libmca_common_monitoring.so.50.10.0', 'libmpi_usempi_ignore_tkr.so.40.20.0', 'libmpi.so.40', 'libopen-pal.so', 'python3.8', 'ompi_monitoring_prof.la', 'libmca_common_dstore.so.1.0.2', 'libompitrace.so.40', 'mpi_f08_ext.mod', 'libopen-rte.so.40', 'libmca_common_cuda.so.40', 'libmca_common_cuda.so.40.20.0', 'libmca_common_cuda.la', 'libmpi_usempif08.so.40', 'libmpi.so', 'mpi_f08.mod', 'libompitrace.so'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [XSetWMName] in library ['/usr/local/lib/libX11.a'] [] Checking directory of requested libraries:/usr/local/lib for first library:libX11. Files in directory:['mpi_f08_types.mod', 'libmpi_usempi_ignore_tkr.la', 'pkgconfig', 'libmca_common_sm.so.40', 'libmpi_usempif08.so.40.21.0', 'libmpi_usempif08.so', 'pmix', 'libmca_common_sm.so', 'libmca_common_ompio.so.41.19.3', 'libmca_common_ompio.so', 'libopen-rte.so', 'mpi_f08_interfaces_callbacks.mod', 'libmca_common_ompio.so.41', 'libmpi_usempi_ignore_tkr.so.40', 'libmca_common_monitoring.so', 'libmca_common_sm.so.40.20.0', 'mpi_ext.mod', 'mpi_f08_interfaces.mod', 'libmpi_mpifh.la', 'libmca_common_monitoring.la', 'libopen-pal.so.40.20.3', 'libompitrace.so.40.20.0', 'libmpi_mpifh.so', 'pmpi_f08_interfaces.mod', 'libopen-rte.la', 'libopen-rte.so.40.20.3', 'openmpi', 'libmpi_mpifh.so.40.20.2', 'libopen-pal.la', 'mpi_f08_callbacks.mod', 'ompi_monitoring_prof.so', 'libmpi.so.40.20.3', 'libompitrace.la', 'libopen-pal.so.40', 'libmca_common_dstore.so', 'libmca_common_cuda.so', 'libmpi_usempif08.la', 'mpi.mod', 'libmpi.la', 'libmca_common_dstore.la', 'libmpi_usempi_ignore_tkr.so', 'libmca_common_monitoring.so.50', 'libmpi_mpifh.so.40', 'libmca_common_ompio.la', 'libmca_common_dstore.so.1', 'libmca_common_sm.la', 'libmca_common_monitoring.so.50.10.0', 'libmpi_usempi_ignore_tkr.so.40.20.0', 'libmpi.so.40', 'libopen-pal.so', 'python3.8', 'ompi_monitoring_prof.la', 'libmca_common_dstore.so.1.0.2', 'libompitrace.so.40', 'mpi_f08_ext.mod', 'libopen-rte.so.40', 'libmca_common_cuda.so.40', 'libmca_common_cuda.so.40.20.0', 'libmca_common_cuda.la', 'libmpi_usempif08.so.40', 'libmpi.so', 'mpi_f08.mod', 'libompitrace.so'] X: DirPath not found.. skipping: /usr/local/lib64 X: SearchDir DirPath not found.. skipping: /usr/local/x11r5 X: SearchDir DirPath not found.. skipping: /usr/lpp/Xamples X: SearchDir DirPath not found.. skipping: /usr/openwin X: SearchDir DirPath not found.. skipping: /usr/openwin/share ============================================================================================= TESTING: checkVersion from config.packages.X(config/BuildSystem/config/package.py:1069) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version For x unable to run preprocessor to obtain version information, skipping version check ============================================================================================= TESTING: checkSharedLibrary from config.packages.X(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.X 0.228792 ============================================================================================= TESTING: consistencyChecks from config.packages.hwloc(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.hwloc 0.002493 ============================================================================================= TESTING: consistencyChecks from config.packages.thrust(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.thrust 0.002100 ============================================================================================= TESTING: consistencyChecks from config.packages.cuda(config/BuildSystem/config/package.py:1002) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: checkDependencies from config.packages.cuda(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.cuda(config/BuildSystem/config/packages/cuda.py:179) Checking for program /usr/local/cuda/bin/nvcc...found Defined make macro "SYSTEMNVCC" to "/usr/local/cuda/bin/nvcc" ================================================================================== Checking for a functional cuda CUDA: UserSpecified DirPath not found.. skipping: /usr/local/cuda/lib Checking for library in User specified root directory CUDA: ['/usr/local/cuda/lib64/libcuda.a', 'libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] Contents of /usr/local/cuda: ['nsight-compute-2021.2.2', 'samples', 'extras', 'nsight-systems-2021.3.2', 'version.json', 'share', 'nsightee_plugins', 'README', 'EULA.txt', 'DOCS', 'nvml', 'bin', 'nvvm', 'lib64', 'libnvvp', 'src', 'include', 'tools', 'compute-sanitizer', 'targets'] Contents /usr/local/cuda/lib64: ['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [cublasInit cufftDestroy] in library ['/usr/local/cuda/lib64/libcuda.a', 'libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] [] Checking directory of requested libraries:/usr/local/cuda/lib64 for first library:libcuda. Files in directory:['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] Checking for library in User specified root directory CUDA: ['/usr/local/cuda/lib64/cuda.lib', '/usr/local/cuda/lib64/cudart.lib', '/usr/local/cuda/lib64/cufft.lib', '/usr/local/cuda/lib64/cublas.lib', '/usr/local/cuda/lib64/cusparse.lib', '/usr/local/cuda/lib64/cusolver.lib', '/usr/local/cuda/lib64/curand.lib'] Contents of /usr/local/cuda: ['nsight-compute-2021.2.2', 'samples', 'extras', 'nsight-systems-2021.3.2', 'version.json', 'share', 'nsightee_plugins', 'README', 'EULA.txt', 'DOCS', 'nvml', 'bin', 'nvvm', 'lib64', 'libnvvp', 'src', 'include', 'tools', 'compute-sanitizer', 'targets'] Contents /usr/local/cuda/lib64: ['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [cublasInit cufftDestroy] in library ['/usr/local/cuda/lib64/cuda.lib', '/usr/local/cuda/lib64/cudart.lib', '/usr/local/cuda/lib64/cufft.lib', '/usr/local/cuda/lib64/cublas.lib', '/usr/local/cuda/lib64/cusparse.lib', '/usr/local/cuda/lib64/cusolver.lib', '/usr/local/cuda/lib64/curand.lib'] [] Checking directory of requested libraries:/usr/local/cuda/lib64 for first library:cuda.li Files in directory:['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] Checking for library in User specified root directory CUDA: ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] Contents of /usr/local/cuda: ['nsight-compute-2021.2.2', 'samples', 'extras', 'nsight-systems-2021.3.2', 'version.json', 'share', 'nsightee_plugins', 'README', 'EULA.txt', 'DOCS', 'nvml', 'bin', 'nvvm', 'lib64', 'libnvvp', 'src', 'include', 'tools', 'compute-sanitizer', 'targets'] Contents /usr/local/cuda/lib64: ['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [cublasInit cufftDestroy] in library ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] [] Checking directory of requested libraries:/usr/local/cuda/lib64 for first library:libcudart. Files in directory:['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cublasInit(); static void _check_cublasInit() { cublasInit(); } char cufftDestroy(); static void _check_cufftDestroy() { cufftDestroy(); } int main() { _check_cublasInit(); _check_cufftDestroy();; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.libraries/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cublasInit(); static void _check_cublasInit() { cublasInit(); } char cufftDestroy(); static void _check_cufftDestroy() { cufftDestroy(); } void dummy(void) {_check_cublasInit(); _check_cufftDestroy();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl Defined "HAVE_LIBCUDART" to "1" Defined "HAVE_LIBCUFFT" to "1" Defined "HAVE_LIBCUBLAS" to "1" Defined "HAVE_LIBCUSPARSE" to "1" Defined "HAVE_LIBCUSOLVER" to "1" Defined "HAVE_LIBCURAND" to "1" ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [cusolverDnDpotri] in library ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] [] Checking directory of requested libraries:/usr/local/cuda/lib64 for first library:libcudart. Files in directory:['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cusolverDnDpotri(); static void _check_cusolverDnDpotri() { cusolverDnDpotri(); } int main() { _check_cusolverDnDpotri();; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.libraries/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char cusolverDnDpotri(); static void _check_cusolverDnDpotri() { cusolverDnDpotri(); } void dummy(void) {_check_cusolverDnDpotri();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl Defined "HAVE_CUSOLVERDNDPOTRI" to "1" Checking for optional headers [] in User specified root directory CUDA: ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Found header files [] in ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Checking for headers ['cublas.h', 'cufft.h', 'cusparse.h', 'cusolverDn.h', 'curand.h', 'thrust/version.h'] in User specified root directory CUDA: ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['cublas.h', 'cufft.h', 'cusparse.h', 'cusolverDn.h', 'curand.h', 'thrust/version.h'] in ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Checking include with compiler flags var CXXPPFLAGS ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CXXPPFLAGS ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CXXPPFLAGS ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CXXPPFLAGS ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CXXPPFLAGS ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Checking include with compiler flags var CXXPPFLAGS ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/usr/local/cuda/include -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.cc Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['cublas.h', 'cufft.h', 'cusparse.h', 'cusolverDn.h', 'curand.h', 'thrust/version.h'] in ['/usr/local/cuda/include', '/usr/local/include', '/usr/local/lib'] Checking for size of type: teststruct ===== Checking compiler Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.types/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include typedef struct {double a; int b;} teststruct; char assert_sizeof[(sizeof(teststruct)==16)*2-1]; Checking for size of type: teststruct ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include typedef struct {double a; int b;} teststruct; char assert_sizeof[(sizeof(teststruct)==16)*2-1]; Checking if sizeof(void*) in CUDA is the same as with regular compiler Checking for size of type: void * ===== Checking compiler Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.types/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include char assert_sizeof[(sizeof(void *)==8)*2-1]; ===== Checking compiler Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.packages.cuda -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if THRUST_VERSION < 100908 #error "thrust version is too low" #endif int main() { ; return 0; } Checking for program /usr/local/cuda/extras/demo_suite/deviceQuery...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/deviceQuery...not found Unable to find programs: ['deviceQuery'] in listing of the specific search path: ['/usr/local/cuda/extras/demo_suite'] Warning accessing /usr/local/cuda/extras/demo_suite gives errors: [Errno 2] No such file or directory: '/usr/local/cuda/extras/demo_suite' ===== Checking linker Executing: /usr/local/cuda/bin/nvcc -c -o /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.packages.cuda -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -Wno-deprecated-gpu-targets /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.cu Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { int cerr; cudaDeviceProp dp; cerr = cudaGetDeviceProperties(&dp, 0); if (cerr) printf("Error calling cudaGetDeviceProperties\n"); else printf("%d\n",10*dp.major+dp.minor); return(cerr);; return 0; } Executing: /usr/local/cuda/bin/nvcc -o /tmp/petsc-qj8bmjby/config.packages.cuda/conftest -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.o Testing executable /tmp/petsc-qj8bmjby/config.packages.cuda/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.packages.cuda/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.packages.cuda/conftest stdout: 61 petsc-supplied CUDA device query test output: 61, status: 0 petsc-supplied CUDA device query test found the CUDA Capability is 61 Defined "CUDA_GENERATION" to "61" Defined "HAVE_CUDA" to "1" Defined "HAVE_CUPM" to "1" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "cuda.h" petscpkgver(CUDA_VERSION); Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.packages.cuda -I/usr/local/cuda/include /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.cc For cuda need 7.5 <= 11.4 <= Defined "HAVE_CUDA_VERSION_11PLUS" to "1" Executing: /usr/local/cuda/bin/nvcc -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -gencode arch=compute_61,code=sm_61 --dryrun dummy.cu 2>&1 | grep D__CUDACC__ | head -1 | cut -f2 -d" " stdout: mpicxx Determined the compiler nvcc uses is mpicxx PETSc C compiler mpicc PETSc C++ compiler mpicxx Defined make macro "CUDA_CXXFLAGS" to "-fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx" Defined make macro "CUDA_CXX" to "mpicxx" ============================================================================================= TESTING: checkVersion from config.packages.cuda(config/BuildSystem/config/package.py:1069) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version Preprocessing source: #include "confdefs.h" #include "conffix.h" #include "cuda.h" petscpkgver(CUDA_VERSION); Executing: mpicxx -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.packages.cuda -I/usr/local/cuda/include /tmp/petsc-qj8bmjby/config.packages.cuda/conftest.cc For cuda need 7.5 <= 11.4 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.cuda(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.cuda 7.757167 ============================================================================================= TESTING: consistencyChecks from config.packages.OpenMPI(config/BuildSystem/config/package.py:1002) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.OpenMPI(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.OpenMPI 0.001782 ============================================================================================= TESTING: consistencyChecks from config.packages.MPICH(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.MPICH 0.001519 ============================================================================================= TESTING: consistencyChecks from config.packages.MPI(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:758) ================================================================================== Checking for a functional MPI Checking for library in Compiler specific search MPI: [] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library [] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } void dummy(void) {_check_MPI_Init(); _check_MPI_Comm_create();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl Checking for optional headers [] in Compiler specific search MPI: ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/usr/local/include', '/usr/local/lib'] Found header files [] in ['/usr/local/include', '/usr/local/lib'] Checking for headers ['mpi.h'] in Compiler specific search MPI: ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in ['/usr/local/include', '/usr/local/lib'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include', '/usr/local/lib', '/usr/local/cuda/include'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types -I/usr/local/include -I/usr/local/lib -I/usr/local/cuda/include /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['mpi.h'] in ['/usr/local/include', '/usr/local/lib'] Defined "HAVE_MPI_F90MODULE_VISIBILITY" to "1" ============================================================================================= TESTING: checkMPIDistro from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:574) Determine if MPICH_NUMVERSION, OMPI_MAJOR_VERSION or MSMPI_VER exist in mpi.h Used for consistency checking of MPI installation at compile time ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:4:25: error: ‘I_MPI_VERSION’ undeclared here (not in a function); did you mean ‘MPI_VERSION’? 4 | 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() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:4:17: error: ‘I_MPI_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? 4 | int mpich_ver = I_MPI_NUMVERSION; | ^~~~~~~~~~~~~~~~ | MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = I_MPI_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:4:17: error: ‘MVAPICH2_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? 4 | int mpich_ver = MVAPICH2_NUMVERSION; | ^~~~~~~~~~~~~~~~~~~ | MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MVAPICH2_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:4:17: error: ‘MPICH_NUMVERSION’ undeclared here (not in a function); did you mean ‘MPI_SUBVERSION’? 4 | int mpich_ver = MPICH_NUMVERSION; | ^~~~~~~~~~~~~~~~ | MPI_SUBVERSION Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:4:1: error: unknown type name ‘MPI_NEC_Function’; did you mean ‘MPI_Copy_function’? 4 | MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; | ^~~~~~~~~~~~~~~~ | MPI_Copy_function /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:4:22: error: ‘MPI_NEC_FUNCTION_NULL’ undeclared here (not in a function) 4 | MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; | ^~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include MPI_NEC_Function f = MPI_NEC_FUNCTION_NULL; int main() { ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/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() { ; 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: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.packages.MPI /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Defined "HAVE_OMPI_MAJOR_VERSION" to "4" Defined "HAVE_OMPI_MINOR_VERSION" to "0" Defined "HAVE_OMPI_RELEASE_VERSION" to "3" Executing: uname -s stdout: Linux ============================================================================================= TESTING: configureMPI2 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:352) Check for functions added to the interface in MPI-2 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int flag;if (MPI_Finalized(&flag)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_FINALIZED" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Allreduce(MPI_IN_PLACE,0, 1, MPI_INT, MPI_SUM, MPI_COMM_SELF)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_IN_PLACE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={MPI_INT,MPI_DOUBLE}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/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] 6 | 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() { 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: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Reduce_local(0, 0, 0, MPI_INT, MPI_SUM));; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_REDUCE_LOCAL" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { char version[MPI_MAX_LIBRARY_VERSION_STRING];int verlen;if (MPI_Get_library_version(version,&verlen)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_GET_LIBRARY_VERSION" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int base[100]; MPI_Win win; if (MPI_Win_create(base,100,4,MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_WIN_CREATE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:6:30: warning: ‘win’ is used uninitialized in this function [-Wuninitialized] 6 | int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Accumulate(ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_REPLACE,win)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_ONE_SIDED" to "1" ============================================================================================= TESTING: configureMPI3 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:399) Check for functions added to the interface in MPI-3 ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm scomm; MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Comm_split_type(MPI_COMM_WORLD, MPI_COMM_TYPE_SHARED, 0, MPI_INFO_NULL, &scomm)); if (MPI_Win_allocate_shared(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_shared_query(win,0,&size,&disp_unit,&baseptr)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_PROCESS_SHARED_MEMORY" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint size=128; int disp_unit=8,*baseptr; MPI_Win win; if (MPI_Win_allocate(size,disp_unit,MPI_INFO_NULL,MPI_COMM_WORLD,&baseptr,&win)); if (MPI_Win_attach(win,baseptr,size)); if (MPI_Win_create_dynamic(MPI_INFO_NULL,MPI_COMM_WORLD,&win)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_FEATURE_DYNAMIC_WINDOW" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:7:24: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7 | if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); | ^~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:8:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 8 | if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); | ^~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int send=0,recv,counts[2]={1,1},displs[2]={1,2}; MPI_Request req; if (MPI_Iscatter(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Iscatterv(&send,counts,displs,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Igather(&send,1,MPI_INT,&recv,1,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Igatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,0,MPI_COMM_WORLD,&req)); if (MPI_Iallgather(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); if (MPI_Iallgatherv(&send,1,MPI_INT,&recv,counts,displs,MPI_INT,MPI_COMM_WORLD,&req)); if (MPI_Ialltoall(&send,1,MPI_INT,&recv,1,MPI_INT,MPI_COMM_WORLD,&req)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_NONBLOCKING_COLLECTIVES" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm distcomm; MPI_Request req; if (MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD,0,0,MPI_WEIGHTS_EMPTY,0,0,MPI_WEIGHTS_EMPTY,MPI_INFO_NULL,0,&distcomm)); if (MPI_Neighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm)); if (MPI_Ineighbor_alltoallv(0,0,0,MPI_INT,0,0,0,MPI_INT,distcomm,&req)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_NEIGHBORHOOD_COLLECTIVES" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(MPIX_CUDA_AWARE_SUPPORT) && MPIX_CUDA_AWARE_SUPPORT #else #error This OpenMPI is not CUDA-aware #endif int main() { ; return 0; } Defined "HAVE_MPI_GPU_AWARE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:6:30: warning: ‘win’ is used uninitialized in this function [-Wuninitialized] 6 | int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; if (MPI_Get_accumulate(ptr,1,MPI_INT,ptr,1,MPI_INT,0,0,1,MPI_INT,MPI_SUM,win)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_GET_ACCUMULATE" to "1" ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:6:47: warning: ‘win’ is used uninitialized in this function [-Wuninitialized] 6 | int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ptr[1]; MPI_Win win; MPI_Request req; if (MPI_Rget(ptr,1,MPI_INT,0,1,1,MPI_INT,win,&req)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_RGET" to "1" ============================================================================================= TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:185) Checking for location of mpiexec Checking for program /usr/local/sbin/mpiexec...not found Checking for program /usr/local/sbin/mpirun...not found Checking for program /usr/local/sbin/mprun...not found Checking for program /usr/local/sbin/srun...not found Checking for program /usr/local/bin/mpiexec...found Running Executable with threads to time it out at 60 Executing: mpiexec -help all stdout: mpiexec (OpenRTE) 4.0.3 Usage: mpiexec [OPTION]... [PROGRAM]... Start the given program using Open RTE -allow-run-as-root|--allow-run-as-root Allow execution as root (STRONGLY DISCOURAGED) -am Aggregate MCA parameter set file list --app Provide an appfile; ignore all other command line options --bind-to Policy for binding processes. Allowed values: none, hwthread, core, l1cache, l2cache, l3cache, socket, numa, board, cpu-list ("none" is the default when oversubscribed, "core" is the default when np<=2, and "socket" is the default when np>2). Allowed qualifiers: overload-allowed, if-supported, ordered -bind-to-core|--bind-to-core Bind processes to cores -bind-to-socket|--bind-to-socket Bind processes to sockets -bycore|--bycore Whether to map and rank processes round-robin by core -bynode|--bynode Whether to map and rank processes round-robin by node -byslot|--byslot Whether to map and rank processes round-robin by slot -c|-np|--np Number of processes to run -cf|--cartofile Provide a cartography file -continuous|--continuous Job is to run until explicitly terminated -cpu-list|--cpu-list List of processor IDs to bind processes to [default=NULL] -cpu-set|--cpu-set Comma-separated list of ranges specifying logical cpus allocated to this job [default: none] -cpus-per-proc|--cpus-per-proc Number of cpus to use for each process [default=1] -cpus-per-rank|--cpus-per-rank Synonym for cpus-per-proc -d|-debug-devel|--debug-devel Enable debugging of OpenRTE -debug|--debug Invoke the user-level debugger indicated by the orte_base_user_debugger MCA parameter -debug-daemons|--debug-daemons Enable debugging of any OpenRTE daemons used by this application -debug-daemons-file|--debug-daemons-file Enable debugging of any OpenRTE daemons used by this application, storing output in files -debugger|--debugger Sequence of debuggers to search for when "--debug" is used -default-hostfile|--default-hostfile Provide a default hostfile -disable-recovery|--disable-recovery Disable recovery (resets all recovery options to off) -display-allocation|--display-allocation Display the allocation being used by this job -display-devel-allocation|--display-devel-allocation Display a detailed list (mostly intended for developers) of the allocation being used by this job -display-devel-map|--display-devel-map Display a detailed process map (mostly intended for developers) just before launch -display-diffable-map|--display-diffable-map Display a diffable process map (mostly intended for developers) just before launch -display-map|--display-map Display the process map just before launch -display-topo|--display-topo Display the topology as part of the process map (mostly intended for developers) just before launch -do-not-launch|--do-not-launch Perform all necessary operations to prepare to launch the application, but do not actually launch it -do-not-resolve|--do-not-resolve Do not attempt to resolve interfaces -dvm|--dvm Create a persistent distributed virtual machine (DVM) -enable-instant-on-support|--enable-instant-on-support Enable PMIx-based instant on launch support (experimental) -enable-recovery|--enable-recovery Enable recovery from process failure [Default = disabled] -fwd-mpirun-port|--fwd-mpirun-port Forward mpirun port to compute node daemons so all will use it -get-stack-traces|--get-stack-traces Get stack traces of all application procs on timeout -gmca|--gmca Pass global MCA parameters that are applicable to all contexts (arg0 is the parameter name; arg1 is the parameter value) -h|--help This help message -H|-host|--host List of hosts to invoke processes on -hnp|--hnp Specify the URI of the HNP, or the name of the file (specified as file:filename) that contains that info -hostfile|--hostfile Provide a hostfile -index-argv-by-rank|--index-argv-by-rank Uniquely index argv[0] for each process using its rank -launch-agent|--launch-agent Command used to start processes on remote nodes (default: orted) -leave-session-attached|--leave-session-attached Enable debugging of OpenRTE -machinefile|--machinefile Provide a hostfile --map-by Mapping Policy [slot | hwthread | core | socket (default) | numa | board | node] -max-restarts|--max-restarts Max number of times to restart a failed process -max-vm-size|--max-vm-size Number of processes to run -mca|--mca Pass context-specific MCA parameters; they are considered global if --gmca is not used and only one context is specified (arg0 is the parameter name; arg1 is the parameter value) -merge-stderr-to-stdout|--merge-stderr-to-stdout Merge stderr to stdout for each process -N Launch n processes per node on all allocated nodes (synonym for 'map-by node') -n|--n Number of processes to run -nolocal|--nolocal Do not run any MPI applications on the local node -nooversubscribe|--nooversubscribe Nodes are not to be oversubscribed, even if the system supports such operation --noprefix Disable automatic --prefix behavior -novm|--novm Execute without creating an allocation-spanning virtual machine (only start daemons on nodes hosting application procs) -npernode|--npernode Launch n processes per node on all allocated nodes -npersocket|--npersocket Launch n processes per socket on all allocated nodes -ompi-server|--ompi-server Specify the URI of the publish/lookup server, or the name of the file (specified as file:filename) that contains that info -output-filename|--output-filename Redirect output from application processes into filename/job/rank/std[out,err,diag]. A relative path value will be converted to an absolute path -output-proctable|--output-proctable Output the debugger proctable after launch -oversubscribe|--oversubscribe Nodes are allowed to be oversubscribed, even on a managed system, and overloading of processing elements -path|--path PATH to be used to look for executables to start processes -pernode|--pernode Launch one process per available node -personality|--personality Comma-separated list of programming model, languages, and containers being used (default="ompi") --ppr Comma-separated list of number of processes on a given resource type [default: none] --prefix Prefix where Open MPI is installed on remote nodes --preload-files Preload the comma separated list of files to the remote machines current working directory before starting the remote process. -q|--quiet Suppress helpful messages --rank-by Ranking Policy [slot (default) | hwthread | core | socket | numa | board | node] -report-bindings|--report-bindings Whether to report process bindings to stderr -report-child-jobs-separately|--report-child-jobs-separately Return the exit status of the primary job only -report-events|--report-events Report events to a tool listening at the specified URI -report-pid|--report-pid Printout pid on stdout [-], stderr [+], or a file [anything else] -report-state-on-timeout|--report-state-on-timeout Report all job and process states upon timeout -report-uri|--report-uri Printout URI on stdout [-], stderr [+], or a file [anything else] -rf|--rankfile Provide a rankfile file -s|--preload-binary Preload the binary on the remote machine before starting the remote process. -set-cwd-to-session-dir|--set-cwd-to-session-dir Set the working directory of the started processes to their session directory -show-progress|--show-progress Output a brief periodic report on launch progress -stdin|--stdin Specify procs to receive stdin [rank, all, none] (default: 0, indicating rank 0) -tag-output|--tag-output Tag all output with [job,rank] -timeout|--timeout Timeout the job after the specified number of seconds -timestamp-output|--timestamp-output Timestamp all application process output -tune Application profile options file list -tv|--tv Deprecated backwards compatibility flag; synonym for "--debug" -use-hwthread-cpus|--use-hwthread-cpus Use hardware threads as independent cpus -use-regexp|--use-regexp Use regular expressions for launch -v|--verbose Be verbose -V|--version Print version and exit -wd|--wd Synonym for --wdir -wdir|--wdir Set the working directory of the started processes -x Export an environment variable, optionally specifying a value (e.g., "-x foo" exports the environment variable foo and takes its value from the current environment; "-x foo=bar" exports the environment variable name foo and sets its value to "bar" in the started processes) -xml|--xml Provide all output in XML format -xml-file|--xml-file Provide all output in XML format to the specified file -xterm|--xterm Create a new xterm window and display output from the specified ranks there For additional mpirun arguments, run 'mpirun --help ' The following categories exist: general (Defaults to this option), debug, output, input, mapping, ranking, binding, devel (arguments useful to OMPI Developers), compatibility (arguments supported for backwards compatibility), launch (arguments to modify launch options), and dvm (Distributed Virtual Machine arguments). Report bugs to http://www.open-mpi.org/community/help/ Checking for program /usr/local/sbin/mpiexec...not found Checking for program /usr/local/bin/mpiexec...found Defined make macro "MPIEXECEXECUTABLE" to "/usr/local/bin/mpiexec" Running Executable with threads to time it out at 120 Executing: mpiexec --oversubscribe -n 1 printenv stdout: OMPI_MCA_rmaps_base_oversubscribe=1 OMPI_MCA_pmix=^s1,s2,cray,isolated PMIX_MCA_mca_base_component_show_load_errors=1 OMPI_COMMAND=printenv OMPI_MCA_orte_precondition_transports=68dd0366b5bce403-ceffb5599469bc3e LESSOPEN=| /usr/bin/lesspipe %s USER=hao SSH_CLIENT=192.168.235.120 51076 22 XDG_SESSION_TYPE=tty SHLVL=2 MOTD_SHOWN=pam HOME=/home/hao OLDPWD=/home/hao/src/git/PETScbak/src SSH_TTY=/dev/pts/0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus LOGNAME=hao _=./configure XDG_SESSION_CLASS=user TERM=xterm-256color XDG_SESSION_ID=1 COLUMNS=120 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin XDG_RUNTIME_DIR=/run/user/1000 LANG=en_US.UTF-8 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=00: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:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=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:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=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:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: SHELL=/bin/bash LESSCLOSE=/usr/bin/lesspipe %s %s PWD=/home/hao/src/git/PETScbak SSH_CONNECTION=192.168.235.120 51076 10.0.1.4 22 XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop LINES=34 IPATH_NO_BACKTRACE=1 HFI_NO_BACKTRACE=1 OMPI_MCA_orte_local_daemon_uri=4070572032.0;tcp://10.0.1.4:56259 OMPI_MCA_orte_hnp_uri=4070572032.0;tcp://10.0.1.4:56259 OMPI_MCA_mpi_oversubscribe=0 OMPI_MCA_orte_app_num=0 OMPI_UNIVERSE_SIZE=16 OMPI_MCA_orte_num_nodes=1 OMPI_MCA_shmem_RUNTIME_QUERY_hint=mmap OMPI_MCA_orte_bound_at_launch=1 OMPI_MCA_ess=^singleton OMPI_MCA_orte_ess_num_procs=1 OMPI_COMM_WORLD_SIZE=1 OMPI_COMM_WORLD_LOCAL_SIZE=1 OMPI_MCA_orte_tmpdir_base=/tmp OMPI_MCA_orte_top_session_dir=/tmp/ompi.stratosphere.1000 OMPI_MCA_orte_jobfam_session_dir=/tmp/ompi.stratosphere.1000/pid.208624 OMPI_NUM_APP_CTX=1 OMPI_FIRST_RANKS=0 OMPI_APP_CTX_NUM_PROCS=1 OMPI_MCA_initial_wdir=/home/hao/src/git/PETScbak OMPI_MCA_orte_launch=1 PMIX_NAMESPACE=4070572033 PMIX_RANK=0 PMIX_SERVER_URI3=4070572032.0;tcp4://127.0.0.1:53919 PMIX_SERVER_URI2=4070572032.0;tcp4://127.0.0.1:53919 PMIX_SERVER_URI21=4070572032.0;tcp4://127.0.0.1:53919 PMIX_SECURITY_MODE=native PMIX_PTL_MODULE=tcp,usock PMIX_BFROP_BUFFER_TYPE=PMIX_BFROP_BUFFER_NON_DESC PMIX_GDS_MODULE=ds21,ds12,hash PMIX_SERVER_TMPDIR=/tmp/ompi.stratosphere.1000/pid.208624 PMIX_SYSTEM_TMPDIR=/tmp PMIX_DSTORE_21_BASE_PATH=/tmp/ompi.stratosphere.1000/pid.208624/pmix_dstor_ds21_208624 PMIX_DSTORE_ESH_BASE_PATH=/tmp/ompi.stratosphere.1000/pid.208624/pmix_dstor_ds12_208624 PMIX_HOSTNAME=stratosphere PMIX_VERSION=3.1.5 OMPI_MCA_ess_base_jobid=4070572033 OMPI_MCA_ess_base_vpid=0 OMPI_COMM_WORLD_RANK=0 OMPI_COMM_WORLD_LOCAL_RANK=0 OMPI_COMM_WORLD_NODE_RANK=0 OMPI_MCA_orte_ess_node_rank=0 PMIX_ID=4070572033.0 OMPI_FILE_LOCATION=/tmp/ompi.stratosphere.1000/pid.208624/0/0 Defined "HAVE_MPIEXEC_ENVIRONMENTAL_VARIABLE" to "OMP" Defined make macro "MPIEXEC" to "mpiexec --oversubscribe" Checking for program /usr/libexec/ApplicationFirewall/socketfilterfw...not found Checking for program /home/hao/src/git/PETScbak/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 /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: stratosphere Return code from hostname: 0 Hostname works, running network checks Checking for program /sbin/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" Executing: uname -s stdout: Linux Running Executable with threads to time it out at 60 Executing: ping -c 2 stratosphere stdout: PING stratosphere (127.0.1.1) 56(84) bytes of data. 64 bytes from stratosphere (127.0.1.1): icmp_seq=1 ttl=64 time=0.052 ms 64 bytes from stratosphere (127.0.1.1): icmp_seq=2 ttl=64 time=0.032 ms --- stratosphere ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.032/0.042/0.052/0.010 ms Return code from ping: 0 ============================================================================================= ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Init(0,0); MPI_Finalize(); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.packages.MPI/conftest to see if it can be run Executing: mpiexec --oversubscribe -n 1 /tmp/petsc-qj8bmjby/config.packages.MPI/conftest Running Executable with threads to time it out at 120 Executing: mpiexec --oversubscribe -n 1 /tmp/petsc-qj8bmjby/config.packages.MPI/conftest ============================================================================================= TESTING: configureMPITypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:456) Checking for MPI Datatype handles ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_LONG_DOUBLE" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int size; int ierr; MPI_Init(0,0); ierr = MPI_Type_size(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Defined "HAVE_MPI_INT64_T" to "1" ============================================================================================= TESTING: SGIMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:502) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); static void _check_MPI_SGI_barrier() { MPI_SGI_barrier(); } int main() { _check_MPI_SGI_barrier();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status: SGI MPI test failure ============================================================================================= TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:512) Make sure C++ can compile and link Checking for header mpi.h Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library [] [] ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/config.libraries -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/config.libraries/conftest.cc Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.cc: In function ‘void _check_MPI_Finalize()’: /tmp/petsc-qj8bmjby/config.libraries/conftest.cc:5:41: warning: variable ‘ierr’ set but not used [-Wunused-but-set-variable] 5 | static void _check_MPI_Finalize() { int ierr; | ^~~~ Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_MPI_Finalize() { int ierr; ierr = MPI_Finalize();; } int main() { _check_MPI_Finalize();; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/config.libraries/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ============================================================================================= TESTING: FortranMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:528) Make sure fortran include [mpif.h] and library symbols are found Checking for fortran mpi_init() Checking for functions [] in library [] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.F90 Successful compile: Source: program main #include "mpif.h" integer ierr call mpi_init(ierr) end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Checking for mpi.mod Checking for functions [] in library [] [] ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/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: mpif90 -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPI_F90MODULE" to "1" ============================================================================================= TESTING: configureIO from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:550) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:7:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7 | if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); | ^~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:9:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 9 | MPI_File fh; | ^~~~~~~~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:12:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 12 | if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); | ^~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:14:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 14 | if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); | ^~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:18:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 18 | if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); | ^~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:20:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 20 | if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); | ^~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:12:5: warning: ‘buf’ is used uninitialized in this function [-Wuninitialized] 12 | if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:18:5: warning: ‘disp’ is used uninitialized in this function [-Wuninitialized] 18 | if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:18:5: warning: ‘info’ is used uninitialized in this function [-Wuninitialized] Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); MPI_File fh; void *buf; MPI_Status status; if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); MPI_Offset disp; MPI_Info info; if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); if (MPI_File_close(&fh)); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_MPIIO" to "1" ============================================================================================= TESTING: findMPIIncludeAndLib from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:663) Find MPI include paths and libraries from "mpicc -show" or Cray "cc --cray-print-opts=cflags/libs" and save. Executing: mpicc --help 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: mpicc -show stdout: gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi compilers: Checking arg gcc compilers: Checking arg -I/usr/local/include compilers: Found include option: -I/usr/local/include compilers: Checking arg -pthread compilers: Checking arg -Wl,-rpath compilers: Checking arg -Wl,/usr/local/lib compilers: Checking arg -Wl,--enable-new-dtags compilers: Checking arg -L/usr/local/lib compilers: Checking arg -lmpi compilers: Checking arg gcc compilers: Checking arg -I/usr/local/include compilers: Checking arg -pthread compilers: Checking arg -Wl,-rpath compilers: Found -Wl link option: -Wl,-rpath compilers: Checking arg -Wl,/usr/local/lib compilers: Found -Wl link option: -Wl,/usr/local/lib compilers: Checking arg -Wl,--enable-new-dtags compilers: Found -Wl link option: -Wl,--enable-new-dtags compilers: Checking arg -L/usr/local/lib compilers: Found -L link option: -L/usr/local/lib compilers: Checking arg -lmpi compilers: Found -l link option: -lmpi Defined make macro "MPICXX_INCLUDES" to "-I/usr/local/include " Defined make macro "MPICXX_LIBS" to "-Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi " ============================================================================================= TESTING: PetscArchMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:733) Checking for functions [MPI_Type_get_envelope MPI_Type_dup MPI_Init_thread MPI_Iallreduce MPI_Ibarrier MPI_Finalized MPI_Exscan MPI_Reduce_scatter MPI_Reduce_scatter_block] in library ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a'] [] Checking directory of requested libraries:/usr/local/cuda/lib64 for first library:libcudart. Files in directory:['libnppist.so.11', 'libnvToolsExt.so.1.0.0', 'libnvblas.so.11.6.5.2', 'libcusparse.so', 'libcurand.so.10.2.5.120', 'libnvblas.so', 'libcusolver_static.a', 'libnpps.so.11', 'libnppisu.so.11', 'libcusparse.so.11', 'libcudart.so', 'libaccinj64.so.11.4', 'libnppc.so.11.4.0.110', 'libnvrtc.so.11.2', 'libcublas.so.11.6.5.2', 'libnvrtc-builtins.so.11.4', 'libcudart.so.11.4.148', 'liblapack_static.a', 'libcusolver.so.11', 'libnppig.so.11.4.0.110', 'libnppc_static.a', 'libcublasLt.so.11.6.5.2', 'libnvptxcompiler_static.a', 'libcublasLt_static.a', 'libnppial.so', 'libnvjpeg.so', 'libcurand.so.10', 'libnppc.so.11', 'libcurand.so', 'libnppicc.so', 'stubs', 'libnppial.so.11', 'libnppicc.so.11.4.0.110', 'libnppial.so.11.4.0.110', 'libcudart.so.11.0', 'libaccinj64.so.11.4.120', 'libcusolver.so.11.2.0.120', 'libnppisu.so', 'libnpps.so.11.4.0.110', 'libnppisu_static.a', 'libnppitc.so.11', 'libnppif.so.11', 'libnvjpeg.so.11.5.2.120', 'libnppidei.so.11.4.0.110', 'libcufft.so', 'libcufftw.so', 'libnppitc_static.a', 'libcurand_static.a', 'libnppig_static.a', 'libcuinj64.so.11.4.120', 'libOpenCL.so', 'libnvToolsExt.so.1', 'libnppim.so.11.4.0.110', 'libnppitc.so.11.4.0.110', 'libnvjpeg.so.11', 'libnvrtc.so.11.4.152', 'libcuinj64.so.11.4', 'libcuinj64.so', 'libnppif.so', 'libnvjpeg_static.a', 'libnpps_static.a', 'libnppial_static.a', 'libnppist_static.a', 'libcufftw.so.10', 'libcusparse_static.a', 'libnppim_static.a', 'libOpenCL.so.1', 'libnppitc.so', 'libnvToolsExt.so', 'libnvblas.so.11', 'libcublas.so.11', 'libcublasLt.so', 'libculibos.a', 'libnppig.so', 'libcusolverMg.so.11.2.0.120', 'libcufilt.a', 'libcufft.so.10', 'libnppim.so.11', 'libnvrtc-builtins.so', 'libnvrtc-builtins.so.11.4.152', 'libcusolverMg.so', 'libnppif_static.a', 'libcufft_static_nocallback.a', 'libcufft.so.10.5.2.100', 'libnppist.so.11.4.0.110', 'libnppidei_static.a', 'libnppidei.so', 'libcusolver.so', 'libnppisu.so.11.4.0.110', 'libnppim.so', 'libaccinj64.so', 'libcusparse.so.11.6.0.120', 'libcufftw_static.a', 'libnppicc.so.11', 'libnpps.so', 'libnvrtc.so', 'libcublasLt.so.11', 'libcublas_static.a', 'libcusolverMg.so.11', 'libcublas.so', 'libnppist.so', 'libnppc.so', 'libnppicc_static.a', 'libOpenCL.so.1.0.0', 'libmetis_static.a', 'libcufft_static.a', 'libOpenCL.so.1.0', 'libnppig.so.11', 'libcufftw.so.10.5.2.100', 'libnppidei.so.11', 'libcudart_static.a', 'libcudadevrt.a', 'libnppif.so.11.4.0.110'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Type_get_envelope(); static void _check_MPI_Type_get_envelope() { MPI_Type_get_envelope(); } char MPI_Type_dup(); static void _check_MPI_Type_dup() { MPI_Type_dup(); } char MPI_Init_thread(); static void _check_MPI_Init_thread() { MPI_Init_thread(); } char MPI_Iallreduce(); static void _check_MPI_Iallreduce() { MPI_Iallreduce(); } char MPI_Ibarrier(); static void _check_MPI_Ibarrier() { MPI_Ibarrier(); } char MPI_Finalized(); static void _check_MPI_Finalized() { MPI_Finalized(); } char MPI_Exscan(); static void _check_MPI_Exscan() { MPI_Exscan(); } char MPI_Reduce_scatter(); static void _check_MPI_Reduce_scatter() { MPI_Reduce_scatter(); } char MPI_Reduce_scatter_block(); static void _check_MPI_Reduce_scatter_block() { MPI_Reduce_scatter_block(); } int main() { _check_MPI_Type_get_envelope(); _check_MPI_Type_dup(); _check_MPI_Init_thread(); _check_MPI_Iallreduce(); _check_MPI_Ibarrier(); _check_MPI_Finalized(); _check_MPI_Exscan(); _check_MPI_Reduce_scatter(); _check_MPI_Reduce_scatter_block();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Type_get_envelope(); static void _check_MPI_Type_get_envelope() { MPI_Type_get_envelope(); } char MPI_Type_dup(); static void _check_MPI_Type_dup() { MPI_Type_dup(); } char MPI_Init_thread(); static void _check_MPI_Init_thread() { MPI_Init_thread(); } char MPI_Iallreduce(); static void _check_MPI_Iallreduce() { MPI_Iallreduce(); } char MPI_Ibarrier(); static void _check_MPI_Ibarrier() { MPI_Ibarrier(); } char MPI_Finalized(); static void _check_MPI_Finalized() { MPI_Finalized(); } char MPI_Exscan(); static void _check_MPI_Exscan() { MPI_Exscan(); } char MPI_Reduce_scatter(); static void _check_MPI_Reduce_scatter() { MPI_Reduce_scatter(); } char MPI_Reduce_scatter_block(); static void _check_MPI_Reduce_scatter_block() { MPI_Reduce_scatter_block(); } void dummy(void) {_check_MPI_Type_get_envelope(); _check_MPI_Type_dup(); _check_MPI_Init_thread(); _check_MPI_Iallreduce(); _check_MPI_Ibarrier(); _check_MPI_Finalized(); _check_MPI_Exscan(); _check_MPI_Reduce_scatter(); _check_MPI_Reduce_scatter_block();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lquadmath -lstdc++ -ldl Defined "HAVE_LIBCUDART" to "1" Defined "HAVE_LIBCUFFT" to "1" Defined "HAVE_LIBCUBLAS" to "1" Defined "HAVE_LIBCUSPARSE" to "1" Defined "HAVE_LIBCUSOLVER" to "1" Defined "HAVE_LIBCURAND" to "1" Defined "HAVE_MPI_TYPE_GET_ENVELOPE" to "1" Defined "HAVE_MPI_TYPE_DUP" to "1" Defined "HAVE_MPI_INIT_THREAD" to "1" Defined "HAVE_MPI_IALLREDUCE" to "1" Defined "HAVE_MPI_IBARRIER" to "1" Defined "HAVE_MPI_FINALIZED" to "1" Defined "HAVE_MPI_EXSCAN" to "1" Defined "HAVE_MPI_REDUCE_SCATTER" to "1" Defined "HAVE_MPI_REDUCE_SCATTER_BLOCK" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:6:5: warning: unused variable ‘combiner’ [-Wunused-variable] 6 | int combiner = MPI_COMBINER_DUP;; | ^~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_DUP;; return 0; } Defined "HAVE_MPI_COMBINER_DUP" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:6:5: warning: unused variable ‘combiner’ [-Wunused-variable] 6 | int combiner = MPI_COMBINER_CONTIGUOUS;; | ^~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_CONTIGUOUS;; return 0; } Defined "HAVE_MPI_COMBINER_CONTIGUOUS" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c:6:5: warning: unused variable ‘combiner’ [-Wunused-variable] 6 | int combiner = MPI_COMBINER_NAMED;; | ^~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int combiner = MPI_COMBINER_NAMED;; return 0; } Defined "HAVE_MPI_COMBINER_NAMED" to "1" ============================================================================================= TESTING: checkVersion from config.packages.MPI(config/BuildSystem/config/package.py:1069) 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" petscpkgver(MPI_VERSION); Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.packages.MPI /tmp/petsc-qj8bmjby/config.packages.MPI/conftest.c For mpi need 2 <= 3 <= ============================================================================================= TESTING: checkSharedLibrary from config.packages.MPI(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.MPI 6.810000 ============================================================================================= TESTING: consistencyChecks from config.packages.zstd(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.zstd 0.003678 ============================================================================================= TESTING: consistencyChecks from config.packages.yaml(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.yaml 0.002722 ============================================================================================= TESTING: consistencyChecks from config.packages.sycl(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.sycl 0.002464 ============================================================================================= TESTING: consistencyChecks from config.packages.ssl(config/BuildSystem/config/packages/ssl.py:31) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.ssl(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ssl 0.003016 ============================================================================================= TESTING: consistencyChecks from config.packages.sprng(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.sprng 0.002715 PETSc clone, checking for Sowing Checking for program /usr/local/sbin/pdflatex...not found Checking for program /usr/local/bin/pdflatex...not found Checking for program /usr/sbin/pdflatex...not found Checking for program /usr/bin/pdflatex...not found Checking for program /sbin/pdflatex...not found Checking for program /bin/pdflatex...not found Checking for program /usr/games/pdflatex...not found Checking for program /usr/local/games/pdflatex...not found Checking for program /snap/bin/pdflatex...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/pdflatex...not found Checking for program /usr/local/sbin/bfort...not found Checking for program /usr/local/bin/bfort...not found Checking for program /usr/sbin/bfort...not found Checking for program /usr/bin/bfort...not found Checking for program /sbin/bfort...not found Checking for program /bin/bfort...not found Checking for program /usr/games/bfort...not found Checking for program /usr/local/games/bfort...not found Checking for program /snap/bin/bfort...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/bfort...not found Checking for program /usr/local/sbin/doctext...not found Checking for program /usr/local/bin/doctext...not found Checking for program /usr/sbin/doctext...not found Checking for program /usr/bin/doctext...not found Checking for program /sbin/doctext...not found Checking for program /bin/doctext...not found Checking for program /usr/games/doctext...not found Checking for program /usr/local/games/doctext...not found Checking for program /snap/bin/doctext...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/doctext...not found Checking for program /usr/local/sbin/mapnames...not found Checking for program /usr/local/bin/mapnames...not found Checking for program /usr/sbin/mapnames...not found Checking for program /usr/bin/mapnames...not found Checking for program /sbin/mapnames...not found Checking for program /bin/mapnames...not found Checking for program /usr/games/mapnames...not found Checking for program /usr/local/games/mapnames...not found Checking for program /snap/bin/mapnames...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/mapnames...not found Checking for program /usr/local/sbin/bib2html...not found Checking for program /usr/local/bin/bib2html...not found Checking for program /usr/sbin/bib2html...not found Checking for program /usr/bin/bib2html...not found Checking for program /sbin/bib2html...not found Checking for program /bin/bib2html...not found Checking for program /usr/games/bib2html...not found Checking for program /usr/local/games/bib2html...not found Checking for program /snap/bin/bib2html...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/bib2html...not found Bfort not found. Installing sowing for FortranStubs ============================================================================================= TESTING: consistencyChecks from config.packages.sowing(config/BuildSystem/config/package.py:1002) 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.sowing(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.sowing(config/BuildSystem/config/package.py:928) Find an installation and check if it can work with PETSc ================================================================================== Checking for a functional sowing Looking for SOWING at git.sowing, hg.sowing or a directory starting with ['petsc-pkg-sowing'] Found a copy of SOWING in git.sowing Executing: ['git', 'rev-parse', '--git-dir'] stdout: .git Executing: ['git', 'cat-file', '-e', 'v1.1.26-p2^{commit}'] Executing: ['git', 'rev-parse', 'v1.1.26-p2'] stdout: c88d03bfe147ba48ba29bde0e6df7de5e21baf9a 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 sowing.petscconf Executing: ['git', 'checkout', '-f', 'c88d03bfe147ba48ba29bde0e6df7de5e21baf9a'] Makefile /home/hao/src/git/PETScbak/arch-linux-c-debug/lib/petsc/conf/pkg.conf.sowing has correct checksum Commit file /home/hao/src/git/PETScbak/arch-linux-c-debug/lib/petsc/conf/pkg.gitcommit.sowing has correct checksum Do not need to rebuild SOWING Not checking for library in Download SOWING: [] because no functions given to check for ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) 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 optional headers [] in Download SOWING: ['/home/hao/src/git/PETScbak/arch-linux-c-debug/include', '/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/home/hao/src/git/PETScbak/arch-linux-c-debug/include', '/usr/local/include', '/usr/local/lib'] Found header files [] in ['/home/hao/src/git/PETScbak/arch-linux-c-debug/include', '/usr/local/include', '/usr/local/lib'] Checking for headers [] in Download SOWING: ['/home/hao/src/git/PETScbak/arch-linux-c-debug/include', '/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkVersion from config.packages.sowing(config/BuildSystem/config/package.py:1069) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version For sowing unable to find version information since includes and version includes are missing skipping version check ============================================================================================= TESTING: checkSharedLibrary from config.packages.sowing(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared Checking for program /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bfort...found Defined make macro "BFORT" to "/home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bfort" Checking for program /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/doctext...found Defined make macro "DOCTEXT" to "/home/hao/src/git/PETScbak/arch-linux-c-debug/bin/doctext" Checking for program /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/mapnames...found Defined make macro "MAPNAMES" to "/home/hao/src/git/PETScbak/arch-linux-c-debug/bin/mapnames" Checking for program /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bib2html...found Defined make macro "BIB2HTML" to "/home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bib2html" Executing: /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bfort -version stdout: bfort (sowing) release 1.1.26 of Date unknown ============================================================================================= Running arch-linux-c-debug/bin/bfort to generate fortran stubs ============================================================================================= child config.packages.sowing 5.985084 ============================================================================================= TESTING: consistencyChecks from config.packages.revolve(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.revolve 0.002036 ============================================================================================= TESTING: consistencyChecks from config.packages.radau5(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.radau5 0.001371 ============================================================================================= TESTING: consistencyChecks from config.packages.pami(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.pami 0.001205 ============================================================================================= TESTING: consistencyChecks from config.packages.opengles(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.opengles 0.001205 ============================================================================================= TESTING: consistencyChecks from config.packages.opencl(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.opencl 0.001190 ============================================================================================= TESTING: consistencyChecks from config.packages.muparser(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.muparser 0.001339 ============================================================================================= TESTING: consistencyChecks from config.packages.mpe(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mpe 0.001381 ============================================================================================= TESTING: consistencyChecks from config.packages.memkind(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.memkind 0.001203 ============================================================================================= TESTING: consistencyChecks from config.packages.libmesh(config/BuildSystem/config/package.py:1002) 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(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 0.001939 ============================================================================================= TESTING: consistencyChecks from config.packages.moose(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.moose 0.001276 ============================================================================================= TESTING: consistencyChecks from config.packages.libjpeg(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.libjpeg 0.001327 Checking for program /usr/local/sbin/lgrind...not found Checking for program /usr/local/bin/lgrind...not found Checking for program /usr/sbin/lgrind...not found Checking for program /usr/bin/lgrind...not found Checking for program /sbin/lgrind...not found Checking for program /bin/lgrind...not found Checking for program /usr/games/lgrind...not found Checking for program /usr/local/games/lgrind...not found Checking for program /snap/bin/lgrind...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/lgrind...not found child config.packages.lgrind 0.000706 ============================================================================================= TESTING: consistencyChecks from config.packages.gsl(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.gsl 0.001367 child config.packages.gmsh 0.000190 ============================================================================================= TESTING: consistencyChecks from config.packages.gmp(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.gmp 0.001334 ============================================================================================= TESTING: consistencyChecks from config.packages.mpfr(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mpfr 0.001350 ============================================================================================= TESTING: consistencyChecks from config.packages.giflib(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.giflib 0.001351 ============================================================================================= TESTING: consistencyChecks from config.packages.cub(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.cub 0.001337 ============================================================================================= TESTING: consistencyChecks from config.packages.ctetgen(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ctetgen 0.001351 ============================================================================================= TESTING: consistencyChecks from config.packages.concurrencykit(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.concurrencykit 0.001321 ============================================================================================= TESTING: consistencyChecks from config.packages.cams(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.cams 0.001335 ============================================================================================= TESTING: locateC2html from config.packages.c2html(config/BuildSystem/config/packages/c2html.py:30) Looking for default C2html executable 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 /usr/games/c2html...not found Checking for program /usr/local/games/c2html...not found Checking for program /snap/bin/c2html...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/c2html...not found child config.packages.c2html 0.001361 ============================================================================================= TESTING: consistencyChecks from config.packages.boost(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.boost 0.001348 ============================================================================================= TESTING: consistencyChecks from config.packages.silo(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.silo 0.001351 ============================================================================================= TESTING: consistencyChecks from config.packages.Random123(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Random123 0.001353 ============================================================================================= TESTING: consistencyChecks from config.packages.PARTY(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.PARTY 0.001344 ============================================================================================= TESTING: consistencyChecks from config.packages.NVSHMEM(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.NVSHMEM 0.001198 ============================================================================================= TESTING: consistencyChecks from config.packages.Matlab(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Matlab 0.001129 ============================================================================================= TESTING: consistencyChecks from config.packages.MatlabEngine(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.MatlabEngine 0.001203 ============================================================================================= TESTING: consistencyChecks from config.packages.Mathematica(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Mathematica 0.001192 ============================================================================================= TESTING: consistencyChecks from config.packages.regex(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.regex(config/BuildSystem/config/package.py:928) 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(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [regexec regcomp regfree] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(); static void _check_regexec() { regexec(); } char regcomp(); static void _check_regcomp() { regcomp(); } char regfree(); static void _check_regfree() { regfree(); } int main() { _check_regexec(); _check_regcomp(); _check_regfree();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char regexec(); static void _check_regexec() { regexec(); } char regcomp(); static void _check_regcomp() { regcomp(); } char regfree(); static void _check_regfree() { regfree(); } void dummy(void) {_check_regexec(); _check_regcomp(); _check_regfree();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lquadmath -lstdc++ -ldl Checking for optional headers [] in Compiler specific search REGEX: ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/usr/local/include', '/usr/local/lib'] Found header files [] in ['/usr/local/include', '/usr/local/lib'] Checking for headers ['regex.h'] in Compiler specific search REGEX: ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['regex.h'] in ['/usr/local/include', '/usr/local/lib'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['regex.h'] in ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkVersion from config.packages.regex(config/BuildSystem/config/package.py:1069) 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(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.regex 0.377524 ============================================================================================= TESTING: consistencyChecks from config.packages.libceed(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.libceed 0.003533 Defined "PYTHON_EXE" to ""/usr/bin/python3"" Executing: /usr/bin/python3 -c "import Cython" Executing: /usr/bin/python3 -c "import numpy" child config.packages.python 0.745032 ============================================================================================= TESTING: consistencyChecks from config.packages.petsc4py(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/packages/petsc4py.py:129) Defined make rule "petsc4py-build" with dependencies "" and code [] Defined make rule "petsc4py-install" with dependencies "" and code [] Defined make rule "petsc4pytest" with dependencies "" and code [] child config.packages.petsc4py 0.004085 ============================================================================================= TESTING: consistencyChecks from config.packages.mpi4py(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mpi4py 0.002527 ============================================================================================= TESTING: consistencyChecks from config.packages.opengl(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.opengl 0.002166 ============================================================================================= TESTING: consistencyChecks from config.packages.glut(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.glut 0.002190 ============================================================================================= TESTING: consistencyChecks from config.packages.GLVis(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.GLVis 0.002222 ============================================================================================= TESTING: consistencyChecks from config.packages.CoDiPack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.CoDiPack 0.001373 ============================================================================================= TESTING: consistencyChecks from config.packages.adblaslapack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.adblaslapack 0.001374 child config.packages.cxxlibs 0.000021 ============================================================================================= TESTING: locateCMake from config.packages.cmake(config/BuildSystem/config/packages/cmake.py:51) Looking for default CMake executable Checking for program /usr/local/sbin/cmake...not found Checking for program /usr/local/bin/cmake...not found Checking for program /usr/sbin/cmake...not found Checking for program /usr/bin/cmake...not found Checking for program /sbin/cmake...not found Checking for program /bin/cmake...not found Checking for program /usr/games/cmake...not found Checking for program /usr/local/games/cmake...not found Checking for program /snap/bin/cmake...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/cmake...not found Looking for default CTest executable Checking for program /usr/local/sbin/ctest...not found Checking for program /usr/local/bin/ctest...not found Checking for program /usr/sbin/ctest...not found Checking for program /usr/bin/ctest...not found Checking for program /sbin/ctest...not found Checking for program /bin/ctest...not found Checking for program /usr/games/ctest...not found Checking for program /usr/local/games/ctest...not found Checking for program /snap/bin/ctest...not found Checking for program /home/hao/src/git/PETScbak/lib/petsc/bin/win32fe/ctest...not found cmake not found child config.packages.cmake 0.002111 ============================================================================================= TESTING: consistencyChecks from config.packages.unittestcpp(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.unittestcpp 0.001394 ============================================================================================= TESTING: consistencyChecks from config.packages.googletest(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.googletest 0.001418 ============================================================================================= TESTING: consistencyChecks from config.packages.opencascade(config/BuildSystem/config/package.py:1002) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.opencascade(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.opencascade 0.001365 ============================================================================================= TESTING: consistencyChecks from config.packages.eigen(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.eigen 0.001374 ============================================================================================= TESTING: consistencyChecks from config.packages.szlib(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.szlib 0.001369 ============================================================================================= TESTING: consistencyChecks from config.packages.zlib(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.zlib 0.001349 child config.packages.mathlib 0.000026 ============================================================================================= TESTING: consistencyChecks from config.packages.tetgen(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.tetgen 0.001365 ============================================================================================= TESTING: consistencyChecks from config.packages.tchem(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.tchem 0.001368 ============================================================================================= TESTING: consistencyChecks from config.packages.saws(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.saws 0.001356 ============================================================================================= TESTING: consistencyChecks from config.packages.libpng(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.libpng 0.001402 ============================================================================================= TESTING: consistencyChecks from config.packages.combblas(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.combblas 0.001347 ============================================================================================= TESTING: consistencyChecks from config.packages.Triangle(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Triangle 0.001359 ============================================================================================= TESTING: consistencyChecks from config.packages.metis(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.metis 0.001359 ============================================================================================= TESTING: consistencyChecks from config.packages.pragmatic(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.pragmatic 0.001341 ============================================================================================= TESTING: consistencyChecks from config.packages.parmetis(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.parmetis 0.001365 ============================================================================================= TESTING: consistencyChecks from config.packages.Chaco(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Chaco 0.001354 Executing: uname -s stdout: Linux ============================================================================================= TESTING: consistencyChecks from config.packages.hdf5(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.hdf5 0.006480 ============================================================================================= TESTING: consistencyChecks from config.packages.med(config/BuildSystem/config/package.py:1002) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.med(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.med 0.001412 ============================================================================================= TESTING: consistencyChecks from config.packages.cgns(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.cgns 0.001249 ============================================================================================= TESTING: consistencyChecks from config.packages.ascem-io(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ascem-io 0.001387 ============================================================================================= TESTING: consistencyChecks from config.packages.pflotran(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.pflotran 0.001377 ============================================================================================= TESTING: consistencyChecks from config.packages.alquimia(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.alquimia 0.001359 ============================================================================================= TESTING: consistencyChecks from config.packages.SAMRAI(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.SAMRAI 0.003042 child config.packages.flibs 0.000037 ============================================================================================= TESTING: consistencyChecks from config.packages.pnetcdf(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.pnetcdf 0.002114 ============================================================================================= TESTING: consistencyChecks from config.packages.netcdf(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.netcdf 0.001362 ============================================================================================= TESTING: consistencyChecks from config.packages.exodusii(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.exodusii 0.001348 ============================================================================================= TESTING: consistencyChecks from config.packages.fblaslapack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.fblaslapack 0.001344 ============================================================================================= TESTING: consistencyChecks from config.packages.pthread(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.pthread(config/BuildSystem/config/packages/pthread.py:20) Checks for pthread_barrier_t, cpu_set_t, and sys/sysctl.h ================================================================================== Checking for a functional pthread Checking for library in Compiler specific search PTHREAD: [] ============================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:157) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [pthread_create] in library [] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } int main() { _check_pthread_create();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char pthread_create(); static void _check_pthread_create() { pthread_create(); } void dummy(void) {_check_pthread_create();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lquadmath -lstdc++ -ldl Checking for optional headers [] in Compiler specific search PTHREAD: ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files [] in ['/usr/local/include', '/usr/local/lib'] Found header files [] in ['/usr/local/include', '/usr/local/lib'] Checking for headers ['pthread.h'] in Compiler specific search PTHREAD: ['/usr/local/include', '/usr/local/lib'] ============================================================================================= TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['pthread.h'] in ['/usr/local/include', '/usr/local/lib'] Checking include with compiler flags var CPPFLAGS ['/usr/local/include', '/usr/local/lib'] Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/usr/local/include -I/usr/local/lib /tmp/petsc-qj8bmjby/config.headers/conftest.c Preprocess output before filtering: : Preprocess output after filtering: : Found header files ['pthread.h'] in ['/usr/local/include', '/usr/local/lib'] ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c:6:20: warning: unused variable ‘a’ [-Wunused-variable] 6 | pthread_barrier_t *a; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { pthread_barrier_t *a; ; return 0; } Defined "HAVE_PTHREAD_BARRIER_T" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c:6:12: warning: unused variable ‘a’ [-Wunused-variable] 6 | cpu_set_t *a; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { cpu_set_t *a; ; return 0; } Defined "HAVE_SCHED_CPU_SET_T" to "1" Preprocessing source: #include "confdefs.h" #include "conffix.h" #include Executing: mpicc -E -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.packages.pthread /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c Possible ERROR while running preprocessor: stdout: # 1 "/tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c" # 1 "" # 1 "" # 31 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 32 "" 2 # 1 "/tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c" # 1 "/tmp/petsc-qj8bmjby/config.packages.pthread/confdefs.h" 1 # 2 "/tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c" 2 # 1 "/tmp/petsc-qj8bmjby/config.packages.pthread/conffix.h" 1 # 3 "/tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c" 2 # 1 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 1 3 4 # 23 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 461 "/usr/include/features.h" 3 4 # 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4 # 452 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4 # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4 # 453 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4 # 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4 # 454 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4 # 462 "/usr/include/features.h" 2 3 4 # 485 "/usr/include/features.h" 3 4 # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4 # 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 3 4 # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4 # 11 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4 # 486 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 2 3 4 # 1 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 1 3 4 # 209 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 3 4 # 209 "/usr/lib/gcc/x86_64-linux-gnu/9/include/stddef.h" 3 4 typedef long unsigned int size_t; # 26 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 2 3 4 # 45 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 3 4 # 1 "/usr/include/linux/sysctl.h" 1 3 4 # 26 "/usr/include/linux/sysctl.h" 3 4 # 1 "/usr/include/linux/const.h" 1 3 4 # 27 "/usr/include/linux/sysctl.h" 2 3 4 # 1 "/usr/include/linux/types.h" 1 3 4 # 28 "/usr/include/linux/sysctl.h" 2 3 4 struct __sysctl_args { int *name; int nlen; void *oldval; size_t *oldlenp; void *newval; size_t newlen; unsigned long __unused[4]; }; enum { CTL_KERN=1, CTL_VM=2, CTL_NET=3, CTL_PROC=4, CTL_FS=5, CTL_DEBUG=6, CTL_DEV=7, CTL_BUS=8, CTL_ABI=9, CTL_CPU=10, CTL_ARLAN=254, CTL_S390DBF=5677, CTL_SUNRPC=7249, CTL_PM=9899, CTL_FRV=9898, }; enum { CTL_BUS_ISA=1 }; enum { INOTIFY_MAX_USER_INSTANCES=1, INOTIFY_MAX_USER_WATCHES=2, INOTIFY_MAX_QUEUED_EVENTS=3 }; enum { KERN_OSTYPE=1, KERN_OSRELEASE=2, KERN_OSREV=3, KERN_VERSION=4, KERN_SECUREMASK=5, KERN_PROF=6, KERN_NODENAME=7, KERN_DOMAINNAME=8, KERN_PANIC=15, KERN_REALROOTDEV=16, KERN_SPARC_REBOOT=21, KERN_CTLALTDEL=22, KERN_PRINTK=23, KERN_NAMETRANS=24, KERN_PPC_HTABRECLAIM=25, KERN_PPC_ZEROPAGED=26, KERN_PPC_POWERSAVE_NAP=27, KERN_MODPROBE=28, KERN_SG_BIG_BUFF=29, KERN_ACCT=30, KERN_PPC_L2CR=31, KERN_RTSIGNR=32, KERN_RTSIGMAX=33, KERN_SHMMAX=34, KERN_MSGMAX=35, KERN_MSGMNB=36, KERN_MSGPOOL=37, KERN_SYSRQ=38, KERN_MAX_THREADS=39, KERN_RANDOM=40, KERN_SHMALL=41, KERN_MSGMNI=42, KERN_SEM=43, KERN_SPARC_STOP_A=44, KERN_SHMMNI=45, KERN_OVERFLOWUID=46, KERN_OVERFLOWGID=47, KERN_SHMPATH=48, KERN_HOTPLUG=49, KERN_IEEE_EMULATION_WARNINGS=50, KERN_S390_USER_DEBUG_LOGGING=51, KERN_CORE_USES_PID=52, KERN_TAINTED=53, KERN_CADPID=54, KERN_PIDMAX=55, KERN_CORE_PATTERN=56, KERN_PANIC_ON_OOPS=57, KERN_HPPA_PWRSW=58, KERN_HPPA_UNALIGNED=59, KERN_PRINTK_RATELIMIT=60, KERN_PRINTK_RATELIMIT_BURST=61, KERN_PTY=62, KERN_NGROUPS_MAX=63, KERN_SPARC_SCONS_PWROFF=64, KERN_HZ_TIMER=65, KERN_UNKNOWN_NMI_PANIC=66, KERN_BOOTLOADER_TYPE=67, KERN_RANDOMIZE=68, KERN_SETUID_DUMPABLE=69, KERN_SPIN_RETRY=70, KERN_ACPI_VIDEO_FLAGS=71, KERN_IA64_UNALIGNED=72, KERN_COMPAT_LOG=73, KERN_MAX_LOCK_DEPTH=74, KERN_NMI_WATCHDOG=75, KERN_PANIC_ON_NMI=76, KERN_PANIC_ON_WARN=77, KERN_PANIC_PRINT=78, }; enum { VM_UNUSED1=1, VM_UNUSED2=2, VM_UNUSED3=3, VM_UNUSED4=4, VM_OVERCOMMIT_MEMORY=5, VM_UNUSED5=6, VM_UNUSED7=7, VM_UNUSED8=8, VM_UNUSED9=9, VM_PAGE_CLUSTER=10, VM_DIRTY_BACKGROUND=11, VM_DIRTY_RATIO=12, VM_DIRTY_WB_CS=13, VM_DIRTY_EXPIRE_CS=14, VM_NR_PDFLUSH_THREADS=15, VM_OVERCOMMIT_RATIO=16, VM_PAGEBUF=17, VM_HUGETLB_PAGES=18, VM_SWAPPINESS=19, VM_LOWMEM_RESERVE_RATIO=20, VM_MIN_FREE_KBYTES=21, VM_MAX_MAP_COUNT=22, VM_LAPTOP_MODE=23, VM_BLOCK_DUMP=24, VM_HUGETLB_GROUP=25, VM_VFS_CACHE_PRESSURE=26, VM_LEGACY_VA_LAYOUT=27, VM_SWAP_TOKEN_TIMEOUT=28, VM_DROP_PAGECACHE=29, VM_PERCPU_PAGELIST_FRACTION=30, VM_ZONE_RECLAIM_MODE=31, VM_MIN_UNMAPPED=32, VM_PANIC_ON_OOM=33, VM_VDSO_ENABLED=34, VM_MIN_SLAB=35, }; enum { NET_CORE=1, NET_ETHER=2, NET_802=3, NET_UNIX=4, NET_IPV4=5, NET_IPX=6, NET_ATALK=7, NET_NETROM=8, NET_AX25=9, NET_BRIDGE=10, NET_ROSE=11, NET_IPV6=12, NET_X25=13, NET_TR=14, NET_DECNET=15, NET_ECONET=16, NET_SCTP=17, NET_LLC=18, NET_NETFILTER=19, NET_DCCP=20, NET_IRDA=412, }; enum { RANDOM_POOLSIZE=1, RANDOM_ENTROPY_COUNT=2, RANDOM_READ_THRESH=3, RANDOM_WRITE_THRESH=4, RANDOM_BOOT_ID=5, RANDOM_UUID=6 }; enum { PTY_MAX=1, PTY_NR=2 }; enum { BUS_ISA_MEM_BASE=1, BUS_ISA_PORT_BASE=2, BUS_ISA_PORT_SHIFT=3 }; enum { NET_CORE_WMEM_MAX=1, NET_CORE_RMEM_MAX=2, NET_CORE_WMEM_DEFAULT=3, NET_CORE_RMEM_DEFAULT=4, NET_CORE_MAX_BACKLOG=6, NET_CORE_FASTROUTE=7, NET_CORE_MSG_COST=8, NET_CORE_MSG_BURST=9, NET_CORE_OPTMEM_MAX=10, NET_CORE_HOT_LIST_LENGTH=11, NET_CORE_DIVERT_VERSION=12, NET_CORE_NO_CONG_THRESH=13, NET_CORE_NO_CONG=14, NET_CORE_LO_CONG=15, NET_CORE_MOD_CONG=16, NET_CORE_DEV_WEIGHT=17, NET_CORE_SOMAXCONN=18, NET_CORE_BUDGET=19, NET_CORE_AEVENT_ETIME=20, NET_CORE_AEVENT_RSEQTH=21, NET_CORE_WARNINGS=22, }; enum { NET_UNIX_DESTROY_DELAY=1, NET_UNIX_DELETE_DELAY=2, NET_UNIX_MAX_DGRAM_QLEN=3, }; enum { NET_NF_CONNTRACK_MAX=1, NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2, NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3, NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4, NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5, NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6, NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7, NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8, NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9, NET_NF_CONNTRACK_UDP_TIMEOUT=10, NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11, NET_NF_CONNTRACK_ICMP_TIMEOUT=12, NET_NF_CONNTRACK_GENERIC_TIMEOUT=13, NET_NF_CONNTRACK_BUCKETS=14, NET_NF_CONNTRACK_LOG_INVALID=15, NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16, NET_NF_CONNTRACK_TCP_LOOSE=17, NET_NF_CONNTRACK_TCP_BE_LIBERAL=18, NET_NF_CONNTRACK_TCP_MAX_RETRANS=19, NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20, NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21, NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22, NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25, NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26, NET_NF_CONNTRACK_COUNT=27, NET_NF_CONNTRACK_ICMPV6_TIMEOUT=28, NET_NF_CONNTRACK_FRAG6_TIMEOUT=29, NET_NF_CONNTRACK_FRAG6_LOW_THRESH=30, NET_NF_CONNTRACK_FRAG6_HIGH_THRESH=31, NET_NF_CONNTRACK_CHECKSUM=32, }; enum { NET_IPV4_FORWARD=8, NET_IPV4_DYNADDR=9, NET_IPV4_CONF=16, NET_IPV4_NEIGH=17, NET_IPV4_ROUTE=18, NET_IPV4_FIB_HASH=19, NET_IPV4_NETFILTER=20, NET_IPV4_TCP_TIMESTAMPS=33, NET_IPV4_TCP_WINDOW_SCALING=34, NET_IPV4_TCP_SACK=35, NET_IPV4_TCP_RETRANS_COLLAPSE=36, NET_IPV4_DEFAULT_TTL=37, NET_IPV4_AUTOCONFIG=38, NET_IPV4_NO_PMTU_DISC=39, NET_IPV4_TCP_SYN_RETRIES=40, NET_IPV4_IPFRAG_HIGH_THRESH=41, NET_IPV4_IPFRAG_LOW_THRESH=42, NET_IPV4_IPFRAG_TIME=43, NET_IPV4_TCP_MAX_KA_PROBES=44, NET_IPV4_TCP_KEEPALIVE_TIME=45, NET_IPV4_TCP_KEEPALIVE_PROBES=46, NET_IPV4_TCP_RETRIES1=47, NET_IPV4_TCP_RETRIES2=48, NET_IPV4_TCP_FIN_TIMEOUT=49, NET_IPV4_IP_MASQ_DEBUG=50, NET_TCP_SYNCOOKIES=51, NET_TCP_STDURG=52, NET_TCP_RFC1337=53, NET_TCP_SYN_TAILDROP=54, NET_TCP_MAX_SYN_BACKLOG=55, NET_IPV4_LOCAL_PORT_RANGE=56, NET_IPV4_ICMP_ECHO_IGNORE_ALL=57, NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS=58, NET_IPV4_ICMP_SOURCEQUENCH_RATE=59, NET_IPV4_ICMP_DESTUNREACH_RATE=60, NET_IPV4_ICMP_TIMEEXCEED_RATE=61, NET_IPV4_ICMP_PARAMPROB_RATE=62, NET_IPV4_ICMP_ECHOREPLY_RATE=63, NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES=64, NET_IPV4_IGMP_MAX_MEMBERSHIPS=65, NET_TCP_TW_RECYCLE=66, NET_IPV4_ALWAYS_DEFRAG=67, NET_IPV4_TCP_KEEPALIVE_INTVL=68, NET_IPV4_INET_PEER_THRESHOLD=69, NET_IPV4_INET_PEER_MINTTL=70, NET_IPV4_INET_PEER_MAXTTL=71, NET_IPV4_INET_PEER_GC_MINTIME=72, NET_IPV4_INET_PEER_GC_MAXTIME=73, NET_TCP_ORPHAN_RETRIES=74, NET_TCP_ABORT_ON_OVERFLOW=75, NET_TCP_SYNACK_RETRIES=76, NET_TCP_MAX_ORPHANS=77, NET_TCP_MAX_TW_BUCKETS=78, NET_TCP_FACK=79, NET_TCP_REORDERING=80, NET_TCP_ECN=81, NET_TCP_DSACK=82, NET_TCP_MEM=83, NET_TCP_WMEM=84, NET_TCP_RMEM=85, NET_TCP_APP_WIN=86, NET_TCP_ADV_WIN_SCALE=87, NET_IPV4_NONLOCAL_BIND=88, NET_IPV4_ICMP_RATELIMIT=89, NET_IPV4_ICMP_RATEMASK=90, NET_TCP_TW_REUSE=91, NET_TCP_FRTO=92, NET_TCP_LOW_LATENCY=93, NET_IPV4_IPFRAG_SECRET_INTERVAL=94, NET_IPV4_IGMP_MAX_MSF=96, NET_TCP_NO_METRICS_SAVE=97, NET_TCP_DEFAULT_WIN_SCALE=105, NET_TCP_MODERATE_RCVBUF=106, NET_TCP_TSO_WIN_DIVISOR=107, NET_TCP_BIC_BETA=108, NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109, NET_TCP_CONG_CONTROL=110, NET_TCP_ABC=111, NET_IPV4_IPFRAG_MAX_DIST=112, NET_TCP_MTU_PROBING=113, NET_TCP_BASE_MSS=114, NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS=115, NET_TCP_DMA_COPYBREAK=116, NET_TCP_SLOW_START_AFTER_IDLE=117, NET_CIPSOV4_CACHE_ENABLE=118, NET_CIPSOV4_CACHE_BUCKET_SIZE=119, NET_CIPSOV4_RBM_OPTFMT=120, NET_CIPSOV4_RBM_STRICTVALID=121, NET_TCP_AVAIL_CONG_CONTROL=122, NET_TCP_ALLOWED_CONG_CONTROL=123, NET_TCP_MAX_SSTHRESH=124, NET_TCP_FRTO_RESPONSE=125, }; enum { NET_IPV4_ROUTE_FLUSH=1, NET_IPV4_ROUTE_MIN_DELAY=2, NET_IPV4_ROUTE_MAX_DELAY=3, NET_IPV4_ROUTE_GC_THRESH=4, NET_IPV4_ROUTE_MAX_SIZE=5, NET_IPV4_ROUTE_GC_MIN_INTERVAL=6, NET_IPV4_ROUTE_GC_TIMEOUT=7, NET_IPV4_ROUTE_GC_INTERVAL=8, NET_IPV4_ROUTE_REDIRECT_LOAD=9, NET_IPV4_ROUTE_REDIRECT_NUMBER=10, NET_IPV4_ROUTE_REDIRECT_SILENCE=11, NET_IPV4_ROUTE_ERROR_COST=12, NET_IPV4_ROUTE_ERROR_BURST=13, NET_IPV4_ROUTE_GC_ELASTICITY=14, NET_IPV4_ROUTE_MTU_EXPIRES=15, NET_IPV4_ROUTE_MIN_PMTU=16, NET_IPV4_ROUTE_MIN_ADVMSS=17, NET_IPV4_ROUTE_SECRET_INTERVAL=18, NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS=19, }; enum { NET_PROTO_CONF_ALL=-2, NET_PROTO_CONF_DEFAULT=-3 }; enum { NET_IPV4_CONF_FORWARDING=1, NET_IPV4_CONF_MC_FORWARDING=2, NET_IPV4_CONF_PROXY_ARP=3, NET_IPV4_CONF_ACCEPT_REDIRECTS=4, NET_IPV4_CONF_SECURE_REDIRECTS=5, NET_IPV4_CONF_SEND_REDIRECTS=6, NET_IPV4_CONF_SHARED_MEDIA=7, NET_IPV4_CONF_RP_FILTER=8, NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE=9, NET_IPV4_CONF_BOOTP_RELAY=10, NET_IPV4_CONF_LOG_MARTIANS=11, NET_IPV4_CONF_TAG=12, NET_IPV4_CONF_ARPFILTER=13, NET_IPV4_CONF_MEDIUM_ID=14, NET_IPV4_CONF_NOXFRM=15, NET_IPV4_CONF_NOPOLICY=16, NET_IPV4_CONF_FORCE_IGMP_VERSION=17, NET_IPV4_CONF_ARP_ANNOUNCE=18, NET_IPV4_CONF_ARP_IGNORE=19, NET_IPV4_CONF_PROMOTE_SECONDARIES=20, NET_IPV4_CONF_ARP_ACCEPT=21, NET_IPV4_CONF_ARP_NOTIFY=22, }; enum { NET_IPV4_NF_CONNTRACK_MAX=1, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9, NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT=10, NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11, NET_IPV4_NF_CONNTRACK_ICMP_TIMEOUT=12, NET_IPV4_NF_CONNTRACK_GENERIC_TIMEOUT=13, NET_IPV4_NF_CONNTRACK_BUCKETS=14, NET_IPV4_NF_CONNTRACK_LOG_INVALID=15, NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16, NET_IPV4_NF_CONNTRACK_TCP_LOOSE=17, NET_IPV4_NF_CONNTRACK_TCP_BE_LIBERAL=18, NET_IPV4_NF_CONNTRACK_TCP_MAX_RETRANS=19, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25, NET_IPV4_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26, NET_IPV4_NF_CONNTRACK_COUNT=27, NET_IPV4_NF_CONNTRACK_CHECKSUM=28, }; enum { NET_IPV6_CONF=16, NET_IPV6_NEIGH=17, NET_IPV6_ROUTE=18, NET_IPV6_ICMP=19, NET_IPV6_BINDV6ONLY=20, NET_IPV6_IP6FRAG_HIGH_THRESH=21, NET_IPV6_IP6FRAG_LOW_THRESH=22, NET_IPV6_IP6FRAG_TIME=23, NET_IPV6_IP6FRAG_SECRET_INTERVAL=24, NET_IPV6_MLD_MAX_MSF=25, }; enum { NET_IPV6_ROUTE_FLUSH=1, NET_IPV6_ROUTE_GC_THRESH=2, NET_IPV6_ROUTE_MAX_SIZE=3, NET_IPV6_ROUTE_GC_MIN_INTERVAL=4, NET_IPV6_ROUTE_GC_TIMEOUT=5, NET_IPV6_ROUTE_GC_INTERVAL=6, NET_IPV6_ROUTE_GC_ELASTICITY=7, NET_IPV6_ROUTE_MTU_EXPIRES=8, NET_IPV6_ROUTE_MIN_ADVMSS=9, NET_IPV6_ROUTE_GC_MIN_INTERVAL_MS=10 }; enum { NET_IPV6_FORWARDING=1, NET_IPV6_HOP_LIMIT=2, NET_IPV6_MTU=3, NET_IPV6_ACCEPT_RA=4, NET_IPV6_ACCEPT_REDIRECTS=5, NET_IPV6_AUTOCONF=6, NET_IPV6_DAD_TRANSMITS=7, NET_IPV6_RTR_SOLICITS=8, NET_IPV6_RTR_SOLICIT_INTERVAL=9, NET_IPV6_RTR_SOLICIT_DELAY=10, NET_IPV6_USE_TEMPADDR=11, NET_IPV6_TEMP_VALID_LFT=12, NET_IPV6_TEMP_PREFERED_LFT=13, NET_IPV6_REGEN_MAX_RETRY=14, NET_IPV6_MAX_DESYNC_FACTOR=15, NET_IPV6_MAX_ADDRESSES=16, NET_IPV6_FORCE_MLD_VERSION=17, NET_IPV6_ACCEPT_RA_DEFRTR=18, NET_IPV6_ACCEPT_RA_PINFO=19, NET_IPV6_ACCEPT_RA_RTR_PREF=20, NET_IPV6_RTR_PROBE_INTERVAL=21, NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN=22, NET_IPV6_PROXY_NDP=23, NET_IPV6_ACCEPT_SOURCE_ROUTE=25, NET_IPV6_ACCEPT_RA_FROM_LOCAL=26, NET_IPV6_ACCEPT_RA_RT_INFO_MIN_PLEN=27, __NET_IPV6_MAX }; enum { NET_IPV6_ICMP_RATELIMIT = 1, NET_IPV6_ICMP_ECHO_IGNORE_ALL = 2 }; enum { NET_NEIGH_MCAST_SOLICIT=1, NET_NEIGH_UCAST_SOLICIT=2, NET_NEIGH_APP_SOLICIT=3, NET_NEIGH_RETRANS_TIME=4, NET_NEIGH_REACHABLE_TIME=5, NET_NEIGH_DELAY_PROBE_TIME=6, NET_NEIGH_GC_STALE_TIME=7, NET_NEIGH_UNRES_QLEN=8, NET_NEIGH_PROXY_QLEN=9, NET_NEIGH_ANYCAST_DELAY=10, NET_NEIGH_PROXY_DELAY=11, NET_NEIGH_LOCKTIME=12, NET_NEIGH_GC_INTERVAL=13, NET_NEIGH_GC_THRESH1=14, NET_NEIGH_GC_THRESH2=15, NET_NEIGH_GC_THRESH3=16, NET_NEIGH_RETRANS_TIME_MS=17, NET_NEIGH_REACHABLE_TIME_MS=18, }; enum { NET_DCCP_DEFAULT=1, }; enum { NET_IPX_PPROP_BROADCASTING=1, NET_IPX_FORWARDING=2 }; enum { NET_LLC2=1, NET_LLC_STATION=2, }; enum { NET_LLC2_TIMEOUT=1, }; enum { NET_LLC_STATION_ACK_TIMEOUT=1, }; enum { NET_LLC2_ACK_TIMEOUT=1, NET_LLC2_P_TIMEOUT=2, NET_LLC2_REJ_TIMEOUT=3, NET_LLC2_BUSY_TIMEOUT=4, }; enum { NET_ATALK_AARP_EXPIRY_TIME=1, NET_ATALK_AARP_TICK_TIME=2, NET_ATALK_AARP_RETRANSMIT_LIMIT=3, NET_ATALK_AARP_RESOLVE_TIME=4 }; enum { NET_NETROM_DEFAULT_PATH_QUALITY=1, NET_NETROM_OBSOLESCENCE_COUNT_INITIALISER=2, NET_NETROM_NETWORK_TTL_INITIALISER=3, NET_NETROM_TRANSPORT_TIMEOUT=4, NET_NETROM_TRANSPORT_MAXIMUM_TRIES=5, NET_NETROM_TRANSPORT_ACKNOWLEDGE_DELAY=6, NET_NETROM_TRANSPORT_BUSY_DELAY=7, NET_NETROM_TRANSPORT_REQUESTED_WINDOW_SIZE=8, NET_NETROM_TRANSPORT_NO_ACTIVITY_TIMEOUT=9, NET_NETROM_ROUTING_CONTROL=10, NET_NETROM_LINK_FAILS_COUNT=11, NET_NETROM_RESET=12 }; enum { NET_AX25_IP_DEFAULT_MODE=1, NET_AX25_DEFAULT_MODE=2, NET_AX25_BACKOFF_TYPE=3, NET_AX25_CONNECT_MODE=4, NET_AX25_STANDARD_WINDOW=5, NET_AX25_EXTENDED_WINDOW=6, NET_AX25_T1_TIMEOUT=7, NET_AX25_T2_TIMEOUT=8, NET_AX25_T3_TIMEOUT=9, NET_AX25_IDLE_TIMEOUT=10, NET_AX25_N2=11, NET_AX25_PACLEN=12, NET_AX25_PROTOCOL=13, NET_AX25_DAMA_SLAVE_TIMEOUT=14 }; enum { NET_ROSE_RESTART_REQUEST_TIMEOUT=1, NET_ROSE_CALL_REQUEST_TIMEOUT=2, NET_ROSE_RESET_REQUEST_TIMEOUT=3, NET_ROSE_CLEAR_REQUEST_TIMEOUT=4, NET_ROSE_ACK_HOLD_BACK_TIMEOUT=5, NET_ROSE_ROUTING_CONTROL=6, NET_ROSE_LINK_FAIL_TIMEOUT=7, NET_ROSE_MAX_VCS=8, NET_ROSE_WINDOW_SIZE=9, NET_ROSE_NO_ACTIVITY_TIMEOUT=10 }; enum { NET_X25_RESTART_REQUEST_TIMEOUT=1, NET_X25_CALL_REQUEST_TIMEOUT=2, NET_X25_RESET_REQUEST_TIMEOUT=3, NET_X25_CLEAR_REQUEST_TIMEOUT=4, NET_X25_ACK_HOLD_BACK_TIMEOUT=5, NET_X25_FORWARD=6 }; enum { NET_TR_RIF_TIMEOUT=1 }; enum { NET_DECNET_NODE_TYPE = 1, NET_DECNET_NODE_ADDRESS = 2, NET_DECNET_NODE_NAME = 3, NET_DECNET_DEFAULT_DEVICE = 4, NET_DECNET_TIME_WAIT = 5, NET_DECNET_DN_COUNT = 6, NET_DECNET_DI_COUNT = 7, NET_DECNET_DR_COUNT = 8, NET_DECNET_DST_GC_INTERVAL = 9, NET_DECNET_CONF = 10, NET_DECNET_NO_FC_MAX_CWND = 11, NET_DECNET_MEM = 12, NET_DECNET_RMEM = 13, NET_DECNET_WMEM = 14, NET_DECNET_DEBUG_LEVEL = 255 }; enum { NET_DECNET_CONF_LOOPBACK = -2, NET_DECNET_CONF_DDCMP = -3, NET_DECNET_CONF_PPP = -4, NET_DECNET_CONF_X25 = -5, NET_DECNET_CONF_GRE = -6, NET_DECNET_CONF_ETHER = -7 }; enum { NET_DECNET_CONF_DEV_PRIORITY = 1, NET_DECNET_CONF_DEV_T1 = 2, NET_DECNET_CONF_DEV_T2 = 3, NET_DECNET_CONF_DEV_T3 = 4, NET_DECNET_CONF_DEV_FORWARDING = 5, NET_DECNET_CONF_DEV_BLKSIZE = 6, NET_DECNET_CONF_DEV_STATE = 7 }; enum { NET_SCTP_RTO_INITIAL = 1, NET_SCTP_RTO_MIN = 2, NET_SCTP_RTO_MAX = 3, NET_SCTP_RTO_ALPHA = 4, NET_SCTP_RTO_BETA = 5, NET_SCTP_VALID_COOKIE_LIFE = 6, NET_SCTP_ASSOCIATION_MAX_RETRANS = 7, NET_SCTP_PATH_MAX_RETRANS = 8, NET_SCTP_MAX_INIT_RETRANSMITS = 9, NET_SCTP_HB_INTERVAL = 10, NET_SCTP_PRESERVE_ENABLE = 11, NET_SCTP_MAX_BURST = 12, NET_SCTP_ADDIP_ENABLE = 13, NET_SCTP_PRSCTP_ENABLE = 14, NET_SCTP_SNDBUF_POLICY = 15, NET_SCTP_SACK_TIMEOUT = 16, NET_SCTP_RCVBUF_POLICY = 17, }; enum { NET_BRIDGE_NF_CALL_ARPTABLES = 1, NET_BRIDGE_NF_CALL_IPTABLES = 2, NET_BRIDGE_NF_CALL_IP6TABLES = 3, NET_BRIDGE_NF_FILTER_VLAN_TAGGED = 4, NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, }; enum { FS_NRINODE=1, FS_STATINODE=2, FS_MAXINODE=3, FS_NRDQUOT=4, FS_MAXDQUOT=5, FS_NRFILE=6, FS_MAXFILE=7, FS_DENTRY=8, FS_NRSUPER=9, FS_MAXSUPER=10, FS_OVERFLOWUID=11, FS_OVERFLOWGID=12, FS_LEASES=13, FS_DIR_NOTIFY=14, FS_LEASE_TIME=15, FS_DQSTATS=16, FS_XFS=17, FS_AIO_NR=18, FS_AIO_MAX_NR=19, FS_INOTIFY=20, FS_OCFS2=988, }; enum { FS_DQ_LOOKUPS = 1, FS_DQ_DROPS = 2, FS_DQ_READS = 3, FS_DQ_WRITES = 4, FS_DQ_CACHE_HITS = 5, FS_DQ_ALLOCATED = 6, FS_DQ_FREE = 7, FS_DQ_SYNCS = 8, FS_DQ_WARNINGS = 9, }; enum { DEV_CDROM=1, DEV_HWMON=2, DEV_PARPORT=3, DEV_RAID=4, DEV_MAC_HID=5, DEV_SCSI=6, DEV_IPMI=7, }; enum { DEV_CDROM_INFO=1, DEV_CDROM_AUTOCLOSE=2, DEV_CDROM_AUTOEJECT=3, DEV_CDROM_DEBUG=4, DEV_CDROM_LOCK=5, DEV_CDROM_CHECK_MEDIA=6 }; enum { DEV_PARPORT_DEFAULT=-3 }; enum { DEV_RAID_SPEED_LIMIT_MIN=1, DEV_RAID_SPEED_LIMIT_MAX=2 }; enum { DEV_PARPORT_DEFAULT_TIMESLICE=1, DEV_PARPORT_DEFAULT_SPINTIME=2 }; enum { DEV_PARPORT_SPINTIME=1, DEV_PARPORT_BASE_ADDR=2, DEV_PARPORT_IRQ=3, DEV_PARPORT_DMA=4, DEV_PARPORT_MODES=5, DEV_PARPORT_DEVICES=6, DEV_PARPORT_AUTOPROBE=16 }; enum { DEV_PARPORT_DEVICES_ACTIVE=-3, }; enum { DEV_PARPORT_DEVICE_TIMESLICE=1, }; enum { DEV_MAC_HID_KEYBOARD_SENDS_LINUX_KEYCODES=1, DEV_MAC_HID_KEYBOARD_LOCK_KEYCODES=2, DEV_MAC_HID_MOUSE_BUTTON_EMULATION=3, DEV_MAC_HID_MOUSE_BUTTON2_KEYCODE=4, DEV_MAC_HID_MOUSE_BUTTON3_KEYCODE=5, DEV_MAC_HID_ADB_MOUSE_SENDS_KEYCODES=6 }; enum { DEV_SCSI_LOGGING_LEVEL=1, }; enum { DEV_IPMI_POWEROFF_POWERCYCLE=1, }; enum { ABI_DEFHANDLER_COFF=1, ABI_DEFHANDLER_ELF=2, ABI_DEFHANDLER_LCALL7=3, ABI_DEFHANDLER_LIBCSO=4, ABI_TRACE=5, ABI_FAKE_UTSNAME=6, }; # 46 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 2 3 4 # 65 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 3 4 # 1 "/usr/include/x86_64-linux-gnu/bits/sysctl.h" 1 3 4 # 66 "/usr/include/x86_64-linux-gnu/sys/sysctl.h" 2 3 4 extern int sysctl (int *__name, int __nlen, void *__oldval, size_t *__oldlenp, void *__newval, size_t __newlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 4 "/tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c" 2 stderr: In file included from /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c:3: /usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] 21 | #warning "The header is deprecated and will be removed." | ^~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include Preprocess output before filtering: In file included from /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c:3: /usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] 21 | #warning "The header is deprecated and will be removed." | ^~~~~~~ : Preprocess output after filtering: In file included from /tmp/petsc-qj8bmjby/config.packages.pthread/conftest.c:3: /usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: warning: #warning "The header is deprecated and will be removed." [-Wcpp] 21 | #warning "The header is deprecated and will be removed." | ^~~~~~~: ============================================================================================= TESTING: checkVersion from config.packages.pthread(config/BuildSystem/config/package.py:1069) 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(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.pthread 0.514138 ============================================================================================= TESTING: consistencyChecks from config.packages.egads(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.egads 0.003248 ============================================================================================= TESTING: consistencyChecks from config.packages.PTScotch(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.PTScotch 0.001917 ============================================================================================= TESTING: consistencyChecks from config.packages.mmg(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mmg 0.001355 ============================================================================================= TESTING: consistencyChecks from config.packages.parmmg(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.parmmg 0.001368 ============================================================================================= TESTING: consistencyChecks from config.packages.Zoltan(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Zoltan 0.001354 ============================================================================================= TESTING: consistencyChecks from config.packages.ADIOS(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ADIOS 0.001349 ============================================================================================= TESTING: consistencyChecks from config.packages.openmp(config/BuildSystem/config/package.py:1002) Checks run on the system and currently installed packages that need to be correct for the package now being configured ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.openmp(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.openmp 0.001208 ============================================================================================= TESTING: consistencyChecks from config.packages.viennacl(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.viennacl 0.001349 ============================================================================================= TESTING: consistencyChecks from config.packages.ColPack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ColPack 0.001356 ============================================================================================= TESTING: consistencyChecks from config.packages.ADOLC(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ADOLC 0.001359 ============================================================================================= TESTING: consistencyChecks from config.packages.openblas(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.openblas 0.001344 ============================================================================================= TESTING: consistencyChecks from config.packages.blis(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.blis 0.001350 ============================================================================================= TESTING: consistencyChecks from config.packages.f2cblaslapack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.f2cblaslapack 0.001297 ============================================================================================= TESTING: consistencyChecks from config.packages.BlasLapack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:485) ================================================================================ Checking for BLAS and LAPACK in Default compiler libraries ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:109) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library [''] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ddot_' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ddot_' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ddot_' collect2: error: ld returned 1 exit status: Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library [''] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ddot' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ddot' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ddot' collect2: error: ld returned 1 exit status: Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in Default NEC ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:109) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['libblas_sequential.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblas_sequential -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lblas_sequential collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lblas_sequential collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lblas_sequential collect2: error: ld returned 1 exit status: Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['libblas_sequential.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblas_sequential -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lblas_sequential collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lblas_sequential collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lblas_sequential collect2: error: ld returned 1 exit status: Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in Default BLIS/AMD-AOCL ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:109) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['libblis.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblis -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status: Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['libblis.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblis -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status: Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in Default BLIS/AMD-AOCL ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:109) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['libblis.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblis -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status: Checking for no name mangling on BLAS/LAPACK Checking for functions [ddot] in library ['libblis.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot(); static void _check_ddot() { ddot(); } int main() { _check_ddot();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblis -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: cannot find -lblis collect2: error: ld returned 1 exit status: Unknown name mangling in BLAS/LAPACK ================================================================================ Checking for BLAS and LAPACK in Default compiler locations ============================================================================================= TESTING: checkLib from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:109) Checking for BLAS and LAPACK symbols Checking for Fortran name mangling underscore on BLAS/LAPACK Checking for functions [ddot_] in library ['libblas.a'] ['/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } int main() { _check_ddot_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ddot_(); static void _check_ddot_() { ddot_(); } void dummy(void) {_check_ddot_();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Defined "HAVE_LIBBLAS" to "1" Checking for functions [dgetrs_] in library ['liblapack.a'] ['libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(); static void _check_dgetrs_() { dgetrs_(); } int main() { _check_dgetrs_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgetrs_(); static void _check_dgetrs_() { dgetrs_(); } void dummy(void) {_check_dgetrs_();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Defined "HAVE_LIBLAPACK" to "1" Checking for functions [dgeev_] in library ['liblapack.a'] ['libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(); static void _check_dgeev_() { dgeev_(); } int main() { _check_dgeev_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgeev_(); static void _check_dgeev_() { dgeev_(); } void dummy(void) {_check_dgeev_();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Defined "HAVE_LIBLAPACK" to "1" Found Fortran mangling on BLAS/LAPACK which is underscore Defined "BLASLAPACK_UNDERSCORE" to "1" ============================================================================================= TESTING: checkMKL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:557) Check for Intel MKL library Checking for functions [mkl_set_num_threads] in library ['liblapack.a', 'libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char mkl_set_num_threads(); static void _check_mkl_set_num_threads() { mkl_set_num_threads(); } int main() { _check_mkl_set_num_threads();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `mkl_set_num_threads' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `mkl_set_num_threads' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `mkl_set_num_threads' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkESSL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:601) Check for the IBM ESSL library Checking for functions [iessl] in library ['liblapack.a', 'libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char iessl(); static void _check_iessl() { iessl(); } int main() { _check_iessl();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `iessl' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `iessl' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `iessl' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkPESSL from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:621) Check for the IBM PESSL library - and error out - if used instead of ESSL Checking for functions [ipessl] in library ['liblapack.a', 'libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char ipessl(); static void _check_ipessl() { ipessl(); } int main() { _check_ipessl();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Possible ERROR while running linker: exit code 1 stderr: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ipessl' collect2: error: ld returned 1 exit status Linker output before filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ipessl' collect2: error: ld returned 1 exit status : Linker output after filtering: /usr/bin/ld: /tmp/petsc-qj8bmjby/config.libraries/conftest.o: in function `main': conftest.c:(.text.startup+0xb): undefined reference to `ipessl' collect2: error: ld returned 1 exit status: ============================================================================================= TESTING: checkMissing from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:646) Check for missing LAPACK routines Checking for functions [dgelss_ dgerfs_ dgges_ dhgeqz_ dhseqr_ dorgqr_ dormqr_ dstebz_ dstegr_ dstein_ dsteqr_ dsytri_ dtgsen_ dtrsen_ dtrtrs_ dgeqp3_] in library ['liblapack.a'] ['libblas.a', 'liblapack.a', 'libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgelss_(); static void _check_dgelss_() { dgelss_(); } char dgerfs_(); static void _check_dgerfs_() { dgerfs_(); } char dgges_(); static void _check_dgges_() { dgges_(); } char dhgeqz_(); static void _check_dhgeqz_() { dhgeqz_(); } char dhseqr_(); static void _check_dhseqr_() { dhseqr_(); } char dorgqr_(); static void _check_dorgqr_() { dorgqr_(); } char dormqr_(); static void _check_dormqr_() { dormqr_(); } char dstebz_(); static void _check_dstebz_() { dstebz_(); } char dstegr_(); static void _check_dstegr_() { dstegr_(); } char dstein_(); static void _check_dstein_() { dstein_(); } char dsteqr_(); static void _check_dsteqr_() { dsteqr_(); } char dsytri_(); static void _check_dsytri_() { dsytri_(); } char dtgsen_(); static void _check_dtgsen_() { dtgsen_(); } char dtrsen_(); static void _check_dtrsen_() { dtrsen_(); } char dtrtrs_(); static void _check_dtrtrs_() { dtrtrs_(); } char dgeqp3_(); static void _check_dgeqp3_() { dgeqp3_(); } int main() { _check_dgelss_(); _check_dgerfs_(); _check_dgges_(); _check_dhgeqz_(); _check_dhseqr_(); _check_dorgqr_(); _check_dormqr_(); _check_dstebz_(); _check_dstegr_(); _check_dstein_(); _check_dsteqr_(); _check_dsytri_(); _check_dtgsen_(); _check_dtrsen_(); _check_dtrtrs_(); _check_dgeqp3_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dgelss_(); static void _check_dgelss_() { dgelss_(); } char dgerfs_(); static void _check_dgerfs_() { dgerfs_(); } char dgges_(); static void _check_dgges_() { dgges_(); } char dhgeqz_(); static void _check_dhgeqz_() { dhgeqz_(); } char dhseqr_(); static void _check_dhseqr_() { dhseqr_(); } char dorgqr_(); static void _check_dorgqr_() { dorgqr_(); } char dormqr_(); static void _check_dormqr_() { dormqr_(); } char dstebz_(); static void _check_dstebz_() { dstebz_(); } char dstegr_(); static void _check_dstegr_() { dstegr_(); } char dstein_(); static void _check_dstein_() { dstein_(); } char dsteqr_(); static void _check_dsteqr_() { dsteqr_(); } char dsytri_(); static void _check_dsytri_() { dsytri_(); } char dtgsen_(); static void _check_dtgsen_() { dtgsen_(); } char dtrsen_(); static void _check_dtrsen_() { dtrsen_(); } char dtrtrs_(); static void _check_dtrtrs_() { dtrtrs_(); } char dgeqp3_(); static void _check_dgeqp3_() { dgeqp3_(); } void dummy(void) {_check_dgelss_(); _check_dgerfs_(); _check_dgges_(); _check_dhgeqz_(); _check_dhseqr_(); _check_dorgqr_(); _check_dormqr_(); _check_dstebz_(); _check_dstegr_(); _check_dstein_(); _check_dsteqr_(); _check_dsytri_(); _check_dtgsen_(); _check_dtrsen_(); _check_dtrtrs_(); _check_dgeqp3_();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -llapack -lblas -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Defined "HAVE_LIBLAPACK" to "1" ============================================================================================= TESTING: checklsame from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:662) Do the BLAS/LAPACK libraries have a valid lsame() function with correct binding. Checking for functions [lsame_] in library ['liblapack.a', 'libblas.a', '/usr/local/cuda/lib64/libcudart.a', 'libcufft.a', 'libcublas.a', 'libcusparse.a', 'libcusolver.a', 'libcurand.a', 'libm.a', '-lstdc++', '-ldl', '-Wl,-rpath,/usr/local/lib', '-L/usr/local/lib', '-lmpi_usempif08', '-lmpi_usempi_ignore_tkr', '-lmpi_mpifh', '-lmpi', '-lgfortran', '-lm', '-Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9', '-L/usr/lib/gcc/x86_64-linux-gnu/9', '-Wl,-rpath,/usr/local/lib', '-lgfortran', '-lm', '-lgcc_s', '-lquadmath', '-lpthread'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(); static void _check_lsame_() { lsame_(); } int main() { _check_lsame_();; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.libraries/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char lsame_(); static void _check_lsame_() { lsame_(); } void dummy(void) {_check_lsame_();} ===== Checking linker Executing: mpif90 -c -o /tmp/petsc-qj8bmjby/config.compilers/conftest.o -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.libraries -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.F90 Successful compile: Source: program main print*,'testing' stop end Executing: mpif90 -o /tmp/petsc-qj8bmjby/config.compilers/conftest -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx /tmp/petsc-qj8bmjby/config.compilers/conftest.o /tmp/petsc-qj8bmjby/config.compilers/confc.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Defined "HAVE_LIBLAPACK" to "1" Defined "HAVE_LIBBLAS" to "1" Defined "HAVE_LIBCUDART" to "1" Defined "HAVE_LIBCUFFT" to "1" Defined "HAVE_LIBCUBLAS" to "1" Defined "HAVE_LIBCUSPARSE" to "1" Defined "HAVE_LIBCUSOLVER" to "1" Defined "HAVE_LIBCURAND" to "1" Defined "HAVE_LIBM" to "1" Defined "HAVE_LIBSTDC__" 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 compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" char *dgeev_(void); char* testroutine(void){return dgeev_(); } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.setCompilers/libconftest.so -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.setCompilers/conftest.o -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -llapack -lblas -llapack -lblas -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl ============================================================================================= TESTING: checkRuntimeIssues from config.packages.BlasLapack(config/BuildSystem/config/packages/BlasLapack.py:721) Determines if BLAS/LAPACK routines use 32 or 64 bit integers ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { FILE *output = fopen("runtimetestoutput","w"); extern double ddot_(const int*,const double*,const int *,const double*,const int*); double x1mkl[4] = {3.0,5.0,7.0,9.0}; int one1mkl = 1,nmkl = 2; double dotresultmkl = 0; dotresultmkl = ddot_(&nmkl,x1mkl,&one1mkl,x1mkl,&one1mkl); fprintf(output, "-known-64-bit-blas-indices=%d",dotresultmkl != 34);; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest Checking for 64 bit blas indices: result 0 Checking if sdot() returns a float or a double ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { 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: mpicc -o /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest Checking for sdot() return double: result 0 Checking if snrm() returns a float or a double ======== Checking running linked program ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { 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: mpicc -o /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest.o -llapack -lblas -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lm -lstdc++ -ldl -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -Wl,-rpath,/usr/local/lib -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl Testing executable /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest to see if it can be run Executing: /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest Running Executable with threads to time it out at 60 Executing: /tmp/petsc-qj8bmjby/config.packages.BlasLapack/conftest Checking for snrm2() return double: result 0 ============================================================================================= TESTING: checkVersion from config.packages.BlasLapack(config/BuildSystem/config/package.py:1069) Uses self.version, self.minversion, self.maxversion, self.versionname, and self.versioninclude to determine if package has required version ============================================================================================= TESTING: checkSharedLibrary from config.packages.BlasLapack(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.BlasLapack 5.193502 ============================================================================================= TESTING: consistencyChecks from config.packages.sundials2(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.sundials2 0.002326 ============================================================================================= TESTING: consistencyChecks from config.packages.spai(config/BuildSystem/config/packages/spai.py:53) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.spai(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.spai 0.001816 ============================================================================================= TESTING: consistencyChecks from config.packages.pARMS(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.pARMS 0.001496 ============================================================================================= TESTING: consistencyChecks from config.packages.p4est(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.p4est 0.001482 ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_sparse_optimize(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.mkl_sparse_optimize(config/BuildSystem/config/packages/mkl_sparse_optimize.py:48) ============================================================================================= TESTING: checkVersion from config.packages.mkl_sparse_optimize(config/BuildSystem/config/package.py:1069) 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(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.mkl_sparse_optimize 0.002109 ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_sparse(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:903) ============================================================================================= TESTING: configureLibrary from config.packages.mkl_sparse(config/BuildSystem/config/packages/mkl_sparse.py:21) ============================================================================================= TESTING: checkVersion from config.packages.mkl_sparse(config/BuildSystem/config/package.py:1069) 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(config/BuildSystem/config/package.py:994) By default we don't care about checking if the library is shared child config.packages.mkl_sparse 0.003262 ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_cpardiso(config/BuildSystem/config/packages/mkl_cpardiso.py:20) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mkl_cpardiso(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mkl_cpardiso 0.001657 ============================================================================================= TESTING: consistencyChecks from config.packages.kokkos(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.kokkos 0.001362 ============================================================================================= TESTING: consistencyChecks from config.packages.kokkos-kernels(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.kokkos-kernels 0.001347 ============================================================================================= TESTING: consistencyChecks from config.packages.htool(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.htool 0.001273 ============================================================================================= TESTING: consistencyChecks from config.packages.magma(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.magma 0.001348 ============================================================================================= TESTING: consistencyChecks from config.packages.kblas(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.kblas 0.001337 ============================================================================================= TESTING: consistencyChecks from config.packages.h2opus(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.h2opus 0.001254 ============================================================================================= TESTING: consistencyChecks from config.packages.fftw(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.fftw 0.001342 ============================================================================================= TESTING: consistencyChecks from config.packages.elemental(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.elemental 0.001357 ============================================================================================= TESTING: consistencyChecks from config.packages.ml(config/BuildSystem/config/packages/ml.py:62) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.ml(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.ml 0.001570 ============================================================================================= TESTING: consistencyChecks from config.packages.mkl_pardiso(config/BuildSystem/config/packages/mkl_pardiso.py:21) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.mkl_pardiso(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mkl_pardiso 0.001395 ============================================================================================= TESTING: consistencyChecks from config.packages.SuperLU_DIST(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.SuperLU_DIST 0.001346 ============================================================================================= TESTING: consistencyChecks from config.packages.SuperLU(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.SuperLU 0.001344 ============================================================================================= TESTING: consistencyChecks from config.packages.PaStiX(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.PaStiX 0.001352 ============================================================================================= TESTING: consistencyChecks from config.packages.scalapack(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.scalapack 0.001342 ============================================================================================= TESTING: consistencyChecks from config.packages.strumpack(config/BuildSystem/config/packages/strumpack.py:68) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.strumpack(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.strumpack 0.001543 ============================================================================================= TESTING: consistencyChecks from config.packages.MUMPS(config/BuildSystem/config/packages/MUMPS.py:59) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.MUMPS(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.MUMPS 0.001822 ============================================================================================= TESTING: consistencyChecks from config.packages.MOAB(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.MOAB 0.001336 Executing: uname -s stdout: Linux ============================================================================================= TESTING: consistencyChecks from config.packages.SuiteSparse(config/BuildSystem/config/packages/SuiteSparse.py:176) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.SuiteSparse(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.SuiteSparse 0.006183 ============================================================================================= TESTING: consistencyChecks from config.packages.Chombo(config/BuildSystem/config/packages/Chombo.py:130) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.Chombo(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Chombo 0.001631 ============================================================================================= TESTING: consistencyChecks from config.packages.hypre(config/BuildSystem/config/packages/hypre.py:171) ============================================================================================= TESTING: alternateConfigureLibrary from config.packages.hypre(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.hypre 0.001647 ============================================================================================= TESTING: consistencyChecks from config.packages.Trilinos(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.Trilinos 0.001375 ============================================================================================= TESTING: consistencyChecks from config.packages.xSDKTrilinos(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.xSDKTrilinos 0.001350 ============================================================================================= TESTING: consistencyChecks from config.packages.mstk(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/package.py:998) Called if --with-packagename=0; does nothing by default child config.packages.mstk 0.001363 ============================================================================================= TESTING: consistencyChecks from config.packages.slepc(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/packages/slepc.py:97) Defined make rule "slepc-build" with dependencies "" and code [] Defined make rule "slepc-install" with dependencies "" and code [] child config.packages.slepc 0.001658 ============================================================================================= TESTING: consistencyChecks from config.packages.hpddm(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/packages/hpddm.py:110) Defined make rule "hpddm-build" with dependencies "" and code [] Defined make rule "hpddm-install" with dependencies "" and code [] child config.packages.hpddm 0.001676 ============================================================================================= TESTING: consistencyChecks from config.packages.bamg(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/packages/bamg.py:86) Defined make rule "bamg-build" with dependencies "" and code [] Defined make rule "bamg-install" with dependencies "" and code [] child config.packages.bamg 0.001731 ============================================================================================= TESTING: consistencyChecks from config.packages.MFEM(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/packages/MFEM.py:218) Defined make rule "mfem-build" with dependencies "" and code [] Defined make rule "mfem-install" with dependencies "" and code [] child config.packages.MFEM 0.001658 ============================================================================================= TESTING: consistencyChecks from config.packages.AMReX(config/BuildSystem/config/package.py:1002) 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(config/BuildSystem/config/packages/AMReX.py:151) Defined make rule "amrex-build" with dependencies "" and code [] Defined make rule "amrex-install" with dependencies "" and code [] child config.packages.AMReX 0.001745 ============================================================================================= TESTING: configureRTLDDefault from PETSc.Configure(config/PETSc/Configure.py:705) ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:4:15: error: ‘RTLD_DEFAULT’ undeclared here (not in a function) 4 | void *ptr = RTLD_DEFAULT; | ^~~~~~~~~~~~ Source: #include "confdefs.h" #include "conffix.h" #include void *ptr = RTLD_DEFAULT; int main() { ; return 0; } ============================================================================================= TESTING: configurePrefetch from PETSc.Configure(config/PETSc/Configure.py:523) Sees if there are any prefetch functions supported Executing: uname -s stdout: Linux ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *v = 0;_mm_prefetch((const char*)v,_MM_HINT_NTA); ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_XMMINTRIN_H" to "1" Defined "Prefetch(a,b,c)" to "_mm_prefetch((const char*)(a),(c))" Defined "PREFETCH_HINT_NTA" to "_MM_HINT_NTA" Defined "PREFETCH_HINT_T0" to "_MM_HINT_T0" Defined "PREFETCH_HINT_T1" to "_MM_HINT_T1" Defined "PREFETCH_HINT_T2" to "_MM_HINT_T2" ============================================================================================= TESTING: configureUnused from PETSc.Configure(config/PETSc/Configure.py:591) Sees if __attribute((unused)) is supported ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:7:5: warning: unused variable ‘j’ [-Wunused-variable] 7 | int j = myfunc(&i); | ^ Source: #include "confdefs.h" #include "conffix.h" __attribute((unused)) static int myfunc(__attribute((unused)) void *name){ return 1;} int main() { int i = 0; int j = myfunc(&i); typedef void* atype; __attribute((unused)) atype a; ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl Defined "UNUSED" to "__attribute((unused))" ============================================================================================= TESTING: configureDeprecated from PETSc.Configure(config/PETSc/Configure.py:609) Check if __attribute((deprecated)) is supported ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:3:38: warning: ‘myfunc’ defined but not used [-Wunused-function] 3 | __attribute((deprecated)) static int myfunc(void) { return 1;} | ^~~~~~ Source: #include "confdefs.h" #include "conffix.h" __attribute((deprecated)) static int myfunc(void) { return 1;} int main() { ; return 0; } Defined "DEPRECATED_FUNCTION(why)" to "__attribute((deprecated))" Defined "DEPRECATED_TYPEDEF(why)" to "__attribute((deprecated))" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" enum E {oldval __attribute((deprecated)), newval }; int main() { ; return 0; } Defined "DEPRECATED_ENUM(why)" to "__attribute((deprecated))" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define TEST _Pragma("GCC warning "Testing _Pragma"") value int main() { ; return 0; } Defined "DEPRECATED_MACRO(why)" to "_Pragma(why)" ============================================================================================= TESTING: configureIsatty from PETSc.Configure(config/PETSc/Configure.py:603) 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(config/PETSc/Configure.py:658) Sees if the __builtin_expect directive is supported ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__builtin_expect(0,1)) return 1;; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_BUILTIN_EXPECT" to "1" ============================================================================================= TESTING: configureAlign from PETSc.Configure(config/PETSc/Configure.py:642) Check if __attribute(aligned) is supported ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" struct mystruct {int myint;} __attribute((aligned(16))); char assert_aligned[(sizeof(struct mystruct)==16)*2-1]; int main() { ; return 0; } Defined "ATTRIBUTEALIGNED(size)" to "__attribute((aligned(size)))" Defined "HAVE_ATTRIBUTEALIGNED" to "1" ============================================================================================= TESTING: configureFunctionName from PETSc.Configure(config/PETSc/Configure.py:665) Sees if the compiler supports __func__ or a variant. ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl Defined "FUNCTION_NAME_C" to "__func__" ===== Checking compiler Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } ===== Checking linker Executing: mpicxx -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { if (__func__[0] != 'm') return 1;; return 0; } Executing: mpicxx -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl Defined "FUNCTION_NAME_CXX" to "__func__" ============================================================================================= TESTING: configureIntptrt from PETSc.Configure(config/PETSc/Configure.py:683) Determine what to use for uintptr_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:6:18: warning: unused variable ‘i’ [-Wunused-variable] 6 | int x; uintptr_t i = (uintptr_t)&x;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int x; uintptr_t i = (uintptr_t)&x;; return 0; } Defined "UINTPTR_T" to "uintptr_t" ============================================================================================= TESTING: configureSolaris from PETSc.Configure(config/PETSc/Configure.py:710) Solaris specific stuff ============================================================================================= TESTING: configureLinux from PETSc.Configure(config/PETSc/Configure.py:723) Linux specific stuff Defined "HAVE_DOUBLE_ALIGN_MALLOC" to "1" ============================================================================================= TESTING: configureWin32 from PETSc.Configure(config/PETSc/Configure.py:729) Win32 non-cygwin specific stuff Checking for functions [GetComputerName] in library ['Kernel32.lib'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName() { GetComputerName(NULL,NULL);; } int main() { _check_GetComputerName();; return 0; } Compile failed inside link Checking for functions [GetComputerName] in library ['kernel32'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetComputerName() { GetComputerName(NULL,NULL);; } int main() { _check_GetComputerName();; return 0; } Compile failed inside link Checking for functions [GetUserName] in library ['Advapi32.lib'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName() { GetUserName(NULL,NULL);; } int main() { _check_GetUserName();; return 0; } Compile failed inside link Checking for functions [GetUserName] in library ['advapi32'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetUserName() { GetUserName(NULL,NULL);; } int main() { _check_GetUserName();; return 0; } Compile failed inside link Checking for functions [GetDC] in library ['User32.lib'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC() { GetDC(0);; } int main() { _check_GetDC();; return 0; } Compile failed inside link Checking for functions [GetDC] in library ['user32'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_GetDC() { GetDC(0);; } int main() { _check_GetDC();; return 0; } Compile failed inside link Checking for functions [CreateCompatibleDC] in library ['Gdi32.lib'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC() { CreateCompatibleDC(0);; } int main() { _check_CreateCompatibleDC();; return 0; } Compile failed inside link Checking for functions [CreateCompatibleDC] in library ['gdi32'] [] ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.libraries/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.libraries/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/config.libraries/conftest.c:4:10: fatal error: windows.h: No such file or directory 4 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_CreateCompatibleDC() { CreateCompatibleDC(0);; } int main() { _check_CreateCompatibleDC();; return 0; } Compile failed inside link Checking for type: int32_t ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/config.types/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/config.types/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/config.types/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/config.types/conftest.c:11:9: warning: unused variable ‘a’ [-Wunused-variable] 11 | int32_t a;; | ^ Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { int32_t a;; return 0; } int32_t found ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:6:7: warning: unused variable ‘u’ [-Wunused-variable] 6 | uid_t u; | ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { uid_t u; ; return 0; } ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:8:5: warning: unused variable ‘a’ [-Wunused-variable] 8 | int a=R_OK; | ^ Source: #include "confdefs.h" #include "conffix.h" #if defined(PETSC_HAVE_UNISTD_H) #include #endif int main() { int a=R_OK; ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int a=0; if (S_ISDIR(a)){} ; return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:3:10: fatal error: windows.h: No such file or directory 3 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { LARGE_INTEGER a; DWORD b=a.u.HighPart; ; return 0; } ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: exit code 1 stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:3:10: fatal error: windows.h: No such file or directory 3 | #include | ^~~~~~~~~~~ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { int flags = O_BINARY;; return 0; } Defined "REPLACE_DIR_SEPARATOR" to "'\\'" Defined "DIR_SEPARATOR" to "'/'" Defined "DIR" to ""/opt/petsc/complex-double-with-cuda"" Defined make macro "wPETSC_DIR" to "/opt/petsc/complex-double-with-cuda" Defined "ARCH" to """" ============================================================================================= TESTING: configureCygwinBrokenPipe from PETSc.Configure(config/PETSc/Configure.py:807) Cygwin version <= 1.7.18 had issues with pipes and long commands invoked from gnu-make http://cygwin.com/ml/cygwin/2013-05/msg00340.html Executing: uname -s stdout: Linux ============================================================================================= TESTING: configureDefaultArch from PETSc.Configure(config/PETSc/Configure.py:823) ============================================================================================= TESTING: configureScript from PETSc.Configure(config/PETSc/Configure.py:840) Output a script in the conf directory which will reproduce the configuration ============================================================================================= TESTING: configureInstall from PETSc.Configure(config/PETSc/Configure.py:879) 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 "sudo ${MAKE_USER} PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} install"', '-@echo "========================================="'] ============================================================================================= TESTING: configureGCOV from PETSc.Configure(config/PETSc/Configure.py:895) ============================================================================================= TESTING: configureAtoll from PETSc.Configure(config/PETSc/Configure.py:586) Checks if atoll exists ===== Checking linker Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Possible ERROR while running compiler: stderr: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c: In function ‘main’: /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c:7:6: warning: unused variable ‘v’ [-Wunused-variable] 7 | long v = atoll("25"); | ^ Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { long v = atoll("25"); return 0; } Executing: mpicc -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -lquadmath -lstdc++ -ldl Defined "HAVE_ATOLL" to "1" ============================================================================================= Executing: CC -VV Defined "USE_SOCKET_VIEWER" to "1" ===== Checking compiler Executing: mpicc -c -o /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.o -I/tmp/petsc-qj8bmjby/config.compilerFlags -I/tmp/petsc-qj8bmjby/config.utilities.closure -I/tmp/petsc-qj8bmjby/config.compilersFortran -I/tmp/petsc-qj8bmjby/config.headers -I/tmp/petsc-qj8bmjby/config.utilities.cacheDetails -I/tmp/petsc-qj8bmjby/config.functions -I/tmp/petsc-qj8bmjby/config.utilities.featureTestMacros -I/tmp/petsc-qj8bmjby/config.utilities.missing -I/tmp/petsc-qj8bmjby/PETSc.options.sharedLibraries -I/tmp/petsc-qj8bmjby/PETSc.options.scalarTypes -I/tmp/petsc-qj8bmjby/config.packages.MPI -I/tmp/petsc-qj8bmjby/config.setCompilers -I/tmp/petsc-qj8bmjby/config.compilers -I/tmp/petsc-qj8bmjby/config.packages.pthread -I/tmp/petsc-qj8bmjby/config.packages.BlasLapack -I/tmp/petsc-qj8bmjby/config.libraries -I/tmp/petsc-qj8bmjby/config.types -I/tmp/petsc-qj8bmjby/PETSc.Configure -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx /tmp/petsc-qj8bmjby/PETSc.Configure/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { setsockopt(0,SOL_SOCKET,SO_REUSEADDR,0,0); return 0; } Defined "HAVE_SO_REUSEADDR" to "1" ============================================================================================= Executing: mpicc -show stdout: gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Defined "MPICC_SHOW" to ""gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi"" Defined make macro "CC_FLAGS" to " -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx " Defined "HAVE_CXX" to "1" Defined make macro "CXXPP_FLAGS" to "" Defined make macro "CXX_FLAGS" to " -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 " Defined make macro "CXX_LINKER" to "mpicxx" Defined make macro "CXX_LINKER_FLAGS" to " -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx" Defined make macro "CPP_FLAGS" to " " Defined make macro "PCC" to "mpicc" Defined make macro "PCC_FLAGS" to " -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx " Defined make macro "CC_SUFFIX" to "o" Defined make macro "PCC_LINKER" to "mpicc" Defined make macro "PCC_LINKER_FLAGS" to " -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx" Defined make macro "CC_LINKER_SUFFIX" to "" Defined "HAVE_FORTRAN" to "1" Defined make macro "FPP_FLAGS" to "" Defined make macro "FC_FLAGS" to " -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx " Defined make macro "FC_SUFFIX" to "o" Defined make macro "FC_LINKER" to "mpif90" Defined make macro "FC_LINKER_FLAGS" to " -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx " Defined make macro "FC_MODULE_FLAG" to "-I" Defined make macro "FC_MODULE_OUTPUT_FLAG" to "-J" Defined make macro "CUDAC_FLAGS" to " -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -gencode arch=compute_61,code=sm_61 -Wno-deprecated-gpu-targets" Defined make macro "SL_LINKER" to "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 make macro "BLASLAPACK_LIB" to "-llapack -lblas" Defined make macro "BLASLAPACK_INCLUDE" to "" Defined "HAVE_PTHREAD" to "1" Defined make macro "PTHREAD_LIB" to "" Defined make macro "PTHREAD_INCLUDE" to "" 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 "HAVE_SOWING" to "1" Defined make macro "SOWING_LIB" to "" Defined make macro "SOWING_INCLUDE" to "" Defined make macro "MPI_LIB" to "" Defined make macro "MPI_INCLUDE" to "" Defined "HAVE_CUDA" to "1" Defined make macro "CUDA_LIB" to "-Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand" Defined make macro "CUDA_INCLUDE" to "-I/usr/local/cuda/include" Defined make macro "PETSC_EXTERNAL_LIB_BASIC" to "-Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -llapack -lblas -lm -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl" Defined make macro "PETSC_CC_INCLUDES" to "-I/home/hao/src/git/PETScbak/include -I/home/hao/src/git/PETScbak/arch-linux-c-debug/include -I/usr/local/cuda/include" Defined make macro "PETSC_CC_INCLUDES_INSTALL" to "-I/opt/petsc/complex-double-with-cuda/include -I/usr/local/cuda/include" Defined make macro "PETSC_FC_INCLUDES" to "-I/home/hao/src/git/PETScbak/include -I/home/hao/src/git/PETScbak/arch-linux-c-debug/include -I/usr/local/cuda/include" Defined make macro "PETSC_FC_INCLUDES_INSTALL" to "-I/opt/petsc/complex-double-with-cuda/include -I/usr/local/cuda/include" Defined "LIB_DIR" to ""/opt/petsc/complex-double-with-cuda/lib"" Defined make macro "LIBNAME" to "${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX}" Defined make macro "SHLIBS" to "libpetsc" Defined make macro "PETSC_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_KSP_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_TS_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_TAO_LIB_BASIC" to "-lpetsc" Defined make macro "PETSC_WITH_EXTERNAL_LIB" to "-L${PETSC_DIR}/${PETSC_ARCH}/lib -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -lpetsc -llapack -lblas -lm -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl" Defined "USE_SINGLE_LIBRARY" to "1" Defined make macro "PETSC_SYS_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_VEC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_MAT_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_DM_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_KSP_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_SNES_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TS_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_TAO_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_CHARACTERISTIC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_LIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "PETSC_CONTRIB" to "${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB}" Defined make macro "CONFIGURE_OPTIONS" to "--prefix=/opt/petsc/complex-double-with-cuda --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 COPTFLAGS=\"-O3 -mavx\" CXXOPTFLAGS=\"-O3 -mavx\" FOPTFLAGS=\"-O3 -ffree-line-length-none -mavx\" CUDAOPTFLAGS=-O3 --with-scalar-type=complex --with-precision=double --with-cuda-dir=/usr/local/cuda --with-fortran-kernels=1 --with-clanguage=c --with-cxx-dialect=cxx14 --with-cuda-dialect=cxx14 -with-debugging=1" ================================================================================ child PETSc.Configure 2.126989 child sum 77.171328 child total 77.201034 **** arch-linux-c-debug/lib/petsc/conf/petscvariables **** FAST_AR_FLAGS = Scq AR_FLAGS = cr AR_ARGFILE = yes C_VERSION = gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 MPICC_SHOW = gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi Cxx_VERSION = g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 MPICXX_SHOW = g++ -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi FC_VERSION = GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 MPIFC_SHOW = gfortran -I/usr/local/include -pthread -I/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi CUDA_VERSION = nvcc: NVIDIA (R) Cuda compiler driver C_DEPFLAGS = -MMD -MP CXX_DEPFLAGS = -MMD -MP CUDA_DEPFLAGS = -MMD -MP FC_DEFINE_FLAG = -D FC_DEPFLAGS = -MMD -MP wPETSC_DIR = /opt/petsc/complex-double-with-cuda CC_FLAGS = -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx CXXPP_FLAGS = CXX_FLAGS = -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 CXX_LINKER = mpicxx CXX_LINKER_FLAGS = -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx CPP_FLAGS = PCC = mpicc PCC_FLAGS = -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx CC_SUFFIX = o PCC_LINKER = mpicc PCC_LINKER_FLAGS = -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx CC_LINKER_SUFFIX = FPP_FLAGS = FC_FLAGS = -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx FC_SUFFIX = o FC_LINKER = mpif90 FC_LINKER_FLAGS = -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx FC_MODULE_FLAG = -I FC_MODULE_OUTPUT_FLAG = -J CUDAC_FLAGS = -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -gencode arch=compute_61,code=sm_61 -Wno-deprecated-gpu-targets SL_LINKER = 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 BLASLAPACK_LIB = -llapack -lblas BLASLAPACK_INCLUDE = PTHREAD_LIB = PTHREAD_INCLUDE = MATHLIB_LIB = -lm MATHLIB_INCLUDE = REGEX_LIB = REGEX_INCLUDE = SOWING_LIB = SOWING_INCLUDE = MPI_LIB = MPI_INCLUDE = CUDA_LIB = -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand CUDA_INCLUDE = -I/usr/local/cuda/include PETSC_EXTERNAL_LIB_BASIC = -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -llapack -lblas -lm -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl PETSC_CC_INCLUDES = -I/home/hao/src/git/PETScbak/include -I/home/hao/src/git/PETScbak/arch-linux-c-debug/include -I/usr/local/cuda/include PETSC_CC_INCLUDES_INSTALL = -I/opt/petsc/complex-double-with-cuda/include -I/usr/local/cuda/include PETSC_FC_INCLUDES = -I/home/hao/src/git/PETScbak/include -I/home/hao/src/git/PETScbak/arch-linux-c-debug/include -I/usr/local/cuda/include PETSC_FC_INCLUDES_INSTALL = -I/opt/petsc/complex-double-with-cuda/include -I/usr/local/cuda/include LIBNAME = ${INSTALL_LIB_DIR}/libpetsc.${AR_LIB_SUFFIX} SHLIBS = libpetsc PETSC_LIB_BASIC = -lpetsc PETSC_KSP_LIB_BASIC = -lpetsc PETSC_TS_LIB_BASIC = -lpetsc PETSC_TAO_LIB_BASIC = -lpetsc PETSC_WITH_EXTERNAL_LIB = -L${PETSC_DIR}/${PETSC_ARCH}/lib -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9 -lpetsc -llapack -lblas -lm -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand -lstdc++ -ldl -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -lm -lgfortran -lm -lgcc_s -lquadmath -lpthread -lquadmath -lstdc++ -ldl PETSC_SYS_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_VEC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_MAT_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_DM_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_KSP_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_SNES_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_TS_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_TAO_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_CHARACTERISTIC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_LIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} PETSC_CONTRIB = ${C_SH_LIB_PATH} ${PETSC_WITH_EXTERNAL_LIB} CONFIGURE_OPTIONS = --prefix=/opt/petsc/complex-double-with-cuda --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 COPTFLAGS=\"-O3 -mavx\" CXXOPTFLAGS=\"-O3 -mavx\" FOPTFLAGS=\"-O3 -ffree-line-length-none -mavx\" CUDAOPTFLAGS=-O3 --with-scalar-type=complex --with-precision=double --with-cuda-dir=/usr/local/cuda --with-fortran-kernels=1 --with-clanguage=c --with-cxx-dialect=cxx14 --with-cuda-dialect=cxx14 -with-debugging=1 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 CC = mpicc CPP = mpicc -E CUDAC = /usr/local/cuda/bin/nvcc CUDAPP = /usr/local/cuda/bin/nvcc -E CXX = mpicxx CXXPP = mpicxx -E FC = mpif90 AR = /usr/bin/ar RANLIB = /usr/bin/ranlib AR_LIB_SUFFIX = a LD_SHARED = mpicc DYNAMICLINKER = mpicc CC_LINKER_SLFLAG = -Wl,-rpath, FC_LINKER_SLFLAG = -Wl,-rpath, CLANGUAGE = C GIT = git PREFIXDIR = /opt/petsc/complex-double-with-cuda PETSC_SCALAR_SIZE = 64 PETSC_INDEX_SIZE = 32 MAKE = /usr/bin/make MAKE_USER = make OMAKE_PRINTDIR = /usr/bin/make --print-directory OMAKE = /usr/bin/make --no-print-directory MAKE_PAR_OUT_FLG = --output-sync=recurse 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-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2)) BUILDSHAREDLIB = yes DSYMUTIL = true MPIEXECEXECUTABLE = /usr/local/bin/mpiexec MPIEXEC = mpiexec --oversubscribe HOSTNAME = hostname PING = ping MPICXX_INCLUDES = -I/usr/local/include MPICXX_LIBS = -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi SYSTEMNVCC = /usr/local/cuda/bin/nvcc CUDA_CXXFLAGS = -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx CUDA_CXX = mpicxx BFORT = /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bfort DOCTEXT = /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/doctext MAPNAMES = /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/mapnames BIB2HTML = /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bib2html PETSC_TEST_OPTIONS = **** arch-linux-c-debug/lib/petsc/conf/petscrules **** print_mesg_after_build: -@echo "=========================================" -@echo "Now to install the libraries do:" -@echo "sudo ${MAKE_USER} PETSC_DIR=${PETSC_DIR} PETSC_ARCH=${PETSC_ARCH} install" -@echo "=========================================" libc: ${LIBNAME}(${OBJSC}) libcxx: ${LIBNAME}(${OBJSCXX}) libcu: ${LIBNAME}(${OBJSCU}) libf: ${OBJSF} -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} shared_arch: shared_linux amrex-build: amrex-install: mfem-build: mfem-install: slepc-build: slepc-install: bamg-build: bamg-install: hpddm-build: hpddm-install: libmesh-build: libmesh-install: petsc4py-build: petsc4py-install: petsc4pytest: **** arch-linux-c-debug/include/petscconf.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_ARCH "" #define PETSC_ATTRIBUTEALIGNED(size) __attribute((aligned(size))) #define PETSC_Alignx(a,b) #define PETSC_AssertAlignx(a,b) #define PETSC_BLASLAPACK_UNDERSCORE 1 #define PETSC_CLANGUAGE_C 1 #define PETSC_CUDA_GENERATION 61 #define PETSC_CXX_INLINE inline #define PETSC_CXX_RESTRICT __restrict #define PETSC_C_INLINE inline #define PETSC_C_RESTRICT __restrict #define PETSC_DEPRECATED_ENUM(why) __attribute((deprecated)) #define PETSC_DEPRECATED_FUNCTION(why) __attribute((deprecated)) #define PETSC_DEPRECATED_MACRO(why) _Pragma(why) #define PETSC_DEPRECATED_TYPEDEF(why) __attribute((deprecated)) #define PETSC_DIR "/opt/petsc/complex-double-with-cuda" #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_CUDA 1 #define PETSC_HAVE_CUDA_DIALECT_CXX03 1 #define PETSC_HAVE_CUDA_DIALECT_CXX11 1 #define PETSC_HAVE_CUDA_DIALECT_CXX14 1 #define PETSC_HAVE_CUDA_VERSION_11PLUS 1 #define PETSC_HAVE_CUPM 1 #define PETSC_HAVE_CUSOLVERDNDPOTRI 1 #define PETSC_HAVE_CXX 1 #define PETSC_HAVE_CXX_COMPLEX 1 #define PETSC_HAVE_CXX_COMPLEX_FIX 1 #define PETSC_HAVE_CXX_DIALECT_CXX03 1 #define PETSC_HAVE_CXX_DIALECT_CXX11 1 #define PETSC_HAVE_CXX_DIALECT_CXX14 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_F90_2PTR_ARG 1 #define PETSC_HAVE_FCNTL_H 1 #define PETSC_HAVE_FENV_H 1 #define PETSC_HAVE_FLOAT_H 1 #define PETSC_HAVE_FORK 1 #define PETSC_HAVE_FORTRAN 1 #define PETSC_HAVE_FORTRAN_FLUSH 1 #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #define PETSC_HAVE_FORTRAN_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_LOG2 1 #define PETSC_HAVE_LSEEK 1 #define PETSC_HAVE_MALLOC_H 1 #define PETSC_HAVE_MEMALIGN 1 #define PETSC_HAVE_MEMMOVE 1 #define PETSC_HAVE_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_EXSCAN 1 #define PETSC_HAVE_MPI_F90MODULE 1 #define PETSC_HAVE_MPI_F90MODULE_VISIBILITY 1 #define PETSC_HAVE_MPI_FEATURE_DYNAMIC_WINDOW 1 #define PETSC_HAVE_MPI_FINALIZED 1 #define PETSC_HAVE_MPI_GET_ACCUMULATE 1 #define PETSC_HAVE_MPI_GET_LIBRARY_VERSION 1 #define PETSC_HAVE_MPI_GPU_AWARE 1 #define PETSC_HAVE_MPI_IALLREDUCE 1 #define PETSC_HAVE_MPI_IBARRIER 1 #define PETSC_HAVE_MPI_INIT_THREAD 1 #define PETSC_HAVE_MPI_INT64_T 1 #define PETSC_HAVE_MPI_IN_PLACE 1 #define PETSC_HAVE_MPI_LONG_DOUBLE 1 #define PETSC_HAVE_MPI_NEIGHBORHOOD_COLLECTIVES 1 #define PETSC_HAVE_MPI_NONBLOCKING_COLLECTIVES 1 #define PETSC_HAVE_MPI_ONE_SIDED 1 #define PETSC_HAVE_MPI_PROCESS_SHARED_MEMORY 1 #define PETSC_HAVE_MPI_REDUCE_LOCAL 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER 1 #define PETSC_HAVE_MPI_REDUCE_SCATTER_BLOCK 1 #define PETSC_HAVE_MPI_RGET 1 #define PETSC_HAVE_MPI_TYPE_DUP 1 #define PETSC_HAVE_MPI_TYPE_GET_ENVELOPE 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 4 #define PETSC_HAVE_OMPI_MINOR_VERSION 0 #define PETSC_HAVE_OMPI_RELEASE_VERSION 3 #define PETSC_HAVE_POPEN 1 #define PETSC_HAVE_PTHREAD 1 #define PETSC_HAVE_PTHREAD_BARRIER_T 1 #define PETSC_HAVE_PTHREAD_H 1 #define PETSC_HAVE_PWD_H 1 #define PETSC_HAVE_RAND 1 #define PETSC_HAVE_READLINK 1 #define PETSC_HAVE_REALPATH 1 #define PETSC_HAVE_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_SCHED_CPU_SET_T 1 #define PETSC_HAVE_SETJMP_H 1 #define PETSC_HAVE_SLEEP 1 #define PETSC_HAVE_SNPRINTF 1 #define PETSC_HAVE_SOCKET 1 #define PETSC_HAVE_SOWING 1 #define PETSC_HAVE_SO_REUSEADDR 1 #define PETSC_HAVE_STDINT_H 1 #define PETSC_HAVE_STRCASECMP 1 #define PETSC_HAVE_STRINGS_H 1 #define PETSC_HAVE_STRUCT_SIGACTION 1 #define PETSC_HAVE_SYSINFO 1 #define PETSC_HAVE_SYS_PARAM_H 1 #define PETSC_HAVE_SYS_PROCFS_H 1 #define PETSC_HAVE_SYS_RESOURCE_H 1 #define PETSC_HAVE_SYS_SOCKET_H 1 #define PETSC_HAVE_SYS_SYSINFO_H 1 #define PETSC_HAVE_SYS_TIMES_H 1 #define PETSC_HAVE_SYS_TIME_H 1 #define PETSC_HAVE_SYS_TYPES_H 1 #define PETSC_HAVE_SYS_UTSNAME_H 1 #define PETSC_HAVE_SYS_WAIT_H 1 #define PETSC_HAVE_TGAMMA 1 #define PETSC_HAVE_TIME 1 #define PETSC_HAVE_TIME_H 1 #define PETSC_HAVE_UNAME 1 #define PETSC_HAVE_UNISTD_H 1 #define PETSC_HAVE_USLEEP 1 #define PETSC_HAVE_VA_COPY 1 #define PETSC_HAVE_VSNPRINTF 1 #define PETSC_HAVE_XMMINTRIN_H 1 #define PETSC_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 "/opt/petsc/complex-double-with-cuda/lib" #define PETSC_MAX_PATH_LEN 4096 #define PETSC_MEMALIGN 16 #define PETSC_MPICC_SHOW "gcc -I/usr/local/include -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi" #define PETSC_MPIU_IS_COLORING_VALUE_TYPE MPI_UNSIGNED_SHORT #define PETSC_PREFETCH_HINT_NTA _MM_HINT_NTA #define PETSC_PREFETCH_HINT_T0 _MM_HINT_T0 #define PETSC_PREFETCH_HINT_T1 _MM_HINT_T1 #define PETSC_PREFETCH_HINT_T2 _MM_HINT_T2 #define PETSC_PYTHON_EXE "/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_ENUM 4 #define PETSC_SIZEOF_INT 4 #define PETSC_SIZEOF_LONG 8 #define PETSC_SIZEOF_LONG_LONG 8 #define PETSC_SIZEOF_SHORT 2 #define PETSC_SIZEOF_SIZE_T 8 #define PETSC_SIZEOF_VOID_P 8 #define PETSC_SLSUFFIX "so" #define PETSC_UINTPTR_T uintptr_t #define PETSC_UNUSED __attribute((unused)) #define PETSC_USE_AVX512_KERNELS 1 #define PETSC_USE_BACKWARD_LOOP 1 #define PETSC_USE_COMPLEX 1 #define PETSC_USE_CTABLE 1 #define PETSC_USE_DEBUG 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_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_VERSION_BRANCH_GIT "release" #define PETSC_VERSION_DATE_GIT "2022-01-17 16:30:29 +0000" #define PETSC_VERSION_GIT "v3.16.3-33-g0acd390c19" #define PETSC__BSD_SOURCE 1 #define PETSC__DEFAULT_SOURCE 1 #define PETSC__GNU_SOURCE 1 #endif **** arch-linux-c-debug/include/petscfix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif **** arch-linux-c-debug/include/petscpkg_version.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #define PETSC_PKG_MPI_VERSION_MAJOR 3 #define PETSC_PKG_MPI_VERSION_MINOR 0 #define PETSC_PKG_MPI_VERSION_SUBMINOR 0 #define PETSC_PKG_MPI_VERSION_ PETSC_PKG_MPI_VERSION_EQ #define PETSC_PKG_MPI_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_MPI_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_MPI_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_MPI_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_MPI_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_MPI_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_MPI_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_MPI_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_MPI_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_MPI_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_MPI_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_MPI_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_MPI_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_MPI_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_MPI_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_MPI_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_MPI_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_CUDA_VERSION_MAJOR 11 #define PETSC_PKG_CUDA_VERSION_MINOR 4 #define PETSC_PKG_CUDA_VERSION_SUBMINOR 0 #define PETSC_PKG_CUDA_VERSION_ PETSC_PKG_CUDA_VERSION_EQ #define PETSC_PKG_CUDA_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \ ((PETSC_PKG_CUDA_VERSION_MAJOR == (MAJOR)) && \ (PETSC_PKG_CUDA_VERSION_MINOR == (MINOR)) && \ (PETSC_PKG_CUDA_VERSION_SUBMINOR == (SUBMINOR))) #define PETSC_PKG_CUDA_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_CUDA_VERSION_MAJOR < (MAJOR) || \ (PETSC_PKG_CUDA_VERSION_MAJOR == (MAJOR) && \ (PETSC_PKG_CUDA_VERSION_MINOR < (MINOR) || \ (PETSC_PKG_CUDA_VERSION_MINOR == (MINOR) && \ (PETSC_PKG_CUDA_VERSION_SUBMINOR < (SUBMINOR)))))) #define PETSC_PKG_CUDA_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ (PETSC_PKG_CUDA_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \ PETSC_PKG_CUDA_VERSION_EQ(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_CUDA_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_CUDA_VERSION_LE(MAJOR,MINOR,SUBMINOR)) #define PETSC_PKG_CUDA_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ ( 0 == PETSC_PKG_CUDA_VERSION_LT(MAJOR,MINOR,SUBMINOR)) #endif Attempting to save configure hash file: arch-linux-c-debug/lib/petsc/conf/configure-hash Saved configure hash file: arch-linux-c-debug/lib/petsc/conf/configure-hash Configure Actions These are the actions performed by configure on the filesystem ----------------------------------------------------------------- PETSc: File creation : Generated Fortran stubs Build : Set default architecture to arch-linux-c-debug in lib/petsc/conf/petscvariables File creation : Created arch-linux-c-debug/lib/petsc/conf/reconfigure-arch-linux-c-debug.py for automatic reconfiguration Framework: RDict update : Substitutions were stored in RDict with parent None File creation : Created makefile configure header arch-linux-c-debug/lib/petsc/conf/petscvariables File creation : Created makefile configure header arch-linux-c-debug/lib/petsc/conf/petscrules File creation : Created configure header arch-linux-c-debug/include/petscconf.h File creation : Created C specific configure header arch-linux-c-debug/include/petscfix.h File creation : Created configure pkg header arch-linux-c-debug/include/petscpkg_version.h Compilers: C Compiler: mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx Version: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 CUDA Compiler: /usr/local/cuda/bin/nvcc -Xcompiler -fPIC -O3 -ccbin mpicxx -std=c++14 -gencode arch=compute_61,code=sm_61 -Wno-deprecated-gpu-targets Version: nvcc: NVIDIA (R) Cuda compiler driver C++ Compiler: mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -fPIC -std=gnu++14 Version: g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Fortran Compiler: mpif90 -fPIC -Wall -ffree-line-length-0 -Wno-unused-dummy-argument -O3 -ffree-line-length-none -mavx Version: GNU Fortran (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 Linkers: Shared linker: mpicc -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx Dynamic linker: mpicc -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx Libraries linked against: -lquadmath -lstdc++ -ldl BlasLapack: Library: -llapack -lblas Unknown if this uses OpenMP (try export OMP_NUM_THREADS=<1-4> yourprogram -log_view) uses 4 byte integers MPI: Version: 3 mpiexec: mpiexec --oversubscribe Implementation: openmpi MPI C++ include paths: -I/usr/local/include MPI C++ libraries: -Wl,-rpath -Wl,/usr/local/lib -Wl,--enable-new-dtags -L/usr/local/lib -lmpi OMPI_VERSION: 4.0.3 cuda: Version: 11.4 Includes: -I/usr/local/cuda/include Library: -Wl,-rpath,/usr/local/cuda/lib64 -L/usr/local/cuda/lib64 -lcudart -lcufft -lcublas -lcusparse -lcusolver -lcurand CUDA SM 61 CUDA underlying compiler: CUDA_CXX=mpicxx CUDA underlying compiler flags: CUDA_CXXFLAGS=-fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -O3 -mavx CUDA underlying linker libraries: CUDA_CXXLIBS= pthread: regex: sowing: Version: 1.1.26 /home/hao/src/git/PETScbak/arch-linux-c-debug/bin/bfort Language used to compile PETSc: C PETSc: PETSC_ARCH: arch-linux-c-debug PETSC_DIR: /home/hao/src/git/PETScbak Prefix: /opt/petsc/complex-double-with-cuda 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/make xxx=========================================================================xxx Configure stage complete. Now build PETSc libraries with: make PETSC_DIR=/home/hao/src/git/PETScbak PETSC_ARCH=arch-linux-c-debug all xxx=========================================================================xxx ================================================================================ Finishing configure run at Wed, 19 Jan 2022 06:01:54 +0000 ================================================================================