Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/o/openmx/openmx_3.8.5+dfsg1-1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/openmx-3.8.5+dfsg1-16mco42zh/openmx_3.8.5+dfsg1-1_amd64.buildinfo Get source package info: openmx=3.8.5+dfsg1-1 Source URL: http://snapshot.notset.fr/mr/package/openmx/3.8.5+dfsg1-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.117 autoconf=2.69-11 automake=1:1.15.1-3.1 autopoint=0.19.8.1-6 autotools-dev=20180224.1 base-files=10.1 base-passwd=3.5.45 bash=4.4.18-3.1 binutils=2.31.1-1 binutils-common=2.31.1-1 binutils-x86-64-linux-gnu=2.31.1-1 bsdmainutils=11.1.2+b1 bsdutils=1:2.32-0.1 build-essential=12.5 bzip2=1.0.6-8.1 coreutils=8.28-1 cpp=4:8.1.0-1 cpp-8=8.2.0-1 dash=0.5.8-2.10 debconf=1.5.69 debhelper=11.3.5 debianutils=4.8.6 dh-autoreconf=19 dh-strip-nondeterminism=0.042-1 diffutils=1:3.6-1 dpkg=1.19.0.5+b1 dpkg-dev=1.19.0.5 dwz=0.12-2 fdisk=2.32-0.1 file=1:5.33-3 findutils=4.6.0+git+20171230-2 g++=4:8.1.0-1 g++-8=8.2.0-1 gcc=4:8.1.0-1 gcc-8=8.2.0-1 gcc-8-base=8.2.0-1 gettext=0.19.8.1-6+b1 gettext-base=0.19.8.1-6+b1 gfortran=4:8.1.0-1 gfortran-8=8.2.0-1 grep=3.1-2 groff-base=1.22.3-10 gzip=1.6-5+b1 hostname=3.20 ibverbs-providers=19.0-1 init-system-helpers=1.51 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.60-1 libasan5=8.2.0-1 libatomic1=8.2.0-1 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.8.3-1 libaudit1=1:2.8.3-1+b1 libbinutils=2.31.1-1 libblas-dev=3.8.0-1+b1 libblas3=3.8.0-1+b1 libblkid1=2.32-0.1 libbsd0=0.9.1-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.27-5 libc-dev-bin=2.27-5 libc6=2.27-5 libc6-dev=2.27-5 libcap-ng0=0.7.9-1 libcc1-0=8.2.0-1 libcom-err2=1.44.3-1 libcroco3=0.6.12-2 libdb5.3=5.3.28-13.1+b1 libdebconfclient0=0.244 libdpkg-perl=1.19.0.5 libedit2=3.1-20180525-1 libelf1=0.170-0.5 libevent-2.1-6=2.1.8-stable-4 libevent-core-2.1-6=2.1.8-stable-4 libevent-pthreads-2.1-6=2.1.8-stable-4 libfabric1=1.6.1-5 libfdisk1=2.32-0.1 libffi6=3.2.1-8 libfftw3-bin=3.3.8-1 libfftw3-dev=3.3.8-1 libfftw3-double3=3.3.8-1 libfftw3-long3=3.3.8-1 libfftw3-quad3=3.3.8-1 libfftw3-single3=3.3.8-1 libfile-stripnondeterminism-perl=0.042-1 libfreetype6=2.8.1-2 libgcc-8-dev=8.2.0-1 libgcc1=1:8.2.0-1 libgcrypt20=1.8.3-1 libgdbm-compat4=1.14.1-6+b1 libgdbm5=1.14.1-6+b1 libgfortran-8-dev=8.2.0-1 libgfortran5=8.2.0-1 libglib2.0-0=2.56.1-2 libgmp10=2:6.1.2+dfsg-3 libgomp1=8.2.0-1 libgpg-error0=1.32-1 libgraphite2-3=1.3.11-2 libgssapi-krb5-2=1.16-2 libharfbuzz0b=1.8.4-2 libhwloc-dev=1.11.10-3 libhwloc-plugins=1.11.10-3 libhwloc5=1.11.10-3 libibverbs-dev=19.0-1 libibverbs1=19.0-1 libicu-le-hb0=1.0.3+git161113-5 libicu60=60.2-6 libisl19=0.19-1 libitm1=8.2.0-1 libk5crypto3=1.16-2 libkeyutils1=1.5.9-9.3 libkrb5-3=1.16-2 libkrb5support0=1.16-2 liblapack-dev=3.8.0-1+b1 liblapack3=3.8.0-1+b1 liblsan0=8.2.0-1 libltdl-dev=2.4.6-2.1 libltdl7=2.4.6-2.1 liblz4-1=1.8.2-1 liblzma5=5.2.2-1.3 libmagic-mgc=1:5.33-3 libmagic1=1:5.33-3 libmount1=2.32-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.1-1 libmpx2=8.2.0-1 libncurses6=6.1+20180714-1 libncursesw6=6.1+20180714-1 libnl-3-200=3.4.0-1 libnl-route-3-200=3.4.0-1 libnuma-dev=2.0.11-2.2 libnuma1=2.0.11-2.2 libopenmpi-dev=3.1.1.real-4+b1 libopenmpi3=3.1.1.real-4+b1 libpam-modules=1.1.8-3.7 libpam-modules-bin=1.1.8-3.7 libpam-runtime=1.1.8-3.7 libpam0g=1.1.8-3.7 libpciaccess0=0.14-1 libpcre3=2:8.39-10 libperl5.26=5.26.2-6 libpipeline1=1.5.0-1 libpmix2=3.0.0-1 libpng16-16=1.6.34-2 libpsm-infinipath1=3.3+20.604758e7-5 libpsm2-2=10.3.58-1 libquadmath0=8.2.0-1 librdmacm1=19.0-1 libseccomp2=2.3.3-3 libselinux1=2.8-1+b1 libsemanage-common=2.8-1 libsemanage1=2.8-1+b1 libsepol1=2.8-1 libsigsegv2=2.12-2 libsmartcols1=2.32-0.1 libssl1.0.2=1.0.2o-1 libstdc++-8-dev=8.2.0-1 libstdc++6=8.2.0-1 libsystemd0=239-7 libtimedate-perl=2.3000-2 libtinfo6=6.1+20180714-1 libtool=2.4.6-2.1 libtsan0=8.2.0-1 libubsan1=8.2.0-1 libudev1=239-7 libunistring2=0.9.10-1 libuuid1=2.32-0.1 libxml2=2.9.4+dfsg1-7+b1 linux-libc-dev=4.17.8-1 login=1:4.5-1 m4=1.4.18-1 make=4.2.1-1.1 man-db=2.8.4-1 mawk=1.3.3-17+b3 mpi-default-dev=1.13 ncurses-base=6.1+20180714-1 ncurses-bin=6.1+20180714-1 ocl-icd-libopencl1=2.2.12-1 openmpi-bin=3.1.1.real-4+b1 openmpi-common=3.1.1.real-4+b1 openssh-client=1:7.7p1-3 passwd=1:4.5-1 patch=2.7.6-2 perl=5.26.2-6 perl-base=5.26.2-6 perl-modules-5.26=5.26.2-6 po-debconf=1.0.20 sed=4.5-1 sysvinit-utils=2.88dsf-59.10 tar=1.30+dfsg-2 util-linux=2.32-0.1 xz-utils=5.2.2-1.3 zlib1g=1:1.2.11.dfsg-1 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb-src http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb http://snapshot.notset.fr/archive/debian/20180730T152806Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20180726T152844Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d openmx=3.8.5+dfsg1-1 && mkdir -p /build/openmx-4MOafO && dpkg-source --no-check -x /*.dsc /build/openmx-4MOafO/openmx-3.8.5+dfsg1 && chown -R builduser:builduser /build/openmx-4MOafO" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/openmx-4MOafO/openmx-3.8.5+dfsg1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1529173933" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/openmx-4MOafO /tmp/openmx-3.8.5+dfsg1-16mco42zh buster /dev/null deb http://snapshot.notset.fr/archive/debian/20180726T152844Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: null I: using /tmp/mmdebstrap.PIRgmrfoGR as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.PIRgmrfoGR Reading package lists... Building dependency tree... util-linux is already the newest version (2.32-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20180726T152844Z unstable/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180726T152844Z unstable/main amd64 fakeroot amd64 1.23-1 [85.8 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (866 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4345 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_amd64.deb ... Unpacking fakeroot (1.23-1) ... Processing triggers for libc-bin (2.27-5) ... Setting up libfakeroot:amd64 (1.23-1) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.27-5) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb-src http://snapshot.notset.fr/archive/debian/20190706T233220Z/ bullseye main deb http://snapshot.notset.fr/archive/debian/20180730T152806Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20180726T152844Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.PIRgmrfoGR Get:1 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye InRelease [87.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180730T152806Z unstable InRelease [233 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20180726T152844Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main Sources [10.2 MB] Get:5 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main amd64 Packages [10.6 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20180730T152806Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20180730T152806Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20180730T152806Z unstable/main amd64 Packages [10.9 MB] Fetched 32.1 MB in 27s (1199 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.PIRgmrfoGR I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d openmx=3.8.5+dfsg1-1 && mkdir -p /build/openmx-4MOafO && dpkg-source --no-check -x /*.dsc /build/openmx-4MOafO/openmx-3.8.5+dfsg1 && chown -R builduser:builduser /build/openmx-4MOafO"' exec /tmp/mmdebstrap.PIRgmrfoGR Reading package lists... NOTICE: 'openmx' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/science-team/openmx.git Please use: git clone https://salsa.debian.org/science-team/openmx.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 134 MB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main openmx 3.8.5+dfsg1-1 (dsc) [2079 B] Get:2 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main openmx 3.8.5+dfsg1-1 (tar) [134 MB] Get:3 http://snapshot.notset.fr/archive/debian/20190706T233220Z bullseye/main openmx 3.8.5+dfsg1-1 (diff) [6984 B] Fetched 134 MB in 1min 46s (1268 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'openmx_3.8.5+dfsg1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting openmx in /build/openmx-4MOafO/openmx-3.8.5+dfsg1 dpkg-source: info: unpacking openmx_3.8.5+dfsg1.orig.tar.gz dpkg-source: info: unpacking openmx_3.8.5+dfsg1-1.debian.tar.xz dpkg-source: info: applying makefile.patch dpkg-source: info: applying data_path.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/openmx-4MOafO/openmx-3.8.5+dfsg1 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1529173933" DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.PIRgmrfoGR dpkg-buildpackage: info: source package openmx dpkg-buildpackage: info: source version 3.8.5+dfsg1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Innocent De Marchi dpkg-source --before-build openmx-3.8.5+dfsg1 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --sourcedirectory=source/ dh_auto_clean -O--sourcedirectory=source/ cd source && make -j10 clean make[1]: Entering directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1/source' rm -f openmx openmx.o openmx_common.o Input_std.o Inputtools.o init.o LU_inverse.o ReLU_inverse.o truncation.o readfile.o FT_PAO.o FT_NLP.o FT_ProExpn_VNA.o FT_VNA.o FT_ProductPAO.o Hamiltonian_Cluster.o Hamiltonian_Cluster_Hs.o Overlap_Cluster.o Hamiltonian_Band.o Overlap_Band.o Hamiltonian_Cluster_NC.o Hamiltonian_Band_NC.o Hamiltonian_Cluster_SO.o Get_OneD_HS_Col.o SetPara_DFT.o XC_Ceperly_Alder.o XC_CA_LSDA.o XC_PW92C.o XC_PBE.o XC_EX.o DFT.o Mixing_DM.o Mixing_H.o Force.o Stress.o Poisson.o Poisson_ESM.o Cluster_DFT.o Cluster_DFT_ScaLAPACK.o Cluster_DFT_Dosout.o Cluster_DFT_ON2.o Band_DFT_Col.o Band_DFT_Col_ScaLAPACK.o Band_DFT_NonCol.o Band_DFT_kpath.o Band_DFT_MO.o Unfolding_Bands.o Band_DFT_Dosout.o Set_Density_Grid.o Set_Orbitals_Grid.o Set_Aden_Grid.o Gauss_Legendre.o zero_cfrac.o xyz2spherical.o AngularF.o RadialF.o Dr_RadialF.o PhiF.o VNAF.o Dr_VNAF.o VH_AtomF.o Dr_VH_AtomF.o RF_BesselF.o QuickSort.o Nonlocal_RadialF.o KumoF.o Dr_KumoF.o Mulliken_Charge.o Occupation_Number_LDA_U.o Eff_Hub_Pot.o EulerAngle_Spin.o Smoothing_Func.o Orbital_Moment.o Pot_NeutralAtom.o Simple_Mixing_DM.o DIIS_Mixing_DM.o ADIIS_Mixing_DM.o GR_Pulay_DM.o Kerker_Mixing_Rhok.o DIIS_Mixing_Rhok.o Total_Energy.o Contract_Hamiltonian.o Contract_iHNL.o Cont_Matrix0.o Cont_Matrix1.o Cont_Matrix2.o Cont_Matrix3.o Cont_Matrix4.o Opt_Contraction.o Initial_CntCoes.o Initial_CntCoes2.o Set_XC_Grid.o Get_Orbitals.o Get_dOrbitals.o Get_Cnt_Orbitals.o Get_Cnt_dOrbitals.o Gaunt.o Find_CGrids.o MD_pac.o RestartFileDFT.o Output_CompTime.o Merge_LogFile.o Make_FracCoord.o Make_InputFile_with_FinalCoord.o Output_Energy_Decomposition.o Divide_Conquer.o Krylov.o EC.o Divide_Conquer_Dosout.o Eigen_lapack.o Eigen_lapack2.o Eigen_lapack3.o EigenBand_lapack.o Eigen_PReHH.o BroadCast_ReMatrix.o Eigen_PHH.o BroadCast_ComplexMatrix.o lapack_dstedc1.o lapack_dstedc2.o lapack_dstedc3.o lapack_dstegr1.o lapack_dstegr2.o lapack_dstegr3.o lapack_dstevx1.o lapack_dstevx2.o lapack_dstevx3.o lapack_dstevx4.o lapack_dstevx5.o lapack_dsteqr1.o Nonlocal_Basis.o Set_OLP_Kin.o Set_Nonlocal.o Set_ProExpn_VNA.o Set_Hamiltonian.o Set_Vpot.o Voronoi_Charge.o Voronoi_Orbital_Moment.o Fuzzy_Weight.o dampingF.o deri_dampingF.o Spherical_Bessel.o iterout.o iterout_md.o Allocate_Arrays.o Free_Arrays.o Init_List_YOUSO.o outputfile1.o malloc_multidimarray.o PrintMemory.o PrintMemory_Fix.o dtime.o OutData.o OutData_Binary.o init_alloc_first.o File_CntCoes.o SCF2File.o mimic_sse.o Make_Comm_Worlds.o Set_Allocate_Atom2CPU.o Cutoff.o Generating_MP_Special_Kpt.o Maketest.o Runtest.o Memory_Leak_test.o Force_test.o Stress_test.o Show_DFT_DATA.o Generate_Wannier.o TRAN_Allocate.o TRAN_DFT.o TRAN_DFT_Dosout.o TRAN_Apply_Bias2e.o TRAN_Deallocate_Electrode_Grid.o TRAN_Deallocate_RestartFile.o TRAN_RestartFile.o TRAN_Calc_CentGreen.o TRAN_Input_std.o TRAN_Set_CentOverlap.o TRAN_Calc_CentGreenLesser.o TRAN_Input_std_Atoms.o TRAN_Set_Electrode_Grid.o TRAN_Calc_GridBound.o TRAN_Set_IntegPath.o TRAN_Output_HKS.o TRAN_Set_MP.o TRAN_Calc_SelfEnergy.o TRAN_Output_Trans_HS.o TRAN_Calc_Hopping_G.o TRAN_Calc_SurfGreen.o TRAN_Set_SurfOverlap.o TRAN_Add_Density_Lead.o TRAN_Add_ADensity_Lead.o TRAN_Set_Value.o TRAN_Poisson.o TRAN_adjust_Ngrid.o TRAN_Print.o TRAN_Print_Grid.o Lapack_LU_inverse.o TRAN_Distribute_Node.o TRAN_Output_HKS_Write_Grid.o TRAN_Credit.o TRAN_Check_Region_Lead.o TRAN_Check_Region.o TRAN_Check_Input.o DFTDvdW_init.o DFTD3vdW_init.o neb.o neb_run.o neb_check.o cellopt.o TRAN_Allocate_NC.o TRAN_DFT_NC.o TRAN_Set_CentOverlap_NC.o TRAN_Set_SurfOverlap_NC.o TRAN_Calc_OneTransmission.o TRAN_Main_Analysis.o TRAN_Main_Analysis_NC.o MTRAN_EigenChannel.o TRAN_Channel_Functions.o TRAN_Channel_Output.o TRAN_Calc_CurrentDensity.o TRAN_CDen_Main.o elpa1.o solve_evp_real.o solve_evp_complex.o NBO_Cluster.o NBO_Krylov.o exx.o exx_index.o exx_vector.o exx_log.o exx_step1.o exx_step2.o exx_file_overlap.o exx_file_eri.o exx_interface_openmx.o exx_debug.o exx_xc.o exx_rhox.o ./liberi-091216/source/eri.o ./liberi-091216/source/eri_ll.o ./liberi-091216/source/eri_sf.o ./liberi-091216/source/eri_interpolate.o ./liberi-091216/source/eri_gtbl.o ./liberi-091216/source/sbt/eri_sbt.o ./liberi-091216/source/sbt/log/eri_fsbt.o ./liberi-091216/source/sbt/log/eri_logfsbt.o ./liberi-091216/source/sbt/linear/eri_linfsbt.o DosMain jx analysis_example esp polB bandgnu13 bin2txt cube2xsf intensity_map md2axsf *.o elpa1.mod make[1]: Leaving directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1/source' debian/rules override_dh_clean make[1]: Entering directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1' dh_clean source/elpa1.mod find source -name "*openmx.oo" -delete make[1]: Leaving directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1' debian/rules build-arch dh build-arch --sourcedirectory=source/ dh_update_autotools_config -a -O--sourcedirectory=source/ dh_autoreconf -a -O--sourcedirectory=source/ dh_auto_configure -a -O--sourcedirectory=source/ debian/rules override_dh_auto_build make[1]: Entering directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1' dh_auto_build --no-parallel cd source && make -j1 "INSTALL=install --strip-program=true" make[2]: Entering directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1/source' mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c openmx.c In file included from openmx.c:67: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ openmx.c: In function 'main': openmx.c:450:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileMemory,"%s%s.memory%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from openmx.c:57: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c openmx_common.c In file included from openmx_common.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Input_std.c Input_std.c: In function 'SpeciesString2int': Input_std.c:4070:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(SpeBasisName[p],""); ^~ In file included from Input_std.c:6: Input_std.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Input_std.c: In function 'Input_std': Input_std.c:209:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ Input_std.c:535:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i",&TempNum); ^~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:542:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %lf %lf",&NumScale[i],&IntScale[i], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &TempScale[i],&RatScale[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:555:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf",&TempPara[i][1],&TempPara[i][2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:572:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i",&PreNum); ^~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:574:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf",&PrePara[i][1],&PrePara[i][2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:765:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",Species); ^~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:769:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s %lf", buf, &SO_factor[j][l]) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:801:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",Species); ^~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:803:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d", &Spe_OpenCore_flag[j]) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1198:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ Input_std.c:1332:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&tv[i][1],&tv[i][2],&tv[i][3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1707:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %lf",&j,&Gxyz[i][60]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1760:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d",&Cell_Fixed_XYZ[i][1],&Cell_Fixed_XYZ[i][2],&Cell_Fixed_XYZ[i][3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1790:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~ &j,&atom_Fixed_XYZ[i][1],&atom_Fixed_XYZ[i][2],&atom_Fixed_XYZ[i][3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1813:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %lf %lf %lf",&j,&Gxyz[i][24],&Gxyz[i][25],&Gxyz[i][26]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1860:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d", &j, &AtomGr[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1921:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s",Species); ^~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1926:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s %lf", buf, &Hub_U_Basis[j][l][mul]) ; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:1998:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d %d",&i_vec[0],&i_vec[1],&i_vec[2],&i_vec[3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2028:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&Band_UnitCell[i][1], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Band_UnitCell[i][2],&Band_UnitCell[i][3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2084:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %lf %lf %lf %lf %lf %lf %s %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Band_N_perpath[i] , ~~~~~~~~~~~~~~~~~~~~~ &Band_kpath[i][1][1], &Band_kpath[i][1][2],&Band_kpath[i][1][3], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Band_kpath[i][2][1], &Band_kpath[i][2][2],&Band_kpath[i][2][3], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_kname[i][1],Band_kname[i][2]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2228:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i %i",&j,&orderN_FNAN_SNAN[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2338:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&MO_kpoint[i][1],&MO_kpoint[i][2],&MO_kpoint[i][3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2385:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&NBO_FCenter[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2404:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf",&NBO_SmallCellFrac[i][1],&NBO_SmallCellFrac[i][2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2461:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&unfold_abc[i][0],&unfold_abc[i][1],&unfold_abc[i][2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2487:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&unfold_origin[0],&unfold_origin[1],&unfold_origin[2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2517:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i %i",&j,&unfold_mapN2n[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2569:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s %lf %lf %lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unfold_kpoint_name[i], ~~~~~~~~~~~~~~~~~~~~~~ &unfold_kpoint[i][1], ~~~~~~~~~~~~~~~~~~~~~ &unfold_kpoint[i][2], ~~~~~~~~~~~~~~~~~~~~~ &unfold_kpoint[i][3]); ~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2611:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i",&CntOrb_Atoms[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2872:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s %lf %lf %lf %lf %lf %lf %lf %lf %lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctmp,&tmp1,&tmp2,&tmp3,&tmp4,&tmp5,&tmp6,&tmp7,&tmp8,&tmp9); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:2926:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s %lf %lf %lf %lf %lf %lf %lf %lf %lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ctmp, ~~~~~ &Wannier_Pos[i][1], ~~~~~~~~~~~~~~~~~~~ &Wannier_Pos[i][2], ~~~~~~~~~~~~~~~~~~~ &Wannier_Pos[i][3], ~~~~~~~~~~~~~~~~~~~ &Wannier_Z_Direction[i][1], ~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Wannier_Z_Direction[i][2], ~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Wannier_Z_Direction[i][3], ~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Wannier_X_Direction[i][1], ~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Wannier_X_Direction[i][2], ~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Wannier_X_Direction[i][3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c: In function 'Remake_RestartFile': Input_std.c:3436:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array0,sizeof(double),num,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c: In function 'Set_Cluster_UnitCell': Input_std.c:4495:21: warning: '/PAO/' directive writing 5 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(DirPAO,"%s/PAO/",DFT_DATA_PATH); ^~~~~ In file included from /usr/include/stdio.h:862, from Input_std.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 505 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c: In function 'Input_std': Input_std.c:1995:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_check,"%s%s_rst/%s.crst_check",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Input_std.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3457:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~ ~~~~~~~~ Input_std.c:3457:22: note: directive argument in the range [0, 2147483647] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3457:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from Input_std.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1541 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3431:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,ID,i); ^~ ~~~~~~~~ Input_std.c:3431:17: note: directive argument in the range [0, 2147483647] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,ID,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3431:17: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from Input_std.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1541 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3457:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~ ~~~~~~~~ Input_std.c:3457:22: note: directive argument in the range [0, 2147483647] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3457:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from Input_std.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1541 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Input_std.c:3136:29: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_check,"%s%s.mmn",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Input_std.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Inputtools.c Inputtools.c: In function 'input_last': Inputtools.c:529:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,size,fp); ^~~~~~~~~~~~~~~~~~ Inputtools.c:530:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,size,fp); ^~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c init.c In file included from init.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c LU_inverse.c In file included from LU_inverse.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c ReLU_inverse.c In file included from ReLU_inverse.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c truncation.c In file included from truncation.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ truncation.c: In function 'UCell_Box': truncation.c:4107:31: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_UCell,"%s%s.UCell",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from truncation.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 1005 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ truncation.c:4363:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_UCell,"%s%s.UCell",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from truncation.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 1005 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c readfile.c In file included from readfile.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c FT_PAO.c In file included from FT_PAO.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ FT_PAO.c: In function 'FT_PAO': FT_PAO.c:83:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftpao",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_PAO.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FT_PAO.c:239:24: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate,"%s%s_rst",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_PAO.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FT_PAO.c:242:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftpao",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_PAO.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c FT_NLP.c In file included from FT_NLP.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ FT_NLP.c: In function 'FT_NLP': FT_NLP.c:80:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftnlp",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_NLP.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FT_NLP.c:245:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftnlp",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_NLP.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c FT_ProExpn_VNA.c In file included from FT_ProExpn_VNA.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ FT_ProExpn_VNA.c: In function 'FT_ProExpn_VNA': FT_ProExpn_VNA.c:90:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftPEvna",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_ProExpn_VNA.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 1511 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FT_ProExpn_VNA.c:264:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftPEvna",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_ProExpn_VNA.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 1511 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c FT_VNA.c In file included from FT_VNA.c:21: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ FT_VNA.c: In function 'FT_VNA': FT_VNA.c:88:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftCvna",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_VNA.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 1510 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FT_VNA.c:227:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftCvna",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_VNA.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 1510 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c FT_ProductPAO.c In file included from FT_ProductPAO.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ FT_ProductPAO.c: In function 'FT_ProductPAO': FT_ProductPAO.c:93:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftProPAO",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_ProductPAO.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FT_ProductPAO.c:327:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileFT,"%s%s_rst/%s.ftProPAO",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from FT_ProductPAO.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Hamiltonian_Cluster.c In file included from Hamiltonian_Cluster.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Hamiltonian_Cluster_Hs.c In file included from Hamiltonian_Cluster_Hs.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Overlap_Cluster.c In file included from Overlap_Cluster.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Hamiltonian_Band.c In file included from Hamiltonian_Band.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Overlap_Band.c In file included from Overlap_Band.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Hamiltonian_Cluster_NC.c In file included from Hamiltonian_Cluster_NC.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Hamiltonian_Band_NC.c In file included from Hamiltonian_Band_NC.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Hamiltonian_Cluster_SO.c In file included from Hamiltonian_Cluster_SO.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Get_OneD_HS_Col.c In file included from Get_OneD_HS_Col.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c SetPara_DFT.c In file included from SetPara_DFT.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ SetPara_DFT.c: In function 'Read_VPS': SetPara_DFT.c:702:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&Spe_Num_RVPS[spe]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c:710:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %lf",&LVPS,&dum0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c:719:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %lf %lf",&LVPS,&dum0,&dum1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c:889:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d %lf",&j,&NVPS,&LVPS,&VPS_Rcut); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c:952:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %lf",&j,&Spe_VNLE[0][spe][i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c: In function 'output_structures': SetPara_DFT.c:2221:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname1,"%s%s.cif",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from SetPara_DFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c:2349:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname1,"%s%s.xyz",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from SetPara_DFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c: In function 'ReadPara_DFT': SetPara_DFT.c:301:21: warning: '/PAO/' directive writing 5 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(DirPAO,"%s/PAO/",DFT_DATA_PATH); ^~~~~ In file included from /usr/include/stdio.h:862, from SetPara_DFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 505 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SetPara_DFT.c:302:21: warning: '/VPS/' directive writing 5 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(DirVPS,"%s/VPS/",DFT_DATA_PATH); ^~~~~ In file included from /usr/include/stdio.h:862, from SetPara_DFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 505 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c XC_Ceperly_Alder.c In file included from XC_Ceperly_Alder.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c XC_CA_LSDA.c In file included from XC_CA_LSDA.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c XC_PW92C.c In file included from XC_PW92C.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c XC_PBE.c In file included from XC_PBE.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c XC_EX.c In file included from XC_EX.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c DFT.c In file included from DFT.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ DFT.c: In function 'Read_SCF_keywords': DFT.c:2930:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s_SCF_keywords",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from DFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 1012 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Mixing_DM.c In file included from Mixing_DM.c:5: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Mixing_H.c In file included from Mixing_H.c:6: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Force.c In file included from Force.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Stress.c In file included from Stress.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Poisson.c In file included from Poisson.c:20: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Poisson_ESM.c In file included from Poisson_ESM.c:28: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cluster_DFT.c In file included from Cluster_DFT.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cluster_DFT_ScaLAPACK.c In file included from Cluster_DFT_ScaLAPACK.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cluster_DFT_Dosout.c In file included from Cluster_DFT_Dosout.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cluster_DFT_ON2.c In file included from Cluster_DFT_ON2.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Band_DFT_Col.c In file included from Band_DFT_Col.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Band_DFT_Col_ScaLAPACK.c In file included from Band_DFT_Col_ScaLAPACK.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Band_DFT_NonCol.c In file included from Band_DFT_NonCol.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Band_DFT_kpath.c In file included from Band_DFT_kpath.c:23: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Band_DFT_MO.c In file included from Band_DFT_MO.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Unfolding_Bands.c In file included from Unfolding_Bands.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Band_DFT_Dosout.c In file included from Band_DFT_Dosout.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Band_DFT_Dosout.c: In function 'Band_DFT_Dosout_Col': Band_DFT_Dosout.c:3946:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( i_vec, sizeof(int), 3,fp_ev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:3948:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &SD[1], sizeof(float),n,fp_ev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c: In function 'Band_DFT_Dosout_NonCol': Band_DFT_Dosout.c:5549:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( i_vec, sizeof(int), 3,fp_ev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:5551:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &SD[0], sizeof(float),2*n,fp_ev); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c: In function 'Band_DFT_Dosout_Col.isra.17': Band_DFT_Dosout.c:3300:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:3315:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:3928:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev0,"%s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:3935:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~ ~~~~~~~~ Band_DFT_Dosout.c:3935:23: note: directive argument in the range [0, 2147483647] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:3966:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~ ~~~~~~~~ Band_DFT_Dosout.c:3966:23: note: directive argument in the range [0, 2147483647] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:4008:29: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_fermi,"%s%s.FermiSurf%d.bxsf",filepath,filename,spin); ^~ ~~~~~~~~ Band_DFT_Dosout.c:4008:26: note: directive argument in the range [0, 2147483647] sprintf(file_fermi,"%s%s.FermiSurf%d.bxsf",filepath,filename,spin); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1024 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c: In function 'Band_DFT_DosoutGauss_Col.isra.18': Band_DFT_Dosout.c:1049:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:1114:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:1195:29: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_fermi,"%s%s.FermiSurf%d.bxsf",filepath,filename,spin); ^~ ~~~~~~~~ Band_DFT_Dosout.c:1195:26: note: directive argument in the range [0, 2147483647] sprintf(file_fermi,"%s%s.FermiSurf%d.bxsf",filepath,filename,spin); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1024 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c: In function 'Band_DFT_Dosout_NonCol.isra.19': Band_DFT_Dosout.c:4811:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:4826:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:5532:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev0,"%s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:5539:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~ ~~~~~~~~ Band_DFT_Dosout.c:5539:23: note: directive argument in the range [0, 2147483647] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:5568:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~ ~~~~~~~~ Band_DFT_Dosout.c:5568:23: note: directive argument in the range [0, 2147483647] sprintf(file_ev,"%s%s.Dos.vec%d",filepath,filename,ID); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:5608:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_fermi,"%s%s.FermiSurf.bxsf",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c: In function 'Band_DFT_DosoutGauss_NonCol.isra.20': Band_DFT_Dosout.c:2429:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:2500:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev,"%s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Band_DFT_Dosout.c:2560:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_fermi,"%s%s.FermiSurf.bxsf",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Band_DFT_Dosout.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Density_Grid.c In file included from Set_Density_Grid.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Orbitals_Grid.c In file included from Set_Orbitals_Grid.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Aden_Grid.c In file included from Set_Aden_Grid.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Gauss_Legendre.c In file included from Gauss_Legendre.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c zero_cfrac.c In file included from zero_cfrac.c:24: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c xyz2spherical.c In file included from xyz2spherical.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c AngularF.c In file included from AngularF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c RadialF.c In file included from RadialF.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Dr_RadialF.c In file included from Dr_RadialF.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c PhiF.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c VNAF.c In file included from VNAF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Dr_VNAF.c In file included from Dr_VNAF.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c VH_AtomF.c In file included from VH_AtomF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Dr_VH_AtomF.c In file included from Dr_VH_AtomF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c RF_BesselF.c In file included from RF_BesselF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c QuickSort.c In file included from QuickSort.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Nonlocal_RadialF.c In file included from Nonlocal_RadialF.c:3: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c KumoF.c In file included from KumoF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Dr_KumoF.c In file included from Dr_KumoF.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Mulliken_Charge.c In file included from Mulliken_Charge.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Mulliken_Charge.c: In function 'Mulliken_Charge': Mulliken_Charge.c:534:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_MC,"%s%s.MC",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Mulliken_Charge.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 1002 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Occupation_Number_LDA_U.c In file included from Occupation_Number_LDA_U.c:20: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Occupation_Number_LDA_U.c: In function 'Output_Collinear_OcpN': Occupation_Number_LDA_U.c:4811:31: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_DM_onsite,"%s%s.DM_onsite",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Occupation_Number_LDA_U.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 1009 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Occupation_Number_LDA_U.c: In function 'Output_NonCollinear_OcpN': Occupation_Number_LDA_U.c:5041:31: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_DM_onsite,"%s%s.DM_onsite",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Occupation_Number_LDA_U.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 1009 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Eff_Hub_Pot.c In file included from Eff_Hub_Pot.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c EulerAngle_Spin.c In file included from EulerAngle_Spin.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Smoothing_Func.c In file included from Smoothing_Func.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Orbital_Moment.c In file included from Orbital_Moment.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Orbital_Moment.c: In function 'OM_dual': Orbital_Moment.c:520:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_OM,"%s%s.OM",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Orbital_Moment.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 1002 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Orbital_Moment.c: In function 'OM_onsite': Orbital_Moment.c:950:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_OM,"%s%s.OM",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Orbital_Moment.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 1002 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Pot_NeutralAtom.c In file included from Pot_NeutralAtom.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Simple_Mixing_DM.c In file included from Simple_Mixing_DM.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c DIIS_Mixing_DM.c In file included from DIIS_Mixing_DM.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c ADIIS_Mixing_DM.c In file included from ADIIS_Mixing_DM.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c GR_Pulay_DM.c In file included from GR_Pulay_DM.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Kerker_Mixing_Rhok.c In file included from Kerker_Mixing_Rhok.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c DIIS_Mixing_Rhok.c In file included from DIIS_Mixing_Rhok.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Total_Energy.c In file included from Total_Energy.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Contract_Hamiltonian.c In file included from Contract_Hamiltonian.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Contract_iHNL.c In file included from Contract_iHNL.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cont_Matrix0.c In file included from Cont_Matrix0.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cont_Matrix1.c In file included from Cont_Matrix1.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cont_Matrix2.c In file included from Cont_Matrix2.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cont_Matrix3.c In file included from Cont_Matrix3.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cont_Matrix4.c In file included from Cont_Matrix4.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Opt_Contraction.c In file included from Opt_Contraction.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Initial_CntCoes.c In file included from Initial_CntCoes.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Initial_CntCoes2.c In file included from Initial_CntCoes2.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_XC_Grid.c In file included from Set_XC_Grid.c:5: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Get_Orbitals.c In file included from Get_Orbitals.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Get_dOrbitals.c In file included from Get_dOrbitals.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Get_Cnt_Orbitals.c In file included from Get_Cnt_Orbitals.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Get_Cnt_dOrbitals.c In file included from Get_Cnt_dOrbitals.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Gaunt.c In file included from Gaunt.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Find_CGrids.c In file included from Find_CGrids.c:5: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c MD_pac.c In file included from MD_pac.c:24: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ MD_pac.c: In function 'Steepest_Descent': MD_pac.c:724:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Correct_Position_flag, sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:725:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:726:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:727:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_DIIS_EF': MD_pac.c:2407:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array, sizeof(int), 6, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2416:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2417:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2418:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'GDIIS_EF': MD_pac.c:4930:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array, sizeof(double), 2, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_DIIS_BFGS': MD_pac.c:2238:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array, sizeof(int), 6, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2247:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2248:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2249:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_RF': MD_pac.c:1893:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array, sizeof(int), 6, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1902:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1903:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1904:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_DIIS': MD_pac.c:2065:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array, sizeof(int), 6, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2074:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2075:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2076:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Cell_Opt_SD': MD_pac.c:998:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Correct_Position_flag, sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:999:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1000:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1001:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Cell_Opt_RF': MD_pac.c:1633:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array, sizeof(int), 6, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1642:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1643:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&SD_scaling_user, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1644:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Past_Utot, sizeof(double), 10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'RestartFiles4GeoOpt': MD_pac.c:7416:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(GxyzHistoryIn[i][j], sizeof(double), 4, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7422:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(GxyzHistoryR[i][j], sizeof(double), 4, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7427:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(His_Gxyz[i], sizeof(double), atomnum*3, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7433:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Hessian[i], sizeof(double), 3*atomnum+2, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7440:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(InvHessian[i], sizeof(double), 3*atomnum+2, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7447:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Hessian[i], sizeof(double), 3*atomnum+2, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7454:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Hessian[i], sizeof(double), 3*atomnum+10, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'VerletXYZ': MD_pac.c:648:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:570:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'EvsLC': MD_pac.c:7229:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Delta_Factor': MD_pac.c:7152:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'NVT_NH': MD_pac.c:6932:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7035:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:6732:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'NVT_VS': MD_pac.c:5721:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'NVT_VS2': MD_pac.c:6295:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'NVT_VS4': MD_pac.c:6536:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'NVT_Langevin': MD_pac.c:6142:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'RestartFiles4GeoOpt': MD_pac.c:7408:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:7336:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'NoMD': MD_pac.c:235:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Steepest_Descent': MD_pac.c:720:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.SD1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:808:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:938:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.SD1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_DIIS_EF': MD_pac.c:2403:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.EF1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:4926:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.EF2",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:5134:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:5549:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.EF2",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2523:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.EF1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_DIIS_BFGS': MD_pac.c:2234:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.BFGS1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1518 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:4533:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2353:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.BFGS1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1518 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_RF': MD_pac.c:1889:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.RF1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:3202:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2009:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.RF1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Geometry_Opt_DIIS': MD_pac.c:2061:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.DIIS1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1518 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2751:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:2181:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.DIIS1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1518 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Cell_Opt_SD': MD_pac.c:994:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.SD1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1208:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1585:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.SD1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c: In function 'Cell_Opt_RF': MD_pac.c:1629:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.RF1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:3826:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.ene",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MD_pac.c:1835:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_name,"%s%s_rst/%s.rst4gopt.RF1",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from MD_pac.c:19: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 19 and 1516 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c RestartFileDFT.c In file included from RestartFileDFT.c:23: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ RestartFileDFT.c: In function 'Input_HKS': RestartFileDFT.c:403:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(i_vec,sizeof(int),10,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:427:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(p_vec, sizeof(int), (pFNAN+1)*6, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:428:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Uele,sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:466:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&CH[spin][Mc_AN][h_AN][i][0],sizeof(double),TNO2,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:490:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmpvec[0],sizeof(double),TNO20,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:536:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&iHNL[spin][Mc_AN][h_AN][i][0],sizeof(double),TNO2,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:560:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&tmpvec[0],sizeof(double),TNO20,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c: In function 'Input_Charge_Density': RestartFileDFT.c:852:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d %d",&i_vec[0],&i_vec[1],&i_vec[2],&i_vec[3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:873:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp_array,sizeof(double),My_NumGridB_AB,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c: In function 'Output_HKS': RestartFileDFT.c:613:28: warning: '_rst' directive writing 4 bytes into a region of size between 2 and 1000 [-Wformat-overflow=] sprintf(operate,"%s%s_rst",filepath,filename); ^~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 1000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:618:28: warning: '_rst/' directive writing 5 bytes into a region of size between 2 and 1000 [-Wformat-overflow=] sprintf(operate,"%s%s_rst/%s.rst%i",filepath,filename,filename,Gc_AN); ^~~~~ RestartFileDFT.c:618:23: note: directive argument in the range [1, 2147483647] sprintf(operate,"%s%s_rst/%s.rst%i",filepath,filename,filename,Gc_AN); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 1517 bytes into a destination of size 1000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:633:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileHKS,"%s%s_rst/%s.rst%i",filepath,filename,filename,Gc_AN); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 1518 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c: In function 'Output_Charge_Density.isra.0': RestartFileDFT.c:763:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_check,"%s%s_rst/%s.crst_check",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:797:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD1,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~ ~~~~~~~~ RestartFileDFT.c:797:23: note: directive argument in the range [0, 2147483647] sprintf(fileCD1,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:797:23: note: directive argument in the range [-2147483648, 2147483645] In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1542 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:798:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD2,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i+1); ^~ ~~~~~~~~ RestartFileDFT.c:798:23: note: directive argument in the range [0, 2147483647] sprintf(fileCD2,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:798:23: note: directive argument in the range [1, 2147483646] In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1541 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:808:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD0,"%s%s_rst/%s.crst%i_%i_0",filepath,filename,filename,spin,myid); ^~ ~~~~~~~~ RestartFileDFT.c:808:21: note: directive argument in the range [0, 2147483647] sprintf(fileCD0,"%s%s_rst/%s.crst%i_%i_0",filepath,filename,filename,spin,myid); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1532 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c: In function 'Input_HKS.isra.1': RestartFileDFT.c:386:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileHKS,"%s%s_rst/%s.rst%i",filepath,filename,filename,Gc_AN); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 1518 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c: In function 'Input_Charge_Density.isra.2': RestartFileDFT.c:848:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_check,"%s%s_rst/%s.crst_check",filepath,filename,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:869:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~ ~~~~~~~~ RestartFileDFT.c:869:17: note: directive argument in the range [0, 2147483647] sprintf(fileCD,"%s%s_rst/%s.crst%i_%i_%i",filepath,filename,filename,spin,myid,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ RestartFileDFT.c:869:17: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from RestartFileDFT.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1541 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Output_CompTime.c In file included from Output_CompTime.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Merge_LogFile.c In file included from Merge_LogFile.c:21: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Merge_LogFile.c: In function 'Merge_LogFile': Merge_LogFile.c:68:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s.out",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Merge_LogFile.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Merge_LogFile.c:78:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname1,"%s%s.out",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Merge_LogFile.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Merge_LogFile.c:103:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname1,"%s%s.out",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Merge_LogFile.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Merge_LogFile.c:107:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname2,"%s%s.%s",filepath,filename,fexn[i]); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Merge_LogFile.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1000) into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Merge_LogFile.c:124:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s.%s",filepath,filename,fexn[i]); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Merge_LogFile.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1000) into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Merge_LogFile.c:142:28: warning: '%s' directive writing up to 499 bytes into a region of size between 301 and 800 [-Wformat-overflow=] sprintf(operate,"%s%s.ccs%i",filepath,filename,Gc_AN); ^~ ~~~~~~~~ Merge_LogFile.c:142:25: note: directive argument in the range [1, 2147483647] sprintf(operate,"%s%s.ccs%i",filepath,filename,Gc_AN); ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Merge_LogFile.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1013 bytes into a destination of size 800 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Make_FracCoord.c In file included from Make_FracCoord.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Make_FracCoord.c: In function 'Make_FracCoord': Make_FracCoord.c:43:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname1,"%s%s.frac",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Make_FracCoord.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1004 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Make_InputFile_with_FinalCoord.c In file included from Make_InputFile_with_FinalCoord.c:24: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c: In function 'Make_InputFile_with_FinalCoord_Normal': Make_InputFile_with_FinalCoord.c:112:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c:219:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c:249:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c: In function 'Make_InputFile_with_FinalCoord_NEGF': Make_InputFile_with_FinalCoord.c:416:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c:477:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c:537:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ Make_InputFile_with_FinalCoord.c:612:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Output_Energy_Decomposition.c In file included from Output_Energy_Decomposition.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Output_Energy_Decomposition.c: In function 'Output_Energy_Decomposition': Output_Energy_Decomposition.c:140:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_DecE,"%s%s.DecE",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Output_Energy_Decomposition.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1004 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Divide_Conquer.c In file included from Divide_Conquer.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Divide_Conquer.c: In function 'DC_Col': Divide_Conquer.c:2997:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Divide_Conquer.c:3003:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev, "%s%s.Dos.vec%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Divide_Conquer.c: In function 'DC_NonCol.isra.9': Divide_Conquer.c:3129:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Divide_Conquer.c:3135:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev, "%s%s.Dos.vec%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Krylov.c In file included from Krylov.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Krylov.c: In function 'Save_DOS_Col': Krylov.c:5204:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Krylov.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Krylov.c:5210:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev, "%s%s.Dos.vec%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Krylov.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c EC.c In file included from openmx_common.h:120, from EC.c:18: EC.c: In function 'EC_Col3': EC.c:628:16: warning: implicit declaration of function 'dgemm_'; did you mean 'dreml'? [-Wimplicit-function-declaration] F77_NAME(dgemm,DGEMM)("N", "T", &M, &N, &K, &alpha, ^~~~~ f77func.h:63:27: note: in definition of macro 'F77_NAME' #define F77_NAME(a,A) a ## _ ^ In file included from EC.c:18: EC.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ EC.c: In function 'DC_NonCol.isra.6': EC.c:5655:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from EC.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EC.c:5661:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev, "%s%s.Dos.vec%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from EC.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Divide_Conquer_Dosout.c In file included from Divide_Conquer_Dosout.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Divide_Conquer_Dosout.c: In function 'DC_Dosout_Col': Divide_Conquer_Dosout.c:838:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer_Dosout.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Divide_Conquer_Dosout.c:892:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev, "%s%s.Dos.vec%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer_Dosout.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Divide_Conquer_Dosout.c: In function 'DC_Dosout_NonCol': Divide_Conquer_Dosout.c:1862:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_eig,"%s%s.Dos.val",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer_Dosout.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Divide_Conquer_Dosout.c:1922:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_ev, "%s%s.Dos.vec%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Divide_Conquer_Dosout.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Eigen_lapack.c In file included from Eigen_lapack.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Eigen_lapack2.c In file included from Eigen_lapack2.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Eigen_lapack3.c In file included from Eigen_lapack3.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c EigenBand_lapack.c In file included from EigenBand_lapack.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Eigen_PReHH.c In file included from openmx_common.h:120, from Eigen_PReHH.c:17: Eigen_PReHH.c: In function 'Eigen_ELPA1_Re': Eigen_PReHH.c:181:12: warning: implicit declaration of function 'solve_evp_real_' [-Wimplicit-function-declaration] F77_NAME(solve_evp_real,SOLVE_EVP_REAL)(&na, &nev, a, &na_rows, &ko[1], z, &na_rows, &nblk, &mpi_comm_rows_int, &mpi_comm_cols_int); ^~~~~~~~~~~~~~ f77func.h:63:27: note: in definition of macro 'F77_NAME' #define F77_NAME(a,A) a ## _ ^ In file included from Eigen_PReHH.c:17: Eigen_PReHH.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c BroadCast_ReMatrix.c In file included from BroadCast_ReMatrix.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Eigen_PHH.c In file included from openmx_common.h:120, from Eigen_PHH.c:17: Eigen_PHH.c: In function 'Eigen_ELPA1_Co': Eigen_PHH.c:163:12: warning: implicit declaration of function 'solve_evp_complex_' [-Wimplicit-function-declaration] F77_NAME(solve_evp_complex,SOLVE_EVP_COMPLEX)(&na, &nev, a, &na_rows, &ko[1], z, &na_rows, &nblk, &mpi_comm_rows_int, &mpi_comm_cols_int); ^~~~~~~~~~~~~~~~~ f77func.h:63:27: note: in definition of macro 'F77_NAME' #define F77_NAME(a,A) a ## _ ^ In file included from Eigen_PHH.c:17: Eigen_PHH.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c BroadCast_ComplexMatrix.c In file included from BroadCast_ComplexMatrix.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstedc1.c In file included from lapack_dstedc1.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstedc2.c In file included from lapack_dstedc2.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstedc3.c In file included from lapack_dstedc3.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstegr1.c In file included from lapack_dstegr1.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstegr2.c In file included from lapack_dstegr2.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstegr3.c In file included from lapack_dstegr3.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstevx1.c In file included from lapack_dstevx1.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstevx2.c In file included from lapack_dstevx2.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstevx3.c In file included from lapack_dstevx3.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstevx4.c In file included from lapack_dstevx4.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dstevx5.c In file included from lapack_dstevx5.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c lapack_dsteqr1.c In file included from lapack_dsteqr1.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Nonlocal_Basis.c In file included from Nonlocal_Basis.c:3: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_OLP_Kin.c In file included from Set_OLP_Kin.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Nonlocal.c In file included from Set_Nonlocal.c:24: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_ProExpn_VNA.c In file included from Set_ProExpn_VNA.c:25: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Hamiltonian.c In file included from Set_Hamiltonian.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Vpot.c In file included from Set_Vpot.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Voronoi_Charge.c In file included from Voronoi_Charge.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Voronoi_Charge.c: In function 'Voronoi_Charge': Voronoi_Charge.c:221:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_VC,"%s%s.VC",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Voronoi_Charge.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 1002 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Voronoi_Orbital_Moment.c In file included from Voronoi_Orbital_Moment.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Fuzzy_Weight.c In file included from Fuzzy_Weight.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c dampingF.c In file included from dampingF.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c deri_dampingF.c In file included from deri_dampingF.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Spherical_Bessel.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c iterout.c In file included from iterout.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ iterout.c: In function 'iterout': iterout.c:170:23: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(fileXYZ,"%s2",fileSDRC); ^ In file included from /usr/include/stdio.h:862, from iterout.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 501 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c iterout_md.c In file included from iterout_md.c:14: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ iterout_md.c: In function 'iterout_md': iterout_md.c:73:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileEvsLC,"%s%s.EvsLC",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from iterout_md.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 1005 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iterout_md.c:99:26: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileEvsLC,"%s%s.DF",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from iterout_md.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 4 and 1002 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Allocate_Arrays.c In file included from Allocate_Arrays.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Free_Arrays.c In file included from Free_Arrays.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Init_List_YOUSO.c In file included from Init_List_YOUSO.c:3: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c outputfile1.c In file included from outputfile1.c:5: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c malloc_multidimarray.c In file included from malloc_multidimarray.c:5: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c PrintMemory.c In file included from PrintMemory.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c PrintMemory_Fix.c In file included from PrintMemory_Fix.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c dtime.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c OutData.c In file included from OutData.c:23: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ OutData.c: In function 'OutData': OutData.c:173:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData.c:185:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData.c: In function 'Print_CubeData': OutData.c:2262:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData.c:2268:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData.c: In function 'Print_VectorData': OutData.c:2433:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData.c:2439:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData.c: In function 'Print_CubeData': OutData.c:2260:26: warning: '%s' directive writing up to 499 bytes into a region of size 296 [-Wformat-overflow=] sprintf(operate,"cat %s%s%s0 > %s%s%s", ^~ filepath,filename,fext,filepath,filename,fext); ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 9 or more bytes (assuming 2005) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2265:28: warning: '%s' directive writing up to 499 bytes into a region of size 296 [-Wformat-overflow=] sprintf(operate,"cat %s%s%s%i >> %s%s%s", ^~ filepath,filename,fext,ID, ~~~~~~~~ OutData.c:2265:23: note: directive argument in the range [1, 2147483647] sprintf(operate,"cat %s%s%s%i >> %s%s%s", ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 10 or more bytes (assuming 2015) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2309:24: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate,"%s%s%s%i",filepath,filename,fext,ID); ^~ ~~~~~~~~ OutData.c:2309:23: note: directive argument in the range [0, 2147483647] sprintf(operate,"%s%s%s%i",filepath,filename,fext,ID); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 1009) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c: In function 'out_density': OutData.c:232:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file11,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:254:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file1,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:283:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file2,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:298:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file3,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:313:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file4,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:333:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file10,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2431:26: warning: '%s' directive writing up to 499 bytes into a region of size 296 [-Wformat-overflow=] sprintf(operate,"cat %s%s%s0 > %s%s%s", ^~ filepath,filename,fext,filepath,filename,fext); ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 3003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2436:28: warning: '%s' directive writing up to 499 bytes into a region of size 296 [-Wformat-overflow=] sprintf(operate,"cat %s%s%s%i >> %s%s%s", ^~ filepath,filename,fext,ID, ~~~~~~~~ OutData.c:2436:23: note: directive argument in the range [1, 2147483647] sprintf(operate,"cat %s%s%s%i >> %s%s%s", ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 3013 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2444:24: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate,"%s%s%s%i",filepath,filename,fext,ID); ^~ ~~~~~~~~ OutData.c:2444:23: note: directive argument in the range [0, 2147483647] sprintf(operate,"%s%s%s%i",filepath,filename,fext,ID); ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1508 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:350:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s",filepath,filename,file9); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 1 and 1498 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:394:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s",filepath,filename,file12); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 1 and 1498 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c: In function 'out_OrbOpt': OutData.c:2489:21: warning: '/PAO/' directive writing 5 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(DirPAO,"%s/PAO/",DFT_DATA_PATH); ^~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 505 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2833:30: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname2,"%s%s_%i%s",filepath,SpeName[wan],Gc_AN,ExtPAO); ^~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 1001) into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c: In function 'out_Cluster_NBO': OutData.c:1441:30: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.NHO%i_%i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData.c:1441:27: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.NHO%i_%i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~ OutData.c:1441:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 1029 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1519:30: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.NBO-b%i_%i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData.c:1519:27: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.NBO-b%i_%i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~ OutData.c:1519:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1031 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1592:30: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.NBO-a%i_%i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData.c:1592:27: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.NBO-a%i_%i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~ OutData.c:1592:27: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1031 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c: In function 'out_Cluster_MO': OutData.c:1126:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData.c:1126:22: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~~ OutData.c:1126:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1032 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1124:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData.c:1124:22: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~~ OutData.c:1124:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1032 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1194:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData.c:1194:22: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.lumo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~~ OutData.c:1194:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1032 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c: In function 'OutData': OutData.c:803:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file1,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:819:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file2,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:461:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file1,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:494:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file1,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:636:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file1,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:652:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file2,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1965:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_%i_r%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:1965:18: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1965:18: note: directive argument in the range [0, 2] OutData.c:1965:18: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1034 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1983:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_%i_i%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:1983:18: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1983:18: note: directive argument in the range [0, 2] OutData.c:1983:18: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1034 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2070:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_%i_r%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:2070:20: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.lumo%i_%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2070:20: note: directive argument in the range [0, 2] OutData.c:2070:20: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1034 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2089:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_%i_i%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:2089:18: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.lumo%i_%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData.c:2089:18: note: directive argument in the range [0, 2] OutData.c:2089:18: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1034 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1722:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_r%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:1722:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.homo%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~ OutData.c:1722:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1023 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1740:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_i%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:1740:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.homo%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~ OutData.c:1740:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1023 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1804:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_r%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:1804:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.lumo%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~ OutData.c:1804:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1023 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:1822:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_i%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData.c:1822:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.lumo%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~ OutData.c:1822:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1023 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:3149:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file1,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:3178:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file2,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:3193:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s%i",filepath,filename,file3,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 1509 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:171:32: warning: '%s' directive writing up to 499 bytes into a region of size 496 [-Wformat-overflow=] sprintf(operate,"cat %s%s.Dos.vec%i >> tmp1",filepath,filename,i); ^~ ~~~~~~~~ OutData.c:171:27: note: directive argument in the range [1, 2147483647] sprintf(operate,"cat %s%s.Dos.vec%i >> tmp1",filepath,filename,i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1029 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:169:32: warning: '%s' directive writing up to 499 bytes into a region of size 496 [-Wformat-overflow=] sprintf(operate,"cat %s%s.Dos.vec%i > tmp1",filepath,filename,i); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1020 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:175:28: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(operate,"%s%s.Dos.vec%i",filepath,filename,i); ^~ ~~~~~~~~ OutData.c:175:25: note: directive argument in the range [0, 2147483647] sprintf(operate,"%s%s.Dos.vec%i",filepath,filename,i); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData.c:184:32: warning: '%s' directive writing up to 499 bytes into a region of size 492 [-Wformat-overflow=] sprintf(operate,"mv tmp1 %s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1015 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c OutData_Binary.c OutData_Binary.c: In function 'Print_CubeData': OutData_Binary.c:1860:3: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] fsync(fd); ^~~~~ In file included from OutData_Binary.c:20: OutData_Binary.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ OutData_Binary.c: In function 'OutData_Binary': OutData_Binary.c:130:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c:133:4: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c:137:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c: In function 'Print_CubeData': OutData_Binary.c:1875:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c:1912:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c: In function 'Print_VectorData': OutData_Binary.c:2061:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c:2097:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ OutData_Binary.c: In function 'Print_CubeData': OutData_Binary.c:1883:25: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate1,"%s%s%s",filepath,filename,fext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 999) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1894:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate1,"%s%s%s",filepath,filename,fext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 999) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1898:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate2,"%s%s%s_%0*i",filepath,filename,fext,digit,ID); ^~ ~~~~~~~~ OutData_Binary.c:1898:19: note: directive argument in the range [0, 2147483647] sprintf(operate2,"%s%s%s_%0*i",filepath,filename,fext,digit,ID); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 2147484647) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1911:25: warning: '%s' directive writing up to 499 bytes into a region of size 297 [-Wformat-overflow=] sprintf(operate,"rm %s%s%s_*",filepath,filename,fext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 1004) into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c: In function 'out_OrbOpt': OutData_Binary.c:2137:21: warning: '/PAO/' directive writing 5 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(DirPAO,"%s/PAO/",DFT_DATA_PATH); ^~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 505 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2478:30: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname2,"%s%s_%i%s",filepath,SpeName[wan],Gc_AN,ExtPAO); ^~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 1001) into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c: In function 'out_Cluster_NC_MO': OutData_Binary.c:1362:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_r%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1362:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.homo%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1362:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1027 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1380:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_i%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1380:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.homo%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1380:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1027 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1439:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_r%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1439:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.lumo%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1439:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1027 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1458:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_i%s", ^~ filepath,filename,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1458:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.lumo%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1458:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1027 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c: In function 'out_Cluster_MO': OutData_Binary.c:1190:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData_Binary.c:1190:22: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_i%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1190:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1036 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1188:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData_Binary.c:1188:22: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1188:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1036 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1259:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~ ~~~~~~~~ OutData_Binary.c:1259:22: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.lumo%i_%i_r%s",filepath,filename,spin,orbit,CUBE_EXTENSION); ^~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1259:22: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1036 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c: In function 'out_density': OutData_Binary.c:219:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file11,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:245:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file1,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:278:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file2,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:297:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file3,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:316:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file4,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:340:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file10,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2069:25: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate1,"%s%s%s",filepath,filename,fext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 1 and 1498 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2080:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate1,"%s%s%s",filepath,filename,fext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 1 and 1498 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2084:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(operate2,"%s%s%s_%0*i",filepath,filename,fext,digit,ID); ^~ ~~~~~~~~ OutData_Binary.c:2084:19: note: directive argument in the range [0, 2147483647] sprintf(operate2,"%s%s%s_%0*i",filepath,filename,fext,digit,ID); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2096:25: warning: '%s' directive writing up to 499 bytes into a region of size 297 [-Wformat-overflow=] sprintf(operate,"rm %s%s%s_*",filepath,filename,fext); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1503 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:362:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s",filepath,filename,file9); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 1 and 1498 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:406:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s",filepath,filename,file12); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 1 and 1498 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c: In function 'OutData_Binary': OutData_Binary.c:840:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file1,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:860:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file2,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:475:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file1,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:514:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file1,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:663:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file1,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:683:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file2,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1592:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_%i_r%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1592:18: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1592:18: note: directive argument in the range [0, 2] OutData_Binary.c:1592:18: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1038 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1611:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.homo%i_%i_%i_i%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1611:18: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.homo%i_%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1611:18: note: directive argument in the range [0, 2] OutData_Binary.c:1611:18: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1038 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1693:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_%i_r%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1693:20: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.lumo%i_%i_%i_r%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1693:20: note: directive argument in the range [0, 2] OutData_Binary.c:1693:20: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1038 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1713:21: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.lumo%i_%i_%i_i%s", ^~ filepath,filename,kloop,spin,orbit,CUBE_EXTENSION); ~~~~~~~~ OutData_Binary.c:1713:18: note: directive argument in the range [0, 2147483647] sprintf(file1,"%s%s.lumo%i_%i_%i_i%s", ^~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:1713:18: note: directive argument in the range [0, 2] OutData_Binary.c:1713:18: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 1038 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2714:20: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file1,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2747:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file2,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:2766:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s%s_%0*i",filepath,filename,file3,digit,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 2147485146 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:145:18: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname1,"%s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:155:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname1,"%s%s.Dos.vec",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:158:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname2,"%s%s.Dos.vec%i",filepath,filename,i); ^~ ~~~~~~~~ OutData_Binary.c:158:19: note: directive argument in the range [0, 2147483647] sprintf(fname2,"%s%s.Dos.vec%i",filepath,filename,i); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OutData_Binary.c:169:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname2,"%s%s.Dos.vec%i",filepath,filename,i); ^~ ~~~~~~~~ OutData_Binary.c:169:19: note: directive argument in the range [0, 2147483647] sprintf(fname2,"%s%s.Dos.vec%i",filepath,filename,i); ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from OutData_Binary.c:15: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1017 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c init_alloc_first.c In file included from init_alloc_first.c:15: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c File_CntCoes.c In file included from File_CntCoes.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ File_CntCoes.c: In function 'Input_CntCoes': File_CntCoes.c:74:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(tmp0,sizeof(double),List_YOUSO[7]*List_YOUSO[24],fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File_CntCoes.c: In function 'Output_CntCoes': File_CntCoes.c:125:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCC,"%s%s.ccs%i",filepath,filename,Gc_AN); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from File_CntCoes.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File_CntCoes.c: In function 'Input_CntCoes': File_CntCoes.c:66:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileCC,"%s%s.ccs%i",filepath,filename,Gc_AN); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from File_CntCoes.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 6 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c SCF2File.c In file included from SCF2File.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ SCF2File.c: In function 'SCF2File': SCF2File.c:152:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname,"%s%s.scfout",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from SCF2File.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 8 and 1006 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c mimic_sse.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Make_Comm_Worlds.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Set_Allocate_Atom2CPU.c In file included from Set_Allocate_Atom2CPU.c:17: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Cutoff.c In file included from Cutoff.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Generating_MP_Special_Kpt.c In file included from Generating_MP_Special_Kpt.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Generating_MP_Special_Kpt.c: In function 'MP_Special_Kpt': Generating_MP_Special_Kpt.c:1018:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&vasp_opnum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Generating_MP_Special_Kpt.c:1019:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&vasp_numpurepntop); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generating_MP_Special_Kpt.c:1052:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%2d%2d%2d",&vasp_symop[k][i][0],&vasp_symop[k][i][1],&vasp_symop[k][i][2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generating_MP_Special_Kpt.c:1055:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf%lf%lf",&vasp_transopvec[k][0],&vasp_transopvec[k][1],&vasp_transopvec[k][2]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generating_MP_Special_Kpt.c:1486:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d",&i); ^~~~~~~~~~~~~~~~~~ Generating_MP_Special_Kpt.c:1494:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf%lf%lf%d",&tmpK1[k],&tmpK2[k],&tmpK3[k],&tmpWeight[k]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Maketest.c In file included from Maketest.c:23: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Maketest.c: In function 'Maketest': Maketest.c:89:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Maketest.c:92:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Maketest.c:101:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp1,"%i",&Num_DatFiles); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Maketest.c:107:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp0,"%s",fname_dat); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Maketest.c:112:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Maketest.c:118:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Maketest.c:132:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Maketest.c:135:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Runtest.c In file included from Runtest.c:25: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Runtest.c: In function 'Runtest': Runtest.c:274:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp3,"%d",&Num_Atoms); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Runtest.c:278:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp3,"%d %s %lf %lf %lf %lf %lf %lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &k,ftmp,&gx,&gy,&gz,&fx,&fy,&fz); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Runtest.c:324:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp3,"%d",&Num_Atoms); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Runtest.c:328:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp3,"%d %s %lf %lf %lf %lf %lf %lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &k,ftmp,&gx,&gy,&gz,&fx,&fy,&fz); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Runtest.c:467:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileMemory,"%s%s.memory%i",filepath,filename,myid0); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Runtest.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Runtest.c:243:29: warning: '.out' directive writing 4 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fname_out1,"%s.out",fname_dat2); ^~~~ In file included from /usr/include/stdio.h:862, from Runtest.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 504 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Runtest.c:244:30: warning: '%s' directive writing up to 499 bytes into a region of size between 489 and 499 [-Wformat-overflow=] sprintf(fname_out2,"%s/%s.out",input_dir,fname_dat2); ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from Runtest.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 6 or more bytes (assuming 515) into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Memory_Leak_test.c Memory_Leak_test.c: In function 'Memory_Leak_test': Memory_Leak_test.c:115:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[0],""); ^~ Memory_Leak_test.c:116:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[1],""); ^~ Memory_Leak_test.c:117:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[2],""); ^~ Memory_Leak_test.c:118:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[3],""); ^~ Memory_Leak_test.c:119:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[4],""); ^~ Memory_Leak_test.c:120:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[5],""); ^~ In file included from Memory_Leak_test.c:23: Memory_Leak_test.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Memory_Leak_test.c: In function 'Memory_Leak_test': Memory_Leak_test.c:69:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:72:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:82:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:93:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp1,"%i",&Num_DatFiles); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Memory_Leak_test.c:101:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp0,"%s",fname_dat); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Memory_Leak_test.c:141:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:151:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:154:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:166:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:169:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c: In function 'Get_VSZ': Memory_Leak_test.c:198:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:360:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c:363:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Memory_Leak_test.c: In function 'Memory_Leak_test': Memory_Leak_test.c:137:32: warning: '%s' directive writing up to 299 bytes into a region of size between 200 and 798 [-Wformat-overflow=] sprintf(operate,"%s %s %s %s %s %s %s -mltest2", ^~ str[0],str[1],str[2],str[3],fname_dat,str[4],str[5]); ~~~~~~ In file included from /usr/include/stdio.h:862, from Memory_Leak_test.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 2309 bytes into a destination of size 800 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Force_test.c Force_test.c: In function 'Force_test': Force_test.c:191:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[0],""); ^~ Force_test.c:192:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[1],""); ^~ Force_test.c:193:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[2],""); ^~ Force_test.c:194:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[3],""); ^~ Force_test.c:195:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[4],""); ^~ Force_test.c:196:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[5],""); ^~ In file included from Force_test.c:23: Force_test.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Force_test.c: In function 'Force_test': Force_test.c:87:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Force_test.c:90:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Force_test.c:100:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Force_test.c:168:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp1,"%i",&Num_DatFiles); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Force_test.c:177:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp0,"%s",fname_dat); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Force_test.c:217:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Force_test.c:229:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Force_test.c:232:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Force_test.c:212:32: warning: '%s' directive writing up to 299 bytes into a region of size between 200 and 798 [-Wformat-overflow=] sprintf(operate,"%s %s %s %s %s %s %s -forcetest2 %i", ^~ str[0],str[1],str[2],str[3],fname_dat,str[4],str[5],force_flag); ~~~~~~ In file included from /usr/include/stdio.h:862, from Force_test.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 2324 bytes into a destination of size 800 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Stress_test.c Stress_test.c: In function 'Stress_test': Stress_test.c:192:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[0],""); ^~ Stress_test.c:193:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[1],""); ^~ Stress_test.c:194:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[2],""); ^~ Stress_test.c:195:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[3],""); ^~ Stress_test.c:196:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[4],""); ^~ Stress_test.c:197:24: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(str[5],""); ^~ In file included from Stress_test.c:23: Stress_test.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Stress_test.c: In function 'Stress_test': Stress_test.c:87:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Stress_test.c:90:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Stress_test.c:100:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Stress_test.c:168:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp1,"%i",&Num_DatFiles); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stress_test.c:177:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp0,"%s",fname_dat); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Stress_test.c:218:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Stress_test.c:231:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Stress_test.c:234:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(operate); ^~~~~~~~~~~~~~~ Stress_test.c:213:35: warning: '%s' directive writing up to 299 bytes into a region of size between 100 and 997 [-Wformat-overflow=] sprintf(operate,"%s %s %s %s %s %s %s -stresstest2 %i", ^~ str[0],str[1],str[2],str[3],fname_dat,str[4],str[5],stress_flag); ~~~~~~ In file included from /usr/include/stdio.h:862, from Stress_test.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 22 and 2325 bytes into a destination of size 1000 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Show_DFT_DATA.c Show_DFT_DATA.c: In function 'SpeciesString2int': Show_DFT_DATA.c:187:27: warning: zero-length gnu_printf format string [-Wformat-zero-length] sprintf(SpeBasisName[p],""); ^~ In file included from Show_DFT_DATA.c:25: Show_DFT_DATA.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Show_DFT_DATA.c: In function 'Show_DFT_DATA': Show_DFT_DATA.c:151:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%s %s %s",SN[k],SB[k],SV[k]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Generate_Wannier.c In file included from Generate_Wannier.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ Generate_Wannier.c: In function 'Wannier': Generate_Wannier.c:2211:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dumy,sizeof(char),11,fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2212:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fptmp,"%lf",&ChemP); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2213:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2217:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dumy,sizeof(char),15,fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2218:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fptmp,"%d",&BANDNUM); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2222:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2228:6: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fptmp,"%d%d%lf",&ki,&kj,&EigenValall[k][spin][i+1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2233:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2236:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2241:15: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fptmp,"%d%d%lf%lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~ &ki, &kj, ~~~~~~~~~ &Wkall[k][spin][i][j].r, ~~~~~~~~~~~~~~~~~~~~~~~~ &Wkall[k][spin][i][j].i); ~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2248:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fptmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2842:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2843:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d%d%d%d",&fband_num,&k,&j,&spin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2876:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2881:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2893:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf%lf", ^~~~~~~~~~~~~~~~~~~ &Mmnkb_zero[k][bindx][spin][j-Nk[spin][k][0]][i-Nk[spin][kk][0]].r, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &Mmnkb_zero[k][bindx][spin][j-Nk[spin][k][0]][i-Nk[spin][kk][0]].i); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2899:17: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf%lf",&tmpr,&tmpi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2904:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:3066:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:3067:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(dumy, BUFFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:3073:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d%d%d%lf%lf",&ki,&kj,&ki,&Amnk[spin][k][j][i].r,&Amnk[spin][k][j][i].i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c: In function 'Projection_Amatrix': Generate_Wannier.c:4666:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.amn",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c: In function 'Output_WF_Spread': Generate_Wannier.c:7940:18: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.wfinfo",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 8 and 1006 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c: In function 'Wannier_Interpolation': Generate_Wannier.c:9051:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.HWR",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:9170:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.Wannier_Band",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 1012 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c: In function 'OutData_WF': Generate_Wannier.c:10130:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.mlwf%i_%i_r.cube", ^~ filepath,filename,spin,orbit); ~~~~~~~~ Generate_Wannier.c:10130:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.mlwf%i_%i_r.cube", ^~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:10130:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1023 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:10221:19: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1,"%s%s.mlwf%i_%i_i.cube", ^~ filepath,filename,spin,orbit); ~~~~~~~~ Generate_Wannier.c:10221:16: note: directive argument in the range [0, 2] sprintf(file1,"%s%s.mlwf%i_%i_i.cube", ^~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:10221:16: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1023 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c: In function 'Wannier': Generate_Wannier.c:2196:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.eigen",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 1005 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2376:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.eigen",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 7 and 1005 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2377:21: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname2,"%s%s.eig",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2453:23: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname4,"%s%s.win",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2823:20: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.mmn",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:2755:22: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.mmn",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Generate_Wannier.c:3046:22: warning: '%s' directive writing up to 499 bytes into a region of size 300 [-Wformat-overflow=] sprintf(fname,"%s%s.amn",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from Generate_Wannier.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 5 and 1003 bytes into a destination of size 300 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Allocate.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_DFT.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_DFT_Dosout.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Apply_Bias2e.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Deallocate_Electrode_Grid.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Deallocate_RestartFile.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_RestartFile.c TRAN_RestartFile.c: In function 'TRAN_Input_HKS': TRAN_RestartFile.c:156:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(i_vec,sizeof(int),2,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:160:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(i_vec,sizeof(int),12,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:198:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(d_vec,sizeof(double),19+3+3*atomnum_t+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:243:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies_t, sizeof(int), atomnum_t+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:246:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO_t, sizeof(int), SpeciesNum_t, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:249:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_NO_t,sizeof(int),SpeciesNum_t,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:252:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN_t,sizeof(int),atomnum_t+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:258:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn_t[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:264:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn_t[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:284:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:331:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP_t[k][Mc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:397:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H_t[k][Mc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:437:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iHNL_t[k][Mc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:479:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(DM_t[m][k][Mc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:488:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dDen_Grid_t, sizeof(double), N,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_RestartFile.c:493:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dVHart_Grid_t,sizeof(double), N,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_CentGreen.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Input_std.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_CentOverlap.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_CentGreenLesser.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Input_std_Atoms.c In file included from TRAN_Input_std_Atoms.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ TRAN_Input_std_Atoms.c: In function 'TRAN_Input_std_Atoms': TRAN_Input_std_Atoms.c:117:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ TRAN_Input_std_Atoms.c:248:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&tv[i][1],&tv[i][2],&tv[i][3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Input_std_Atoms.c:276:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ TRAN_Input_std_Atoms.c:399:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_Electrode_Grid.c In file included from TRAN_Set_Electrode_Grid.c:21: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_GridBound.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_IntegPath.c In file included from TRAN_Set_IntegPath.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ TRAN_Set_IntegPath.c: In function 'CF': TRAN_Set_IntegPath.c:139:21: warning: '%s' directive writing up to 499 bytes into a region of size 100 [-Wformat-overflow=] sprintf(file,"%s%s.paranegf",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Set_IntegPath.c:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1008 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Output_HKS.c In file included from TRAN_Output_HKS.c:16: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_MP.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_SelfEnergy.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Output_Trans_HS.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_Hopping_G.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_SurfGreen.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_SurfOverlap.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Add_Density_Lead.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Add_ADensity_Lead.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_Value.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Poisson.c In file included from TRAN_Poisson.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_adjust_Ngrid.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Print.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Print_Grid.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c Lapack_LU_inverse.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Distribute_Node.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Output_HKS_Write_Grid.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Credit.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Check_Region_Lead.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Check_Region.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Check_Input.c In file included from TRAN_Check_Input.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c DFTDvdW_init.c In file included from DFTDvdW_init.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c DFTD3vdW_init.c DFTD3vdW_init.c: In function 'DFTD3vdW_init': DFTD3vdW_init.c:33502:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset( maxcn_dftD, -1, sizeof( maxcn_dftD) ); ^~~~~~ DFTD3vdW_init.c:33502:3: warning: incompatible implicit declaration of built-in function 'memset' DFTD3vdW_init.c:33502:3: note: include '' or provide a declaration of 'memset' DFTD3vdW_init.c:23:1: +#include DFTD3vdW_init.c:33502:3: memset( maxcn_dftD, -1, sizeof( maxcn_dftD) ); ^~~~~~ In file included from DFTD3vdW_init.c:20: DFTD3vdW_init.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c neb.c In file included from neb.c:25: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ neb.c: In function 'neb': neb.c:243:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&neb_atom_coordinates[0][0][0],sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:244:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&neb_atom_coordinates[NEB_Num_Images+1][0][0],sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:580:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&neb_atom_coordinates[0][0][0],sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:581:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&neb_atom_coordinates[NEB_Num_Images+1][0][0],sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:952:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&neb_atom_coordinates[0][0][0],sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:953:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&neb_atom_coordinates[NEB_Num_Images+1][0][0],sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c: In function 'read_input': neb.c:2677:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%lf %lf %lf",&tv[i][1],&tv[i][2],&tv[i][3]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:2719:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ neb.c:2856:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf,MAXBUF,fp); ^~~~~~~~~~~~~~~~~~~~ neb.c:3003:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%i %s %lf %lf %lf %lf %lf", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &j, Species, ~~~~~~~~~~~~ &neb_atom_coordinates[p][i][1], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &neb_atom_coordinates[p][i][2], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &neb_atom_coordinates[p][i][3], ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &dtmp1,&dtmp2); ~~~~~~~~~~~~~~ neb.c:3105:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp,"%d %d %d %d", ^~~~~~~~~~~~~~~~~~~~~~~~ &j,&atomFixedXYZ[i][1],&atomFixedXYZ[i][2],&atomFixedXYZ[i][3]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c: In function 'generate_input_files': neb.c:2468:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ neb.c: In function 'Generate_Restart_File': neb.c:1335:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ neb.c:1376:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ neb.c:1437:36: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] for (i=1; i<=atomnum; i++) fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ neb.c:1440:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ neb.c:1486:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(st,800,fp2); ^~~~~~~~~~~~~~~~~ neb.c: In function 'Update_Coordinates': neb.c:1661:24: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileOPT,"%s%s.neb.opt",filepath,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:1694:22: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileE,"%s%s.neb.ene",filepath,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1007 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c: In function 'neb': neb.c:947:30: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:1000:21: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ neb.c:1000:17: note: directive argument in the range [-2147483647, 2147483647] sprintf(fname1,"%s_%i",fname_original,index_images); ^~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:981:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ neb.c:981:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(fname1,"%s_%i",fname_original,index_images); ^~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:981:23: warning: '%i' directive writing 1 byte into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 502 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:1044:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:1105:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,myworld3+1+(h-1)*PN); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:1108:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,myworld1+1+(h-1)*PN); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:575:32: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:607:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ neb.c:607:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(fname1,"%s_%i",fname_original,index_images); ^~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:651:36: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:708:25: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,myworld3+1+(h-1)*numprocs); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:711:25: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,myworld1+1+(h-1)*numprocs); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:238:32: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:270:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ neb.c:270:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(fname1,"%s_%i",fname_original,index_images); ^~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:238:32: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:316:23: warning: '%i' directive writing 1 byte into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 502 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:323:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,index_images); ^~ neb.c:323:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(fname1,"%s_%i",fname_original,index_images); ^~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:333:36: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file_neb_utot,"%s%s_0_rst/%s.neb.utot",filepath,system_name,system_name); ^~ ~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1514 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:432:25: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,p); ^~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ neb.c:370:23: warning: '%i' directive writing between 1 and 11 bytes into a region of size between 0 and 499 [-Wformat-overflow=] sprintf(fname1,"%s_%i",fname_original,myworld1+1); ^~ neb.c:370:19: note: directive argument in the range [-2147483647, 2147483647] sprintf(fname1,"%s_%i",fname_original,myworld1+1); ^~~~~~~ In file included from /usr/include/stdio.h:862, from neb.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 512 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c neb_run.c In file included from neb_run.c:21: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ neb_run.c: In function 'neb_run': neb_run.c:73:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(fileMemory,"%s%s.memory%i",filepath,filename,myid); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from neb_run.c:12: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1017 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c neb_check.c In file included from neb_check.c:19: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c cellopt.c In file included from cellopt.c:18: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Allocate_NC.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_DFT_NC.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_CentOverlap_NC.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Set_SurfOverlap_NC.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_OneTransmission.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Main_Analysis.c TRAN_Main_Analysis.c: In function 'MTRAN_Read_Tran_HS': TRAN_Main_Analysis.c:1440:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),4,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1453:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(v,sizeof(double),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1467:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1473:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1485:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1497:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1509:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_region,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1514:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_Original_Id,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1521:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies, sizeof(int), atomnum+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1530:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO, sizeof(int), SpeciesNum, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1533:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN,sizeof(int), atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1541:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN,sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1542:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize,sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1555:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1571:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1584:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1641:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1692:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H[k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1736:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H0[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1758:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1767:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO_e[iside], sizeof(int), SpeciesNum_e[iside], fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1770:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1772:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN_e[iside], sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1773:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize_e[iside], sizeof(double),1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1782:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1790:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1795:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1847:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1890:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1924:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),4,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1934:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(v,sizeof(double),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1959:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1965:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1974:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1983:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1992:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_region,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:1997:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_Original_Id,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2004:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies, sizeof(int), atomnum+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2007:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO, sizeof(int), SpeciesNum, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2010:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN,sizeof(int), atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2012:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN,sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2013:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize,sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2022:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2030:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2035:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2066:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2089:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&vtmp[0],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2106:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2109:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO_e[iside], sizeof(int), SpeciesNum_e[iside], fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2112:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2114:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN_e[iside], sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2115:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize_e[iside], sizeof(double),1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2124:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2132:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2137:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2168:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:2191:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&vtmp[0],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c: In function 'MTRAN_Input': TRAN_Main_Analysis.c:3317:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, BUFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:3321:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf %lf", ^~~~~~~~~~~~~~~~~~~~~ &TRAN_Channel_kpoint[i][0], &TRAN_Channel_kpoint[i][1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:3363:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, BUFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:3366:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf", &TRAN_Channel_energy[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c: In function 'TRAN_Main_Analysis': TRAN_Main_Analysis.c:886:27: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.tran%i_%i",filepath,filename,i2,i3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 227 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:902:29: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.tran%i_%i",filepath,filename,ii2,ii3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 227 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:931:25: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.current",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 207 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis.c:955:25: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.conductance",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis.c:17: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 211 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Main_Analysis_NC.c TRAN_Main_Analysis_NC.c: In function 'MTRAN_Read_Tran_HS': TRAN_Main_Analysis_NC.c:1371:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),4,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1384:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(v,sizeof(double),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1398:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1404:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1416:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1428:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1440:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_region,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1445:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_Original_Id,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1452:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies, sizeof(int), atomnum+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1461:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO, sizeof(int), SpeciesNum, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1464:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN,sizeof(int), atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1472:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN,sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1473:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize,sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1486:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1502:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1515:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1572:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1619:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H[k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1662:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iHNL[k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1707:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H0[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1729:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1738:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO_e[iside], sizeof(int), SpeciesNum_e[iside], fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1741:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1743:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN_e[iside], sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1744:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize_e[iside], sizeof(double),1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1753:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1761:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1766:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1818:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1861:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(H_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1904:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iHNL_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1939:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),4,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1949:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(v,sizeof(double),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1974:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1980:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1989:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:1998:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(iv, sizeof(int),3,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2007:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_region,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2012:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(TRAN_Original_Id,sizeof(int),atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2019:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies, sizeof(int), atomnum+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2022:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO, sizeof(int), SpeciesNum, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2025:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN,sizeof(int), atomnum+1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2027:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN,sizeof(int),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2028:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize,sizeof(double),1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2037:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2045:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn[i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2050:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2081:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP[k][Gc_AN][h_AN][i],sizeof(double), tno1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2104:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&vtmp[0],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2132:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&vtmp[0],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2151:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(WhatSpecies_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2154:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(Spe_Total_CNO_e[iside], sizeof(int), SpeciesNum_e[iside], fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2157:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(FNAN_e[iside], sizeof(int), atomnum_e[iside]+1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2159:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&Max_FSNAN_e[iside], sizeof(int), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2160:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ScaleSize_e[iside], sizeof(double),1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2169:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(natn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2177:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ncn_e[iside][i],sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2182:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ia_vec,sizeof(int),size1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2213:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(OLP_e[iside][k][Gc_AN][h_AN][i],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2236:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&vtmp[0],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:2264:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&vtmp[0],sizeof(double),tno1,fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c: In function 'MTRAN_Input': TRAN_Main_Analysis_NC.c:3385:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, BUFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:3389:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf %lf", ^~~~~~~~~~~~~~~~~~~~~ &TRAN_Channel_kpoint[i][0], &TRAN_Channel_kpoint[i][1]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:3431:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, BUFSIZE, fp); ^~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:3434:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%lf", &TRAN_Channel_energy[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c: In function 'TRAN_Main_Analysis_NC': TRAN_Main_Analysis_NC.c:846:27: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.tran%i_%i",filepath,filename,i2,i3); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis_NC.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 227 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:874:25: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.current",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis_NC.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 207 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Main_Analysis_NC.c:898:25: warning: '%s' directive writing up to 99 bytes into a region of size between 1 and 100 [-Wformat-overflow=] sprintf(fnameout,"%s%s.conductance",filepath,filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Main_Analysis_NC.c:16: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 211 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c MTRAN_EigenChannel.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Channel_Functions.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Channel_Output.c TRAN_Channel_Output.c: In function 'Print_CubeCData_MO': TRAN_Channel_Output.c:127:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(op, "r") == 0) { cmd = 1; } ^~~~~~ TRAN_Channel_Output.c: At top level: TRAN_Channel_Output.c:400:1: warning: return type defaults to 'int' [-Wimplicit-int] TRAN_Output_ChannelCube( ^~~~~~~~~~~~~~~~~~~~~~~ TRAN_Channel_Output.c: In function 'TRAN_Output_ChannelCube': TRAN_Channel_Output.c:516:9: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] fsync(fd); ^~~~~ In file included from TRAN_Channel_Output.c:17: TRAN_Channel_Output.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ TRAN_Channel_Output.c: In function 'TRAN_Output_ChannelLCAO': TRAN_Channel_Output.c:182:19: warning: '%s' directive writing up to 499 bytes into a region of size 100 [-Wformat-overflow=] sprintf(fname, "%s%s.traneval%i_%i_%i", filepath, filename, kloop, iw, ispin); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Channel_Output.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1043 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Channel_Output.c:217:19: warning: '%s' directive writing up to 499 bytes into a region of size 100 [-Wformat-overflow=] sprintf(fname, "%s%s.tranevec%i_%i_%i", filepath, filename, kloop, iw, ispin); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Channel_Output.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 1043 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Channel_Output.c: In function 'TRAN_Output_ChannelCube': TRAN_Channel_Output.c:495:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.tranec%i_%i_%i_%i_r%s", ^~ filepath, filename, kloop, iw, ispin, orbit, Out_Extention); ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Channel_Output.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1554 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Channel_Output.c:527:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.tranec%i_%i_%i_%i_i%s", ^~ filepath, filename, kloop, iw, ispin, orbit, Out_Extention); ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Channel_Output.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1554 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_Channel_Output.c: In function 'TRAN_Output_eigentrans_sum': TRAN_Channel_Output.c:580:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.paranegf",filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_Channel_Output.c:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1008 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_Calc_CurrentDensity.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c TRAN_CDen_Main.c TRAN_CDen_Main.c: In function 'TRAN_Current_OutPutCube': TRAN_CDen_Main.c:817:11: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] fsync(fd); ^~~~~ In file included from TRAN_CDen_Main.c:6: TRAN_CDen_Main.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ TRAN_CDen_Main.c: In function 'Print_Voronoi_CDensity': TRAN_CDen_Main.c:1101:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden_atom_i.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1019 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:1097:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden_atom_r.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 21 and 1019 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:1093:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.scurden_atom.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 1016 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:1089:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.curden_atom.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1015 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c: In function 'Print_VectorData_CDensity': TRAN_CDen_Main.c:860:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden_i.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:856:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden_r.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:852:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.scurden.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 1011 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:848:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.curden.xsf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 1010 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c: In function 'Print_VectorData_CDensity_bin': TRAN_CDen_Main.c:934:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden_i.xsf.bin", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:930:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden_r.xsf.bin", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 20 and 1018 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:926:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.scurden.xsf.bin", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 17 and 1015 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:922:25: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.curden.xsf.bin", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 16 and 1014 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c: In function 'TRAN_Current_OutPutCube': TRAN_CDen_Main.c:796:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden1_i%s", filepath, filename, Out_Extention); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 1510 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:792:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.odcurden1_r%s", filepath, filename, Out_Extention); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 1510 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:788:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.scurden1%s", filepath, filename, Out_Extention); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1507 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c:784:27: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.curden1%s", filepath, filename, Out_Extention); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 1506 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TRAN_CDen_Main.c: In function 'TRAN_Output_AveCdensity.part.1': TRAN_CDen_Main.c:1219:23: warning: '%s' directive writing up to 499 bytes into a region of size between 1 and 500 [-Wformat-overflow=] sprintf(file1, "%s%s.paranegf", filepath, filename); ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:862, from TRAN_CDen_Main.c:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 10 and 1008 bytes into a destination of size 500 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpif90 `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get FFLAGS` -fopenmp -c elpa1.f90 mpif90 `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get FFLAGS` -fopenmp -c solve_evp_real.f90 mpif90 `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get FFLAGS` -fopenmp -c solve_evp_complex.f90 mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c NBO_Cluster.c In file included from NBO_Cluster.c:22: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ NBO_Cluster.c: In function 'Calc_NAO_Cluster': NBO_Cluster.c:5583:21: warning: argument 1 range [18446744056529682440, 18446744073709551544] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] Table_NBO = (int**)malloc(sizeof(int*)*(atomnum*10+1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from NBO_Cluster.c:19: /usr/include/stdlib.h:539:14: note: in a call to allocation function 'malloc' declared here extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; ^~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -c NBO_Krylov.c NBO_Krylov.c: In function 'Krylov_Col_NAO': NBO_Krylov.c:471:13: warning: implicit declaration of function 'omp_get_thread_num' [-Wimplicit-function-declaration] OMPID = omp_get_thread_num(); ^~~~~~~~~~~~~~~~~~ NBO_Krylov.c:472:14: warning: implicit declaration of function 'omp_get_num_threads' [-Wimplicit-function-declaration] Nthrds = omp_get_num_threads(); ^~~~~~~~~~~~~~~~~~~ NBO_Krylov.c:473:14: warning: implicit declaration of function 'omp_get_num_procs' [-Wimplicit-function-declaration] Nprocs = omp_get_num_procs(); ^~~~~~~~~~~~~~~~~ In file included from NBO_Krylov.c:18: NBO_Krylov.c: At top level: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx.o exx.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_index.o exx_index.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_vector.o exx_vector.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_log.o exx_log.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_step1.o exx_step1.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_step2.o exx_step2.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_file_overlap.o exx_file_overlap.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_file_eri.o exx_file_eri.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_interface_openmx.o exx_interface_openmx.c In file included from exx_interface_openmx.c:10: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_debug.o exx_debug.c In file included from exx_debug.c:4: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_xc.o exx_xc.c In file included from exx_xc.c:11: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o exx_rhox.o exx_rhox.c In file included from exx_rhox.c:7: openmx_common.h:3161:13: warning: inline function 'Spherical_Bessel' declared but never defined inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb ); ^~~~~~~~~~~~~~~~ exx_rhox.c: In function 'EXX_Input_DM': exx_rhox.c:163:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&exx_DM[spin][iep][i][j].r, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exx_rhox.c:164:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&exx_DM[spin][iep][i][j].i, sizeof(double), 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/eri.o liberi-091216/source/eri.c liberi-091216/source/eri.c: In function 'ERI_Overlap': liberi-091216/source/eri.c:133:43: warning: passing argument 5 of 'ERI_LL_Overlap_d' from incompatible pointer type [-Wincompatible-pointer-types] ERI_LL_Overlap_d(solver, p, dp, alp1, dalp1, alp2, dalp2, cx); ^~~~~ In file included from liberi-091216/source/eri.c:14: liberi-091216/source/eri.h:532:17: note: expected 'const double **' but argument is of type 'double **' const double *da1[3], ~~~~~~~~~~~~~~^~~~~~ liberi-091216/source/eri.c:133:56: warning: passing argument 7 of 'ERI_LL_Overlap_d' from incompatible pointer type [-Wincompatible-pointer-types] ERI_LL_Overlap_d(solver, p, dp, alp1, dalp1, alp2, dalp2, cx); ^~~~~ In file included from liberi-091216/source/eri.c:14: liberi-091216/source/eri.h:534:17: note: expected 'const double **' but argument is of type 'double **' const double *da2[3], ~~~~~~~~~~~~~~^~~~~~ liberi-091216/source/eri.c: In function 'ERI_Integral': liberi-091216/source/eri.c:228:35: warning: passing argument 3 of 'ERI_Integral_GL_d' from incompatible pointer type [-Wincompatible-pointer-types] ERI_Integral_GL_d(solver, I4, dI4, glF, glG, dglF, dglG, ^~~ In file included from liberi-091216/source/eri.c:14: liberi-091216/source/eri.h:574:17: note: expected 'double (*)[3][2]' but argument is of type 'double *' double dI4[4][3][2], ~~~~~~~~~~~~~~^~~~~~~~~~~~ liberi-091216/source/eri.c:228:50: warning: passing argument 6 of 'ERI_Integral_GL_d' from incompatible pointer type [-Wincompatible-pointer-types] ERI_Integral_GL_d(solver, I4, dI4, glF, glG, dglF, dglG, ^~~~ In file included from liberi-091216/source/eri.c:14: liberi-091216/source/eri.h:577:17: note: expected 'const double **' but argument is of type 'double **' const double *dF1[3], /* (IN) Overlap matrix */ ~~~~~~~~~~~~~~^~~~~~ liberi-091216/source/eri.c:228:56: warning: passing argument 7 of 'ERI_Integral_GL_d' from incompatible pointer type [-Wincompatible-pointer-types] ERI_Integral_GL_d(solver, I4, dI4, glF, glG, dglF, dglG, ^~~~ In file included from liberi-091216/source/eri.c:14: liberi-091216/source/eri.h:578:17: note: expected 'const double **' but argument is of type 'double **' const double *dF2[3], /* (IN) */ ~~~~~~~~~~~~~~^~~~~~ mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/eri_ll.o liberi-091216/source/eri_ll.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/eri_sf.o liberi-091216/source/eri_sf.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/eri_interpolate.o liberi-091216/source/eri_interpolate.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/eri_gtbl.o liberi-091216/source/eri_gtbl.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/sbt/eri_sbt.o liberi-091216/source/sbt/eri_sbt.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/sbt/log/eri_fsbt.o liberi-091216/source/sbt/log/eri_fsbt.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/sbt/log/eri_logfsbt.o liberi-091216/source/sbt/log/eri_logfsbt.c mpicc `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CFLAGS` -Dnosse -fopenmp -I./liberi-091216/source -g -Wdate-time -D_FORTIFY_SOURCE=2 -c -o liberi-091216/source/sbt/linear/eri_linfsbt.o liberi-091216/source/sbt/linear/eri_linfsbt.c mpif90 `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get FFLAGS` -fopenmp openmx.o openmx_common.o Input_std.o Inputtools.o init.o LU_inverse.o ReLU_inverse.o truncation.o readfile.o FT_PAO.o FT_NLP.o FT_ProExpn_VNA.o FT_VNA.o FT_ProductPAO.o Hamiltonian_Cluster.o Hamiltonian_Cluster_Hs.o Overlap_Cluster.o Hamiltonian_Band.o Overlap_Band.o Hamiltonian_Cluster_NC.o Hamiltonian_Band_NC.o Hamiltonian_Cluster_SO.o Get_OneD_HS_Col.o SetPara_DFT.o XC_Ceperly_Alder.o XC_CA_LSDA.o XC_PW92C.o XC_PBE.o XC_EX.o DFT.o Mixing_DM.o Mixing_H.o Force.o Stress.o Poisson.o Poisson_ESM.o Cluster_DFT.o Cluster_DFT_ScaLAPACK.o Cluster_DFT_Dosout.o Cluster_DFT_ON2.o Band_DFT_Col.o Band_DFT_Col_ScaLAPACK.o Band_DFT_NonCol.o Band_DFT_kpath.o Band_DFT_MO.o Unfolding_Bands.o Band_DFT_Dosout.o Set_Density_Grid.o Set_Orbitals_Grid.o Set_Aden_Grid.o Gauss_Legendre.o zero_cfrac.o xyz2spherical.o AngularF.o RadialF.o Dr_RadialF.o PhiF.o VNAF.o Dr_VNAF.o VH_AtomF.o Dr_VH_AtomF.o RF_BesselF.o QuickSort.o Nonlocal_RadialF.o KumoF.o Dr_KumoF.o Mulliken_Charge.o Occupation_Number_LDA_U.o Eff_Hub_Pot.o EulerAngle_Spin.o Smoothing_Func.o Orbital_Moment.o Pot_NeutralAtom.o Simple_Mixing_DM.o DIIS_Mixing_DM.o ADIIS_Mixing_DM.o GR_Pulay_DM.o Kerker_Mixing_Rhok.o DIIS_Mixing_Rhok.o Total_Energy.o Contract_Hamiltonian.o Contract_iHNL.o Cont_Matrix0.o Cont_Matrix1.o Cont_Matrix2.o Cont_Matrix3.o Cont_Matrix4.o Opt_Contraction.o Initial_CntCoes.o Initial_CntCoes2.o Set_XC_Grid.o Get_Orbitals.o Get_dOrbitals.o Get_Cnt_Orbitals.o Get_Cnt_dOrbitals.o Gaunt.o Find_CGrids.o MD_pac.o RestartFileDFT.o Output_CompTime.o Merge_LogFile.o Make_FracCoord.o Make_InputFile_with_FinalCoord.o Output_Energy_Decomposition.o Divide_Conquer.o Krylov.o EC.o Divide_Conquer_Dosout.o Eigen_lapack.o Eigen_lapack2.o Eigen_lapack3.o EigenBand_lapack.o Eigen_PReHH.o BroadCast_ReMatrix.o Eigen_PHH.o BroadCast_ComplexMatrix.o lapack_dstedc1.o lapack_dstedc2.o lapack_dstedc3.o lapack_dstegr1.o lapack_dstegr2.o lapack_dstegr3.o lapack_dstevx1.o lapack_dstevx2.o lapack_dstevx3.o lapack_dstevx4.o lapack_dstevx5.o lapack_dsteqr1.o Nonlocal_Basis.o Set_OLP_Kin.o Set_Nonlocal.o Set_ProExpn_VNA.o Set_Hamiltonian.o Set_Vpot.o Voronoi_Charge.o Voronoi_Orbital_Moment.o Fuzzy_Weight.o dampingF.o deri_dampingF.o Spherical_Bessel.o iterout.o iterout_md.o Allocate_Arrays.o Free_Arrays.o Init_List_YOUSO.o outputfile1.o malloc_multidimarray.o PrintMemory.o PrintMemory_Fix.o dtime.o OutData.o OutData_Binary.o init_alloc_first.o File_CntCoes.o SCF2File.o mimic_sse.o Make_Comm_Worlds.o Set_Allocate_Atom2CPU.o Cutoff.o Generating_MP_Special_Kpt.o Maketest.o Runtest.o Memory_Leak_test.o Force_test.o Stress_test.o Show_DFT_DATA.o Generate_Wannier.o TRAN_Allocate.o TRAN_DFT.o TRAN_DFT_Dosout.o TRAN_Apply_Bias2e.o TRAN_Deallocate_Electrode_Grid.o TRAN_Deallocate_RestartFile.o TRAN_RestartFile.o TRAN_Calc_CentGreen.o TRAN_Input_std.o TRAN_Set_CentOverlap.o TRAN_Calc_CentGreenLesser.o TRAN_Input_std_Atoms.o TRAN_Set_Electrode_Grid.o TRAN_Calc_GridBound.o TRAN_Set_IntegPath.o TRAN_Output_HKS.o TRAN_Set_MP.o TRAN_Calc_SelfEnergy.o TRAN_Output_Trans_HS.o TRAN_Calc_Hopping_G.o TRAN_Calc_SurfGreen.o TRAN_Set_SurfOverlap.o TRAN_Add_Density_Lead.o TRAN_Add_ADensity_Lead.o TRAN_Set_Value.o TRAN_Poisson.o TRAN_adjust_Ngrid.o TRAN_Print.o TRAN_Print_Grid.o Lapack_LU_inverse.o TRAN_Distribute_Node.o TRAN_Output_HKS_Write_Grid.o TRAN_Credit.o TRAN_Check_Region_Lead.o TRAN_Check_Region.o TRAN_Check_Input.o DFTDvdW_init.o DFTD3vdW_init.o neb.o neb_run.o neb_check.o cellopt.o TRAN_Allocate_NC.o TRAN_DFT_NC.o TRAN_Set_CentOverlap_NC.o TRAN_Set_SurfOverlap_NC.o TRAN_Calc_OneTransmission.o TRAN_Main_Analysis.o TRAN_Main_Analysis_NC.o MTRAN_EigenChannel.o TRAN_Channel_Functions.o TRAN_Channel_Output.o TRAN_Calc_CurrentDensity.o TRAN_CDen_Main.o elpa1.o solve_evp_real.o solve_evp_complex.o NBO_Cluster.o NBO_Krylov.o exx.o exx_index.o exx_vector.o exx_log.o exx_step1.o exx_step2.o exx_file_overlap.o exx_file_eri.o exx_interface_openmx.o exx_debug.o exx_xc.o exx_rhox.o ./liberi-091216/source/eri.o ./liberi-091216/source/eri_ll.o ./liberi-091216/source/eri_sf.o ./liberi-091216/source/eri_interpolate.o ./liberi-091216/source/eri_gtbl.o ./liberi-091216/source/sbt/eri_sbt.o ./liberi-091216/source/sbt/log/eri_fsbt.o ./liberi-091216/source/sbt/log/eri_logfsbt.o ./liberi-091216/source/sbt/linear/eri_linfsbt.o -lfftw3 -llapack -lblas `dpkg-buildflags --get LDFLAGS` -lm -o openmx make[2]: Leaving directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1/source' make[1]: Leaving directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1' dh_auto_test -a -O--sourcedirectory=source/ create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-arch dh binary-arch --sourcedirectory=source/ dh_testroot -a -O--sourcedirectory=source/ dh_prep -a -O--sourcedirectory=source/ dh_auto_install -a -O--sourcedirectory=source/ cd source && make -j10 install DESTDIR=/build/openmx-4MOafO/openmx-3.8.5\+dfsg1/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1/source' mkdir -p /build/openmx-4MOafO/openmx-3.8.5+dfsg1/debian/tmp/usr/bin/ cp openmx /build/openmx-4MOafO/openmx-3.8.5+dfsg1/debian/tmp/usr/bin/openmx make[1]: Leaving directory '/build/openmx-4MOafO/openmx-3.8.5+dfsg1/source' dh_install -a -O--sourcedirectory=source/ dh_installdocs -a -O--sourcedirectory=source/ dh_installchangelogs -a -O--sourcedirectory=source/ dh_installman -a -O--sourcedirectory=source/ dh_perl -a -O--sourcedirectory=source/ dh_link -a -O--sourcedirectory=source/ dh_strip_nondeterminism -a -O--sourcedirectory=source/ dh_compress -a -O--sourcedirectory=source/ dh_fixperms -a -O--sourcedirectory=source/ dh_missing -a -O--sourcedirectory=source/ dh_strip -a -O--sourcedirectory=source/ dh_makeshlibs -a -O--sourcedirectory=source/ dh_shlibdeps -a -O--sourcedirectory=source/ dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/openmx/usr/bin/openmx was not linked against libmpi_usempif08.so.40 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/openmx/usr/bin/openmx was not linked against libmpi_usempi_ignore_tkr.so.40 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/openmx/usr/bin/openmx was not linked against libquadmath.so.0 (it uses none of the library's symbols) dh_installdeb -a -O--sourcedirectory=source/ dh_gencontrol -a -O--sourcedirectory=source/ dh_md5sums -a -O--sourcedirectory=source/ dh_builddeb -a -O--sourcedirectory=source/ dpkg-deb: building package 'openmx' in '../openmx_3.8.5+dfsg1-1_amd64.deb'. dpkg-deb: building package 'openmx-dbgsym' in '../openmx-dbgsym_3.8.5+dfsg1-1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../openmx_3.8.5+dfsg1-1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build openmx-3.8.5+dfsg1 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/openmx-4MOafO /tmp/openmx-3.8.5+dfsg1-16mco42zh I: cleaning package lists and apt cache... I: removing tempdir /tmp/mmdebstrap.PIRgmrfoGR... I: success in 732.7328 seconds md5: openmx-dbgsym_3.8.5+dfsg1-1_amd64.deb: OK md5: openmx_3.8.5+dfsg1-1_amd64.deb: OK sha1: openmx-dbgsym_3.8.5+dfsg1-1_amd64.deb: OK sha1: openmx_3.8.5+dfsg1-1_amd64.deb: OK sha256: openmx-dbgsym_3.8.5+dfsg1-1_amd64.deb: OK sha256: openmx_3.8.5+dfsg1-1_amd64.deb: OK Checksums: OK