Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Fri Aug 1 13:26:21 2014 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-cc=cc --with-cxx=CC --with-fc=ftn --with-ld=cc --with-cpp=cpp --with-shared-libraries=0 --with-gnu-compilers=0 --with-debugging=0 --with-clanguage=c --with-x=0 --with-clib-autodetect=0 --with-fortranlib-autodetect=0 --with-cxxlib-autodetect=0 --COPTFLAGS=""-O3 -msse3 -fPIC"" --FOPTFLAGS=""-O3 -msse3 -fPIC"" --download-parmetis=1 --download-metis=1 --with-hdf5=1 --with-hdf5-dir=/opt/cray/hdf5-parallel/1.8.13/GNU/49 --with-mpi-dir=/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49 --with-c2html=0 --PETSC_ARCH=edison-gnu-4.9.0-debug Working directory: /global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 Machine platform: ('Linux', 'edison05', '3.0.101-0.29-default', '#1 SMP Tue May 13 08:40:57 UTC 2014 (9ec28a0)', 'x86_64', 'x86_64') Python version: 2.6.9 (unknown, Feb 24 2014, 17:02:26) [GCC 4.3.4 [gcc-4_3-branch revision 152973]] ================================================================================ Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ TEST configureExternalPackagesDir from config.framework(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/framework.py:823) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:823) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/gdb...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/gdb...not found Checking for program /opt/cray/hdf5/1.8.13/bin/gdb...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/gdb...not found Checking for program /opt/cray/atp/1.7.3/bin/gdb...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/gdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/gdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/gdb...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/gdb...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/gdb...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/gdb...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/gdb...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/gdb...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/gdb...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/gdb...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/gdb...not found Checking for program /opt/gcc/4.9.0/bin/gdb...not found Checking for program /opt/cray/craype/2.1.2/bin/gdb...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/gdb...not found Checking for program /opt/moab/7.2.7/bin/gdb...not found Checking for program /opt/moab/7.2.7/sbin/gdb...not found Checking for program /opt/torque/4.2.7/sbin/gdb...not found Checking for program /opt/torque/4.2.7/bin/gdb...not found Checking for program /usr/syscom/nsg/sbin/gdb...not found Checking for program /usr/syscom/nsg/bin/gdb...not found Checking for program /opt/modules/3.2.6.7/bin/gdb...not found Checking for program /global/homes/g/gbisht/bin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/dbx...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/dbx...not found Checking for program /opt/cray/hdf5/1.8.13/bin/dbx...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/dbx...not found Checking for program /opt/cray/atp/1.7.3/bin/dbx...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/dbx...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/dbx...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/dbx...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/dbx...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/dbx...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/dbx...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/dbx...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/dbx...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/dbx...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/dbx...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/dbx...not found Checking for program /opt/gcc/4.9.0/bin/dbx...not found Checking for program /opt/cray/craype/2.1.2/bin/dbx...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/dbx...not found Checking for program /opt/moab/7.2.7/bin/dbx...not found Checking for program /opt/moab/7.2.7/sbin/dbx...not found Checking for program /opt/torque/4.2.7/sbin/dbx...not found Checking for program /opt/torque/4.2.7/bin/dbx...not found Checking for program /usr/syscom/nsg/sbin/dbx...not found Checking for program /usr/syscom/nsg/bin/dbx...not found Checking for program /opt/modules/3.2.6.7/bin/dbx...not found Checking for program /global/homes/g/gbisht/bin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/bin/X11/dbx...not found Checking for program /usr/X11R6/bin/dbx...not found Checking for program /usr/games/dbx...not found Checking for program /usr/lib/mit/bin/dbx...not found Checking for program /usr/lib/mit/sbin/dbx...not found Checking for program /usr/lib/qt3/bin/dbx...not found Checking for program /opt/cray/bin/dbx...not found Checking for program /global/homes/g/gbisht/dbx...not found Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/xdb...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/xdb...not found Checking for program /opt/cray/hdf5/1.8.13/bin/xdb...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/xdb...not found Checking for program /opt/cray/atp/1.7.3/bin/xdb...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/xdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/xdb...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/xdb...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/xdb...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/xdb...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/xdb...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/xdb...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/xdb...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/xdb...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/xdb...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/xdb...not found Checking for program /opt/gcc/4.9.0/bin/xdb...not found Checking for program /opt/cray/craype/2.1.2/bin/xdb...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/xdb...not found Checking for program /opt/moab/7.2.7/bin/xdb...not found Checking for program /opt/moab/7.2.7/sbin/xdb...not found Checking for program /opt/torque/4.2.7/sbin/xdb...not found Checking for program /opt/torque/4.2.7/bin/xdb...not found Checking for program /usr/syscom/nsg/sbin/xdb...not found Checking for program /usr/syscom/nsg/bin/xdb...not found Checking for program /opt/modules/3.2.6.7/bin/xdb...not found Checking for program /global/homes/g/gbisht/bin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/bin/X11/xdb...not found Checking for program /usr/X11R6/bin/xdb...not found Checking for program /usr/games/xdb...not found Checking for program /usr/lib/mit/bin/xdb...not found Checking for program /usr/lib/mit/sbin/xdb...not found Checking for program /usr/lib/qt3/bin/xdb...not found Checking for program /opt/cray/bin/xdb...not found Checking for program /global/homes/g/gbisht/xdb...not found Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/dsymutil...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/dsymutil...not found Checking for program /opt/cray/hdf5/1.8.13/bin/dsymutil...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/dsymutil...not found Checking for program /opt/cray/atp/1.7.3/bin/dsymutil...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/dsymutil...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/dsymutil...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/dsymutil...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/dsymutil...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/dsymutil...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/dsymutil...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/dsymutil...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/dsymutil...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/dsymutil...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/dsymutil...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/dsymutil...not found Checking for program /opt/gcc/4.9.0/bin/dsymutil...not found Checking for program /opt/cray/craype/2.1.2/bin/dsymutil...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/dsymutil...not found Checking for program /opt/moab/7.2.7/bin/dsymutil...not found Checking for program /opt/moab/7.2.7/sbin/dsymutil...not found Checking for program /opt/torque/4.2.7/sbin/dsymutil...not found Checking for program /opt/torque/4.2.7/bin/dsymutil...not found Checking for program /usr/syscom/nsg/sbin/dsymutil...not found Checking for program /usr/syscom/nsg/bin/dsymutil...not found Checking for program /opt/modules/3.2.6.7/bin/dsymutil...not found Checking for program /global/homes/g/gbisht/bin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /usr/bin/dsymutil...not found Checking for program /bin/dsymutil...not found Checking for program /usr/bin/X11/dsymutil...not found Checking for program /usr/X11R6/bin/dsymutil...not found Checking for program /usr/games/dsymutil...not found Checking for program /usr/lib/mit/bin/dsymutil...not found Checking for program /usr/lib/mit/sbin/dsymutil...not found Checking for program /usr/lib/qt3/bin/dsymutil...not found Checking for program /opt/cray/bin/dsymutil...not found Checking for program /global/homes/g/gbisht/dsymutil...not found Defined make macro "DSYMUTIL" to "true" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/git...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/git...not found Checking for program /opt/cray/hdf5/1.8.13/bin/git...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/git...not found Checking for program /opt/cray/atp/1.7.3/bin/git...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/git...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/git...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/git...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/git...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/git...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/git...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/git...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/git...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/git...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/git...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/git...not found Checking for program /opt/gcc/4.9.0/bin/git...not found Checking for program /opt/cray/craype/2.1.2/bin/git...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/git...not found Checking for program /opt/moab/7.2.7/bin/git...not found Checking for program /opt/moab/7.2.7/sbin/git...not found Checking for program /opt/torque/4.2.7/sbin/git...not found Checking for program /opt/torque/4.2.7/bin/git...not found Checking for program /usr/syscom/nsg/sbin/git...not found Checking for program /usr/syscom/nsg/bin/git...not found Checking for program /opt/modules/3.2.6.7/bin/git...not found Checking for program /global/homes/g/gbisht/bin/git...not found Checking for program /usr/local/bin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 1.7.12.4 ================================================================================ TEST configureMercurial from config.sourceControl(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/hg...found Defined make macro "HG" to "hg" Executing: hg version -q stdout: Mercurial Distributed SCM (version 2.7.1) ================================================================================ TEST configureCVS from config.sourceControl(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/cvs...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/cvs...not found Checking for program /opt/cray/hdf5/1.8.13/bin/cvs...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/cvs...not found Checking for program /opt/cray/atp/1.7.3/bin/cvs...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/cvs...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/cvs...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/cvs...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/cvs...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/cvs...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/cvs...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/cvs...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/cvs...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/cvs...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/cvs...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/cvs...not found Checking for program /opt/gcc/4.9.0/bin/cvs...not found Checking for program /opt/cray/craype/2.1.2/bin/cvs...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/cvs...not found Checking for program /opt/moab/7.2.7/bin/cvs...not found Checking for program /opt/moab/7.2.7/sbin/cvs...not found Checking for program /opt/torque/4.2.7/sbin/cvs...not found Checking for program /opt/torque/4.2.7/bin/cvs...not found Checking for program /usr/syscom/nsg/sbin/cvs...not found Checking for program /usr/syscom/nsg/bin/cvs...not found Checking for program /opt/modules/3.2.6.7/bin/cvs...not found Checking for program /global/homes/g/gbisht/bin/cvs...not found Checking for program /usr/local/bin/cvs...not found Checking for program /usr/bin/cvs...found Defined make macro "CVS" to "cvs" Executing: cvs --version stdout: Concurrent Versions System (CVS) 1.12.12 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS ================================================================================ TEST configureSubversion from config.sourceControl(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/svn...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/svn...not found Checking for program /opt/cray/hdf5/1.8.13/bin/svn...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/svn...not found Checking for program /opt/cray/atp/1.7.3/bin/svn...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/svn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/svn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/svn...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/svn...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/svn...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/svn...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/svn...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/svn...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/svn...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/svn...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/svn...not found Checking for program /opt/gcc/4.9.0/bin/svn...not found Checking for program /opt/cray/craype/2.1.2/bin/svn...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/svn...not found Checking for program /opt/moab/7.2.7/bin/svn...not found Checking for program /opt/moab/7.2.7/sbin/svn...not found Checking for program /opt/torque/4.2.7/sbin/svn...not found Checking for program /opt/torque/4.2.7/bin/svn...not found Checking for program /usr/syscom/nsg/sbin/svn...not found Checking for program /usr/syscom/nsg/bin/svn...not found Checking for program /opt/modules/3.2.6.7/bin/svn...not found Checking for program /global/homes/g/gbisht/bin/svn...not found Checking for program /usr/local/bin/svn...not found Checking for program /usr/bin/svn...found Defined make macro "SVN" to "svn" Executing: svn --version -q stdout: 1.6.17 ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/languages.py:27) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:27) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/petscdir.py:23) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:23) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 5 #define PETSC_VERSION_SUBMINOR 1 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5" ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscclone(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/petscclone.py:15) TESTING: configureInstallationMethod from PETSc.utilities.petscclone(config/PETSc/utilities/petscclone.py:15) bin/maint exists. This appears to be a repository clone Defined "VERSION_GIT" to ""v3.5.1-44-g501695b"" Defined "VERSION_DATE_GIT" to ""2014-07-30 23:18:43 -0500"" ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST configureETags from PETSc.utilities.Etags(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST configureArchitecture from PETSc.utilities.arch(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/arch.py:25) TESTING: configureArchitecture from PETSc.utilities.arch(config/PETSc/utilities/arch.py:25) Checks PETSC_ARCH and sets if not set =============================================================================== Warning: PETSC_ARCH from environment does not match command-line or name of script. Warning: Using from command-line or name of script: edison-gnu-4.9.0-debug, ignoring environment: edison_gnu =============================================================================== Defined "ARCH" to ""edison-gnu-4.9.0-debug"" ================================================================================ TEST setInstallDir from PETSc.utilities.installDir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/installDir.py:27) TESTING: setInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:27) setup installDir to PETSC_DIR/PETSC_ARCH ================================================================================ TEST saveReconfigure from PETSc.utilities.installDir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/installDir.py:53) TESTING: saveReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:53) ================================================================================ TEST cleanInstallDir from PETSc.utilities.installDir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/installDir.py:46) TESTING: cleanInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:46) ================================================================================ TEST configureInstallDir from PETSc.utilities.installDir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/installDir.py:31) TESTING: configureInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:31) Makes installDir subdirectories if it does not exist Changed persistence directory to /global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/edison-gnu-4.9.0-debug/conf ================================================================================ TEST restoreReconfigure from PETSc.utilities.installDir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/installDir.py:66) TESTING: restoreReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:66) ================================================================================ TEST setExternalPackagesDir from PETSc.utilities.externalpackagesdir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1515) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1515) **** printenv **** PE_LIBSCI_GENCOMPS_CRAY_interlagos=83 PE_LIBSCI_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL PE_PAPI_DEFAULT_ACCEL_LIBS= PKG_CONFIG_PATH_DEFAULT=/opt/cray/papi/5.3.1/lib64/pkgconfig PYTHONPATH=/usr/common/usg/python/mercurial/2.7.1/lib/python:/scratch1/altd/lib64/python2.6/site-packages CRAY_MPICH2_BASEDIR=/opt/cray/mpt/7.0.0/gni PE_HDF5_DIR=/opt/cray/hdf5-parallel/1.8.13 PE_CRAY_FIXED_PKGCONFIG_PATH=/opt/cray/hdf5-parallel/1.8.13/CRAY/83/lib/pkgconfig PE_PKGCONFIG_LIBS=hdf5_hl_parallel:hdf5_parallel:AtpSigHandler:libsci_mpi:libsci:mpich:darshan-runtime:sma PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252 PE_LIBSCI_GENCOMPS_INTEL_sandybridge=140 CRAY_HDF5_DIR=/opt/cray/hdf5-parallel/1.8.13 PE_FFTW_DEFAULT_TARGET_sandybridge=sandybridge PE_PETSC_DEFAULT_GENCOMPS_INTEL_interlagos=140 USERMODULES=acml:alps:apprentice2:atp:blcr:cce:chapel:cray-fftw:cray-libsci:cray-mpich2:craypat:craype:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:ddt:fftw:ga:gcc:hdf5:hdf5-parallel:intel:iobuf:java:lgdb:libfast:libsci_acc:mpich1:mrnet:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:pathscale:perftools:petsc:petsc-complex:pgi:pmi:PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi:stat:totalview:tpsl:trilinos:xt-asyncpe:xt-craypat:xt-lgdb:xt-libsci:xt-mpich2:xt-mpt:xt-papi:xt-shmem:xt-totalview:/etc/opt/cray/modules/site_usermodules CRAY_LIBSCI_BASE_DIR=/opt/cray/libsci/13.0.0 GCC_PATH=/opt/gcc/4.9.0 PE_HDF5_DEFAULT_GENCOMPS_GNU=49 48 XKEYSYMDB=/usr/share/X11/XKeysymDB PE_PETSC_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/petsc/3.4.4.0/complex/@PRGENV@/@PE_PETSC_DEFAULT_GENCOMPS@/@PE_PETSC_DEFAULT_TARGET@/lib/pkgconfig PE_HDF5_MODULE_NAME=cray-hdf5-parallel CRAYPE_DIR=/opt/cray/craype/2.1.2 SHELL=/bin/csh PE_LIBSCI_GENCOMPS_CRAY_x86_64=83 PE_PAPI_DEFAULT_TARGET_VAR_nvidia35=,-lcupti,-lcudart,-lcuda XDG_DATA_DIRS=/usr/local/share:/usr/share:/etc/opt/kde3/share:/opt/cray/share:/opt/kde3/share:/usr/share/gnome/help CRAY_MPICH2_ROOTDIR=/opt/cray/mpt/7.0.0 LESS=-M -I CPU=x86_64 HISTSIZE=1000 PE_MPICH_NV_LIBS_nvidia35=-lcudart PE_MPICH_TARGET_VAR_nvidia35=-lcudart PE_PETSC_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL CRAY_SHMEM_VER=7.0.0 PE_MPICH_MODULE_NAME=cray-mpich PE_HDF5_DEFAULT_VOLATILE_PRGENV=GNU PE_LIBSCI_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci/13.0.0/@PRGENV@/@PE_LIBSCI_DEFAULT_GENCOMPS@/@PE_LIBSCI_DEFAULT_TARGET@/lib/pkgconfig TARGETMODULES=craype-abudhabi:craype-abudhabi-cu:craype-accel-nvidia20:craype-accel-nvidia30:craype-accel-nvidia35:craype-barcelona:craype-hugepages128K:craype-hugepages128M:craype-hugepages16M:craype-hugepages256M:craype-hugepages2M:craype-hugepages512K:craype-hugepages512M:craype-hugepages64M:craype-hugepages8M:craype-interlagos:craype-interlagos-cu:craype-istanbul:craype-ivybridge:craype-knc:craype-mc12:craype-mc8:craype-network-aries:craype-network-gemini:craype-network-seastar:craype-sandybridge:craype-shanghai:craype-target-compute_node:craype-target-local_host:craype-target-native:craype-target-petest:craype-xeon:xtpe-barcelona:xtpe-interlagos:xtpe-interlagos-cu:xtpe-istanbul:xtpe-mc12:xtpe-mc8:xtpe-network-gemini:xtpe-network-seastar:xtpe-shanghai:xtpe-target-native:xtpe-xeon:/etc/opt/cray/modules/site_targetmodules PROFILEREAD=true PE_PETSC_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 PE_PKGCONFIG_PRODUCTS=PE_HDF5_PARALLEL:PE_LIBSCI:PE_MPICH:PE_SMA PE_INTEL_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/mpt/7.0.0/gni/mpich2-intel/140/lib/pkgconfig:/opt/cray/parallel-netcdf/1.4.1/INTEL/140/lib/pkgconfig:/opt/cray/hdf5/1.8.13/INTEL/140/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/INTEL/140/lib/pkgconfig:/opt/cray/ga/5.1.0.5/INTEL/140/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/INTEL/140/lib/pkgconfig:/opt/cray/netcdf/4.3.2/INTEL/140/lib/pkgconfig DMAPP_ABORT_ON_ERROR=1 CRAY_UGNI_INCLUDE_OPTS=-I/opt/cray/ugni/5.0-1.0502.9037.7.26.ari/include ALTD_SELECT_USERS= PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_haswell=140 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_MPICH_PKGCONFIG_VARIABLES=PE_MPICH_NV_LIBS_@accelerator@ PE_LIBSCI_MODULE_NAME=cray-libsci/13.0.0 PE_FFTW_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PE_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU PE_PARALLEL_NETCDF_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_LIBSCI_VOLATILE_PKGCONFIG_PATH=/opt/cray/libsci/13.0.0/@PRGENV@/@PE_LIBSCI_GENCOMPS@/@PE_LIBSCI_TARGET@/lib/pkgconfig PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf-hdf5parallel/4.3.2/@PRGENV@/@PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig PELOCAL_PRGENV=true MPICH_ABORT_ON_ERROR=1 PE_ENV=GNU PE_PRODUCT_LIST=CRAY_RCA:CRAY_ALPS:CRAY_XPMEM:CRAY_DMAPP:CRAY_PMI:CRAY_UGNI:CRAY_UDREG:CRAY_LIBSCI:CRAYPE:GNU:GCC:CRAYPE_IVYBRIDGE CRAY_HDF5_PARALLEL_VERSION=1.8.13 PE_MPICH_VOLATILE_PRGENV=CRAY GNU PE_HDF5_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5/1.8.13/@PRGENV@/@PE_HDF5_DEFAULT_GENCOMPS@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_CRAY_x86_64=83 PE_PETSC_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_PETSC_DEFAULT_GENCOMPS_GNU_haswell=49 48 PE_TPSL_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_TRILINOS_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/trilinos/11.8.1.0/@PRGENV@/@PE_TRILINOS_DEFAULT_GENCOMPS@/@PE_TRILINOS_DEFAULT_TARGET@/lib/pkgconfig PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_FFTW_DEFAULT_TARGET_haswell=haswell SSH_CONNECTION=131.243.59.94 51067 128.55.72.100 22 PE_LIBSCI_GENCOMPS_GNU_interlagos=49 48 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 BUILD_OPTS=/opt/cray/craype/2.1.2/bin/build-opts HOSTNAME=edison05 MOABHOMEDIR=/usr/syscom/nsg/var/spool/moab SSH_SENDS_LOCALE=yes ENV=/etc/bash.bashrc PE_HDF5_PARALLEL_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5-parallel/1.8.13/@PRGENV@/@PE_HDF5_PARALLEL_GENCOMPS@/lib/pkgconfig PETSC_ARCH=edison_gnu PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_haswell=140 CRAY_RCA_POST_LINK_OPTS=-L/opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/lib64 -lrca PE_MPICH_TARGET_VAR_nvidia20=-lcudart PE_LIBSCI_PKGCONFIG_LIBS=libsci_mpi:libsci CSHRCREAD=true LS_COLORS= MPICH_MPIIO_DVS_MAXNODES=14 CRAYOS_VERSION=5.2.25 ESMFBIN_PATH=/global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_sandybridge=140 GROUP=gbisht PE_TPSL_DEFAULT_GENCOMPS_CRAY_interlagos=83 PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_interlagos=140 PE_LIBSCI_GENCOMPS_INTEL_haswell=140 PE_SMA_DIR_CRAY_DEFAULT64=64 PE_MPICH_DIR_CRAY_DEFAULT64=64 MINICOM=-c on LESSOPEN=lessopen.sh %s CSHEDIT=emacs module=() { eval `/opt/modules/3.2.6.7/bin/modulecmd bash $*` } CRAY_RCA_INCLUDE_OPTS=-I/opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/include -I/opt/cray/krca/1.0.0-2.0502.52773.6.7.ari/include -I/opt/cray-hss-devel/7.2.0/include PE_LIBSCI_GENCOMPS_INTEL_interlagos=140 MACHTYPE=x86_64-suse-linux PE_TPSL_DEFAULT_GENCOMPS_CRAY_sandybridge=83 PE_MPICH_NV_LIBS= CRAY_UDREG_INCLUDE_OPTS=-I/opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/include USER=gbisht INPUTRC=/etc/inputrc HOME=/global/homes/g/gbisht ATP_POST_LINK_OPTS=-Wl,-L/opt/cray/atp/1.7.3/lib/ PS1=\e[31m\u@\e[31m\h \e[31m\W\e[0m] PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_x86_64=140 NERSC_HOST=edison PE_NETCDF_HDF5PARALLEL_DEFAULT_FIXED_PRGENV=CRAY INTEL PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_x86_64=83 CVS_RSH=ssh JDK_HOME=/usr/lib64/jvm/java PKGCONFIG_ENABLED=1 SHLVL=2 PE_MPICH_NV_LIBS_nvidia20=-lcudart PKG_CONFIG_PATH=/opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/lib64/pkgconfig:/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/lib64/pkgconfig:/opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/lib64/pkgconfig:/opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/lib64/pkgconfig:/opt/cray/gni-headers/3.0-1.0502.9038.7.4.ari/lib64/pkgconfig:/opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/lib64/pkgconfig:/opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/lib64/pkgconfig:/opt/cray/ugni/5.0-1.0502.9037.7.26.ari/lib64/pkgconfig:/opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/lib64/pkgconfig:/opt/cray/craype/2.1.2/pkg-config:/opt/cray/iobuf/2.0.5/lib/pkgconfig:/usr/common/usg/darshan/2.3.0/lib/pkgconfig:/opt/cray/switch/1.0-1.0502.51632.2.84.ari/lib64/pkgconfig:/opt/cray/atp/1.7.3/lib/pkgconfig PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_x86_64=83 PE_MPICH_DEFAULT_DIR_CRAY_DEFAULT64=64 PE_MPICH_GENCOMPS_CRAY=83 PE_LIBSCI_PKGCONFIG_VARIABLES=PE_LIBSCI_OMP_REQUIRES_@openmp@ LD_LIBRARY_PATH=/opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/lib64:/opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/lib64:/opt/gcc/mpc/0.8.1/lib:/opt/gcc/mpfr/2.4.2/lib:/opt/gcc/gmp/4.3.2/lib:/opt/gcc/4.9.0/snos/lib64:/usr/common/usg/darshan/2.3.0/lib:/opt/torque/4.2.7/lib:/usr/syscom/nsg/lib:/usr/common/usg/python/default/lib PE_PKGCONFIG_DEFAULT_PRODUCTS=PE_MPICH:PE_PARALLEL_NETCDF:PE_TPSL:PE_HDF5:PE_LIBSCI:PE_TRILINOS:PE_NETCDF_HDF5PARALLEL:PE_FFTW:PE_PETSC:PE_GA:PE_HDF5_PARALLEL:PE_NETCDF CRAY_XPMEM_POST_LINK_OPTS=-L/opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/lib64 CRAY_LIBSCI_DIR=/opt/cray/libsci/13.0.0 PETSC_DIR=/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 LIBRARYMODULES=acml:alps:apprentice2:atp:cray-fftw:cray-libsci:cray-mpich2:cray-petsc:cray-petsc-complex:cray-shmem:cray-tpsl:cray-trilinos:cudatoolkit:fftw:ga:hdf5:hdf5-parallel:iobuf:lgdb:libfast:libsci_acc:mpich1:mpich2:mrnet:netcdf:netcdf-hdf5parallel:netcdf-nofsync:netcdf-nofsync-hdf5parallel:ntk:onesided:papi:parallel-netcdf:petsc:petsc-complex:pmi:shmem:tpsl:trilinos:xt-atp:xt-lgdb:xt-libsci:xt-mpt:xt-papi:/etc/opt/cray/modules/site_librarymodules PE_LIBSCI_DEFAULT_GENCOMPS_GNU_interlagos=49 48 MODULESHOME=/opt/modules/3.2.6.7 PE_PETSC_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI:PE_TPSL GSCRATCH=/global/scratch2/sd/gbisht JAVA_BINDIR=/usr/lib64/jvm/java/bin FFTW_SYSTEM_WISDOM_DIR=/opt/cray/libsci/13.0.0 INFOPATH=/opt/gcc/4.9.0/snos/share/info:/usr/local/info:/usr/share/info:/usr/info:/usr/local/info:/usr/share/info:/usr/info LESSCLOSE=lessclose.sh %s %s PE_LIBSCI_GENCOMPS_GNU_sandybridge=49 48 PE_LIBSCI_DEFAULT_OMP_REQUIRES= PE_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/netcdf/4.3.2/@PRGENV@/@PE_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPS_CRAY_haswell=83 XTPE_NETWORK_TARGET=aries PE_HDF5_PARALLEL_GENCOMPS_GNU=49 48 GCC_VERSION=4.9.0 CRAY_LIBSCI_VERSION=13.0.0 HDF5_INCLUDE_OPTS=/opt/cray/hdf5-parallel/1.8.13/GNU/49/include JRE_HOME=/usr/lib64/jvm/java/jre PE_MPICH_DEFAULT_FIXED_PRGENV=INTEL PE_PETSC_DEFAULT_GENCOMPS_INTEL_x86_64=140 PE_HDF5_PARALLEL_DEFAULT_FIXED_PRGENV=CRAY INTEL XNLSPATH=/usr/share/X11/nls PE_TPSL_DEFAULT_GENCOMPS_INTEL_sandybridge=140 TMPDIR=/scratch2/scratchdirs/gbisht MODULEPATH=/opt/cray/craype/default/modulefiles:/opt/cray/ari/modulefiles:/opt/cray/modulefiles:/opt/modulefiles:/usr/common/usg/Modules/modulefiles:/usr/syscom/nsg/modulefiles:/usr/syscom/nsg/opt/modulefiles:/usr/common/ftg/Modules/modulefiles:/usr/common/graphics/Modules/modulefiles:/usr/common/jgi/Modules/modulefiles:/usr/common/tig/Modules/modulefiles ALTD_VERBOSE=0 PE_FFTW_DEFAULT_TARGET_x86_64=x86_64 ALT_LINKER=/scratch1/altd/1.0/bin/ld XDG_CONFIG_DIRS=/etc/xdg MAN_POSIXLY_CORRECT=1 CRAY_ALPS_INCLUDE_OPTS=-I/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/include PE_LIBSCI_DEFAULT_OMP_REQUIRES_openmp=_mp WINDOWMANAGER= MAIL=/var/mail/gbisht PE_TPSL_DEFAULT_GENCOMPS_GNU_haswell=49 48 CRAY_SHMEM_ROOTDIR=/opt/cray/mpt/7.0.0 PE_LIBSCI_GENCOMPS_CRAY_haswell=83 TOOLMODULES=apprentice:apprentice2:atp:chapel:craypat:ddt:gdb:iobuf:mrnet:papi:perftools:stat:totalview:xt-craypat:xt-lgdb:xt-papi:xt-totalview:/etc/opt/cray/modules/site_toolmodules PE_TRILINOS_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_HDF5_PARALLEL:PE_NETCDF_HDF5PARALLEL:PE_LIBSCI:PE_TPSL PE_HDF5_PARALLEL_DEFAULT_GENCOMPS_GNU=49 48 CRAY_DMAPP_INCLUDE_OPTS=-I/opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/include -I/opt/cray/gni-headers/3.0-1.0502.9038.7.4.ari/include PAGER=less PE_TPSL_DEFAULT_GENCOMPS_INTEL_haswell=140 ALTD_ON=1 MODULE_VERSION=3.2.6.7 PE_GA_DEFAULT_GENCOMPS_GNU=49 48 PE_TPSL_DEFAULT_GENCOMPS_CRAY_x86_64=83 LIBSCI_VERSION=13.0.0 G_BROKEN_FILENAMES=1 HDF5_DIR=/opt/cray/hdf5-parallel/1.8.13/GNU/49 CRAY_PMI_POST_LINK_OPTS=-L/opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/lib64 JAVA_ROOT=/usr/lib64/jvm/java QT_SYSTEM_DIR=/usr/share/desktop-data OPENSSL_NO_DEFAULT_ZLIB=yes ATP_MRNET_COMM_PATH=/opt/cray/atp/1.7.3/bin/atp_mrnet_commnode_wrapper PE_FFTW_DEFAULT_TARGET_interlagos=interlagos CRAY_MPICH2_VER=7.0.0 RCLOCAL_PRGENV=true PE_MPICH_DEFAULT_GENCOMPS_GNU=49 48 QTDIR=/usr/lib/qt3 PE_HDF5_PARALLEL_FORTRAN_PKGCONFIG_LIBS=hdf5hl_fortran_parallel:hdf5_fortran_parallel PE_MPICH_DEFAULT_GENCOMPS_CRAY=83 PE_PETSC_DEFAULT_GENCOMPS_CRAY_sandybridge=83 COLORTERM=1 LANG=en_US.UTF-8 PE_NETCDF_DEFAULT_FIXED_PRGENV=CRAY INTEL CRAY_ALPS_POST_LINK_OPTS=-L/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/lib64 PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_interlagos=140 ALTD_PATH=/scratch1/altd/1.0 PE_LIBSCI_GENCOMPS_INTEL_x86_64=140 LS_OPTIONS=-N --color=none -T 0 PE_INTEL_FIXED_PKGCONFIG_PATH=/opt/cray/hdf5-parallel/1.8.13/INTEL/140/lib/pkgconfig:/opt/cray/mpt/7.0.0/gni/mpich2-intel/140/lib/pkgconfig FORT_BUFFERED=yes PE_GA_DEFAULT_FIXED_PRGENV=CRAY INTEL DVS_MAXNODES=1__ PE_TPSL_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_haswell=49 48 PE_HDF5_PARALLEL_PKGCONFIG_LIBS=hdf5_hl_parallel:hdf5_parallel PE_LIBSCI_GENCOMPS_CRAY_sandybridge=83 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_interlagos=49 48 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_sandybridge=83 PE_LIBSCI_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH PE_FORTRAN_PKGCONFIG_LIBS=hdf5hl_fortran_parallel:hdf5_fortran_parallel:mpichf90 OSTYPE=linux LESS_ADVANCED_PREPROCESSOR=no _LMFILES_000=/opt/modulefiles/modules/3.2.6.7:/usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/eswrap/1.1.0-1.020200.1130.0:/opt/cray/ari/modulefiles/switch/1.0-1.0502.51632.2.84.ari:/opt/cray/craype/default/modulefiles/craype-network-aries:/opt/cray/modulefiles/craype/2.1.2:/opt/modulefiles/intel/14.0.2.144:/opt/cray/modulefiles/cray-libsci/13.0.0:/opt/cray/ari/modulefiles/udreg/2.3.2-1.0502.8763.1.11.ari:/opt/cray/ari/modulefiles/ugni/5.0-1.0502.9037.7.26.ari:/opt/cray/ari/modulefiles/pmi/5.0.4-1.0000.10161.132.4.ari:/opt/cray/ari/modulefiles/dmapp/7.0.1-1.0502.9080.9.32.ari:/opt/cray/ari/modulefiles/gni-headers/3.0-1.0502.9038.7.4.ari:/opt/cray/ari/modulefiles/xpmem/0.1-2.0502.51169.1.11.ari:/opt/cray/ari/modulefiles/job/1.5.5-0.1_2.0502.52111.3.39.ari:/opt/cray/ari/modulefiles/csa/3.0.0-1_2.0502.51200.1.108.ari:/opt/cray/ari/modulefiles/alps/5.2.1-2.0502.8712.10.32.ari:/opt/cray/ari/modulefiles/rca/1.0.0-2.0502.51491.3.92.ari:/opt/cray/modulefiles/atp/1.7.3:/opt/cray/modulefiles/PrgEnv-in _LMFILES_001=tel/5.2.25:/opt/cray/craype/default/modulefiles/craype-ivybridge:/opt/cray/modulefiles/cray-shmem/7.0.0:/opt/cray/modulefiles/cray-mpich/7.0.0:/opt/modulefiles/torque/4.2.7:/opt/modulefiles/moab/7.2.7-e7c070d1-b3-SUSE11:/usr/common/usg/Modules/modulefiles/altd/1.0:/usr/common/usg/Modules/modulefiles/darshan/2.3.0:/usr/common/usg/Modules/modulefiles/usg-default-modules/1.1 ATP_HOME=/opt/cray/atp/1.7.3 PE_PAPI_DEFAULT_ACCEL_LIBS_nvidia35=,-lcupti,-lcudart,-lcuda PE_PKGCONFIG_PRODUCTS_DEFAULT=PE_PAPI PE_NETCDF_HDF5PARALLEL_DEFAULT_GENCOMPS_GNU=49 48 MANPATH=/usr/common/usg/python/mercurial/2.7.1/share/man:/usr/common/usg/cmake/2.8.11.2/man:/opt/cray/atp/1.7.3/man:/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/man:/opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/man:/opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/man:/opt/cray/libsci/13.0.0/man:/opt/cray/mpt/7.0.0/gni/man/mpich2:/opt/gcc/4.9.0/snos/share/man:/opt/cray/craype/2.1.2/man:/opt/moab/7.2.7/share/man/:/opt/torque/4.2.7/share/man:/opt/cray/mpt/7.0.0/gni/man/shmem:/usr/syscom/nsg/man:/opt/modules/3.2.6.7/man:/usr/share/man:ignore:/cm/local/apps/environment-modules/3.2.6/man:/opt/cray/share/man PE_TRILINOS_DEFAULT_GENCOMPS_INTEL_x86_64=140 NNTPSERVER=news XCURSOR_THEME=crystalwhite CRAY_CPU_TARGET=ivybridge PE_TRILINOS_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 PE_TPSL_DEFAULT_GENCOMPS_GNU_sandybridge=49 48 PE_LIBSCI_DEFAULT_GENCOMPS_CRAY_haswell=83 HOST=edison05 LSCOLORS=ExFxBxDxCxegedabagacad PE_MPICH_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.0/gni/mpich2-@PRGENV@@PE_MPICH_DEFAULT_DIR_DEFAULT64@/@PE_MPICH_DEFAULT_GENCOMPS@/lib/pkgconfig NSG_HOME=/usr/syscom/nsg _LMFILES_=/opt/modulefiles/modules/3.2.6.7:/usr/syscom/nsg/modulefiles/nsg/1.2.0:/opt/modulefiles/eswrap/1.1.0-1.020200.1130.0:/opt/cray/ari/modulefiles/switch/1.0-1.0502.51632.2.84.ari:/opt/cray/craype/default/modulefiles/craype-network-aries:/opt/cray/modulefiles/craype/2.1.2:/opt/cray/craype/default/modulefiles/craype-ivybridge:/opt/cray/modulefiles/cray-shmem/7.0.0:/opt/cray/modulefiles/cray-mpich/7.0.0:/opt/modulefiles/torque/4.2.7:/opt/modulefiles/moab/7.2.7-e7c070d1-b3-SUSE11:/usr/common/usg/Modules/modulefiles/altd/1.0:/usr/common/usg/Modules/modulefiles/darshan/2.3.0:/usr/common/usg/Modules/modulefiles/usg-default-modules/1.1:/opt/modulefiles/gcc/4.9.0:/opt/cray/modulefiles/cray-libsci/13.0.0:/opt/cray/ari/modulefiles/udreg/2.3.2-1.0502.8763.1.11.ari:/opt/cray/ari/modulefiles/ugni/5.0-1.0502.9037.7.26.ari:/opt/cray/ari/modulefiles/pmi/5.0.4-1.0000.10161.132.4.ari:/opt/cray/ari/modulefiles/dmapp/7.0.1-1.0502.9080.9.32.ari:/opt/cray/ari/modulefiles/gni-headers/3.0-1.0502.9038.7.4.ari:/opt/cray/ari/modulefiles/xpmem/0.1-2.0502.51169.1.11.ari:/opt/cray/ari/modulefiles/job/1.5.5-0.1_2.0502.52111.3.39.ari:/opt/cray/ari/modulefiles/csa/3.0.0-1_2.0502.51200.1.108.ari:/opt/cray/ari/modulefiles/alps/5.2.1-2.0502.8712.10.32.ari:/opt/cray/ari/modulefiles/rca/1.0.0-2.0502.51491.3.92.ari:/opt/cray/modulefiles/atp/1.7.3:/opt/cray/modulefiles/PrgEnv-gnu/5.2.25:/usr/common/usg/Modules/modulefiles/cmake/2.8.11.2:/opt/cray/modulefiles/cray-hdf5-parallel/1.8.13:/usr/common/usg/Modules/modulefiles/mercurial/2.7.1 CRAY_SHMEM_DIR=/opt/cray/mpt/7.0.0/gni/sma PE_SMA_MODULE_NAME=cray-shmem PE_LIBSCI_VOLATILE_PRGENV=CRAY GNU INTEL PE_SMA_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.0/gni/sma@PE_SMA_DIR_DEFAULT64@/lib64/pkgconfig CRAY_PMI_INCLUDE_OPTS=-I/opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/include PE_MPICH_GENCOMPS_GNU=49 48 PE_LIBSCI_REQUIRED_PRODUCTS=PE_MPICH PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PRGENV=GNU FROM_HEADER= PE_CXX_PKGCONFIG_LIBS=mpichcxx PE_MPICH_VOLATILE_PKGCONFIG_PATH=/opt/cray/mpt/7.0.0/gni/mpich2-@PRGENV@@PE_MPICH_DIR_DEFAULT64@/@PE_MPICH_GENCOMPS@/lib/pkgconfig SSH_TTY=/dev/pts/0 ESWRAP_LOGIN=edimom05 PE_FFTW_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/fftw/3.3.4.0/@PE_FFTW_DEFAULT_TARGET@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_INTEL_haswell=140 LIBSCI_BASE_DIR=/opt/cray/libsci/13.0.0 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_sandybridge=83 PE_PARALLEL_NETCDF_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.4.1/@PRGENV@/@PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS@/lib/pkgconfig ALTD_SELECT_ON=0 PE_LIBSCI_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_TPSL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/tpsl/1.4.1/@PRGENV@/@PE_TPSL_DEFAULT_GENCOMPS@/@PE_TPSL_DEFAULT_TARGET@/lib/pkgconfig PE_TPSL_DEFAULT_GENCOMPS_INTEL_interlagos=140 MORE=-sl _=/usr/bin/python PE_GA_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/ga/5.1.0.5/@PRGENV@/@PE_GA_DEFAULT_GENCOMPS@/lib/pkgconfig CRAY_LIBSCI_PREFIX_DIR=/opt/cray/libsci/13.0.0/GNU/49/sandybridge PE_LIBSCI_DEFAULT_PKGCONFIG_VARIABLES=PE_LIBSCI_DEFAULT_OMP_REQUIRES_@openmp@ GNU_VERSION=4.9.0 HDF5_ROOT=/opt/cray/hdf5-parallel/1.8.13/GNU/49 PE_PETSC_DEFAULT_GENCOMPS_GNU_x86_64=49 48 HOSTTYPE=x86_64 PE_LIBSCI_DEFAULT_GENCOMPS_GNU_x86_64=49 48 PE_TPSL_DEFAULT_GENCOMPS_GNU_x86_64=49 48 LIBGL_ALWAYS_INDIRECT=1 SSH_CLIENT=131.243.59.94 51067 22 LOGNAME=gbisht PE_HDF5_PARALLEL_BASEDIR=/opt/cray/hdf5-parallel/1.8.13 PE_HDF5_DEFAULT_FIXED_PRGENV=CRAY INTEL CRAY_PRGENVGNU=loaded PATH=/usr/common/usg/python/mercurial/2.7.1/bin:/opt/cray/hdf5-parallel/1.8.13/bin:/opt/cray/hdf5/1.8.13/bin:/usr/common/usg/cmake/2.8.11.2/bin:/opt/cray/atp/1.7.3/bin:/opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin:/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin:/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin:/opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin:/opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin:/opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin:/opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin:/opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin:/opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin:/opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin:/opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin:/opt/gcc/4.9.0/bin:/opt/cray/craype/2.1.2/bin:/global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/:/opt/moab/7.2.7/bin:/opt/moab/7.2.7/sbin:/opt/torque/4.2.7/sbin:/opt/torque/4.2.7/bin:/usr/syscom/nsg/sbin:/usr/syscom/nsg/bin:/opt/modules/3.2.6.7/bin:/global/homes/g/gbisht/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/opt/cray/bin PE_PETSC_DEFAULT_GENCOMPS_INTEL_sandybridge=140 PE_TRILINOS_DEFAULT_GENCOMPS_CRAY_haswell=83 PE_PETSC_DEFAULT_GENCOMPS_CRAY_interlagos=83 TERM=ansi CRAYPE_NETWORK_TARGET=aries CRAY_XPMEM_INCLUDE_OPTS=-I/opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/include PE_MPICH_DEFAULT_VOLATILE_PRGENV=CRAY GNU PE_NETCDF_DEFAULT_GENCOMPS_GNU=49 48 JAVA_HOME=/usr/lib64/jvm/java ALTD_WORKDIR=/scratch1/altd/logs CRAY_MPICH2_DIR=/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49 PE_TPSL_DEFAULT_REQUIRED_PRODUCTS=PE_MPICH:PE_LIBSCI PE_PARALLEL_NETCDF_DEFAULT_GENCOMPS_GNU=49 48 CRAY_DMAPP_POST_LINK_OPTS=-L/opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/lib64 CRAY_GNI_HEADERS_INCLUDE_OPTS=-I/opt/cray/gni-headers/3.0-1.0502.9038.7.4.ari/include CRAY_PRE_COMPILE_OPTS=-hnetwork=aries PE_HDF5_PARALLEL_FIXED_PRGENV=CRAY INTEL PE_TPSL_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL CRAY_SHMEM_BASEDIR=/opt/cray/mpt/7.0.0/gni MODULE_VERSION_STACK=3.2.6.7 PE_LIBSCI_OMP_REQUIRES_openmp=_mp INFODIR=/usr/local/info:/usr/share/info:/usr/info:/usr/local/info:/usr/share/info:/usr/info PE_CRAY_DEFAULT_FIXED_PKGCONFIG_PATH=/opt/cray/parallel-netcdf/1.4.1/CRAY/83/lib/pkgconfig:/opt/cray/hdf5/1.8.13/CRAY/83/lib/pkgconfig:/opt/cray/netcdf-hdf5parallel/4.3.2/CRAY/83/lib/pkgconfig:/opt/cray/ga/5.1.0.5/CRAY/83/lib/pkgconfig:/opt/cray/hdf5-parallel/1.8.13/CRAY/83/lib/pkgconfig:/opt/cray/netcdf/4.3.2/CRAY/83/lib/pkgconfig PE_NETCDF_HDF5PARALLEL_DEFAULT_VOLATILE_PRGENV=GNU PE_HDF5_PARALLEL_REQUIRED_PRODUCTS=PE_MPICH MPICH_DIR=/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49 PE_TRILINOS_DEFAULT_GENCOMPS_GNU_haswell=49 48 QT_HOME_DIR=/usr/share/desktop-data PE_HDF5_PARALLEL_VOLATILE_PRGENV=GNU CRAY_SITE_LIST_DIR=/etc/opt/cray/modules LESSKEY=/etc/lesskey.bin PE_HDF5_PARALLEL_DEFAULT_VOLATILE_PKGCONFIG_PATH=/opt/cray/hdf5-parallel/1.8.13/@PRGENV@/@PE_HDF5_PARALLEL_DEFAULT_GENCOMPS@/lib/pkgconfig PE_PETSC_DEFAULT_GENCOMPS_CRAY_haswell=83 MERCURIAL_HOME=/usr/common/usg/python/mercurial/2.7.1 GSCRATCH2=/global/scratch2/sd/gbisht PE_SMA_DIR_PGI_DEFAULT64=64 CRAY_UGNI_POST_LINK_OPTS=-L/opt/cray/ugni/5.0-1.0502.9037.7.26.ari/lib64 PE_LIBSCI_OMP_REQUIRES= PE_TRILINOS_DEFAULT_VOLATILE_PRGENV=CRAY GNU INTEL DISPLAY=edison05:10.0 PE_MPICH_FIXED_PRGENV=INTEL PE_GA_DEFAULT_VOLATILE_PRGENV=GNU PYTHONSTARTUP=/etc/pythonstart SCRATCH=/scratch2/scratchdirs/gbisht OLDPWD=/project/projectdirs/m1952/gbisht/petsc LOADEDMODULES=modules/3.2.6.7:nsg/1.2.0:eswrap/1.1.0-1.020200.1130.0:switch/1.0-1.0502.51632.2.84.ari:craype-network-aries:craype/2.1.2:craype-ivybridge:cray-shmem/7.0.0:cray-mpich/7.0.0:torque/4.2.7:moab/7.2.7-e7c070d1-b3-SUSE11:altd/1.0:darshan/2.3.0:usg-default-modules/1.1:gcc/4.9.0:cray-libsci/13.0.0:udreg/2.3.2-1.0502.8763.1.11.ari:ugni/5.0-1.0502.9037.7.26.ari:pmi/5.0.4-1.0000.10161.132.4.ari:dmapp/7.0.1-1.0502.9080.9.32.ari:gni-headers/3.0-1.0502.9038.7.4.ari:xpmem/0.1-2.0502.51169.1.11.ari:job/1.5.5-0.1_2.0502.52111.3.39.ari:csa/3.0.0-1_2.0502.51200.1.108.ari:alps/5.2.1-2.0502.8712.10.32.ari:rca/1.0.0-2.0502.51491.3.92.ari:atp/1.7.3:PrgEnv-gnu/5.2.25:cmake/2.8.11.2:cray-hdf5-parallel/1.8.13:mercurial/2.7.1 ALTD_SELECT_OFF_USERS= SHMEM_ABORT_ON_ERROR=1 CRAYPE_VERSION=2.1.2 CLICOLOR=1 VENDOR=suse PE_LIBSCI_GENCOMPS_GNU_x86_64=49 48 PWD=/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 PE_LIBSCI_GENCOMPS_GNU_haswell=49 48 PE_PAPI_DEFAULT_PKGCONFIG_VARIABLES=PE_PAPI_ACCEL_LIBS_@accelerator@ CRAY_UDREG_POST_LINK_OPTS=-L/opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/lib64 CRAY_LD_LIBRARY_PATH=/opt/cray/hdf5-parallel/1.8.13/GNU/49/lib:/opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/lib64:/opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/lib64:/opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/lib64:/opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/lib64:/opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/lib64:/opt/cray/ugni/5.0-1.0502.9037.7.26.ari/lib64:/opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/lib64:/opt/cray/libsci/13.0.0/GNU/49/sandybridge/lib:/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/lib:/opt/cray/mpt/7.0.0/gni/mpich2-intel/140/lib:/opt/cray/mpt/7.0.0/gni/sma/lib64:/opt/cray/mpt/7.0.0/gni/sma64/lib64:/opt/cray/libsci/13.0.0/INTEL/140/x86_64/lib XTOS_VERSION=5.2.25 SDK_HOME=/usr/lib64/jvm/java PRGENVMODULES=PrgEnv-cray:PrgEnv-gnu:PrgEnv-intel:PrgEnv-pathscale:PrgEnv-pgi ================================================================================ TEST resetEnvCompilers from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1522) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1522) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1487) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1487) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ================================================================================ TEST requireMpiLdPath from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1506) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1506) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:398) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:398) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:408) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:408) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Popping language Cxx Pushing language FC Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Popping language FC Initialized CPPFLAGS to Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:524) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:524) Locate a functional C compiler Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/cc...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/cc...not found Checking for program /opt/cray/hdf5/1.8.13/bin/cc...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/cc...not found Checking for program /opt/cray/atp/1.7.3/bin/cc...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/cc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/cc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/cc...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/cc...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/cc...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/cc...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/cc...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/cc...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/cc...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/cc...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/cc...not found Checking for program /opt/gcc/4.9.0/bin/cc...not found Checking for program /opt/cray/craype/2.1.2/bin/cc...found Defined make macro "CC" to "cc" Pushing language C All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8 All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:559) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:559) Locate a functional C preprocessor Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/cpp...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/cpp...not found Checking for program /opt/cray/hdf5/1.8.13/bin/cpp...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/cpp...not found Checking for program /opt/cray/atp/1.7.3/bin/cpp...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/cpp...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/cpp...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/cpp...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/cpp...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/cpp...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/cpp...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/cpp...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/cpp...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/cpp...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/cpp...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/cpp...not found Checking for program /opt/gcc/4.9.0/bin/cpp...found Defined make macro "CPP" to "cpp" Pushing language C Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 324 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef int wchar_t; # 34 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 530 "/usr/include/stdlib.h" 3 4 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 553 "/usr/include/stdlib.h" 3 4 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 707 "/usr/include/stdlib.h" 3 4 extern int system (__const char *__command) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) ; typedef int (*__compar_fn_t) (__const void *, __const void *); # 747 "/usr/include/stdlib.h" 3 4 extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 766 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 907 "/usr/include/stdlib.h" 3 4 extern int posix_openpt (int __oflag) ; # 942 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c" 2 Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:593) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:593) Locate a functional CUDA compiler Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/nvcc...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/nvcc...not found Checking for program /opt/cray/hdf5/1.8.13/bin/nvcc...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/nvcc...not found Checking for program /opt/cray/atp/1.7.3/bin/nvcc...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/nvcc...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/nvcc...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/nvcc...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/nvcc...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/nvcc...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/nvcc...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/nvcc...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/nvcc...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/nvcc...not found Checking for program /opt/gcc/4.9.0/bin/nvcc...not found Checking for program /opt/cray/craype/2.1.2/bin/nvcc...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/nvcc...not found Checking for program /opt/moab/7.2.7/bin/nvcc...not found Checking for program /opt/moab/7.2.7/sbin/nvcc...not found Checking for program /opt/torque/4.2.7/sbin/nvcc...not found Checking for program /opt/torque/4.2.7/bin/nvcc...not found Checking for program /usr/syscom/nsg/sbin/nvcc...not found Checking for program /usr/syscom/nsg/bin/nvcc...not found Checking for program /opt/modules/3.2.6.7/bin/nvcc...not found Checking for program /global/homes/g/gbisht/bin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/bin/X11/nvcc...not found Checking for program /usr/X11R6/bin/nvcc...not found Checking for program /usr/games/nvcc...not found Checking for program /usr/lib/mit/bin/nvcc...not found Checking for program /usr/lib/mit/sbin/nvcc...not found Checking for program /usr/lib/qt3/bin/nvcc...not found Checking for program /opt/cray/bin/nvcc...not found Checking for program /global/homes/g/gbisht/nvcc...not found Checking for program /project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/bin/win32fe/nvcc...not found Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/nvcc...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/nvcc...not found Checking for program /opt/cray/hdf5/1.8.13/bin/nvcc...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/nvcc...not found Checking for program /opt/cray/atp/1.7.3/bin/nvcc...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/nvcc...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/nvcc...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/nvcc...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/nvcc...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/nvcc...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/nvcc...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/nvcc...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/nvcc...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/nvcc...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/nvcc...not found Checking for program /opt/gcc/4.9.0/bin/nvcc...not found Checking for program /opt/cray/craype/2.1.2/bin/nvcc...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/nvcc...not found Checking for program /opt/moab/7.2.7/bin/nvcc...not found Checking for program /opt/moab/7.2.7/sbin/nvcc...not found Checking for program /opt/torque/4.2.7/sbin/nvcc...not found Checking for program /opt/torque/4.2.7/bin/nvcc...not found Checking for program /usr/syscom/nsg/sbin/nvcc...not found Checking for program /usr/syscom/nsg/bin/nvcc...not found Checking for program /opt/modules/3.2.6.7/bin/nvcc...not found Checking for program /global/homes/g/gbisht/bin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/bin/X11/nvcc...not found Checking for program /usr/X11R6/bin/nvcc...not found Checking for program /usr/games/nvcc...not found Checking for program /usr/lib/mit/bin/nvcc...not found Checking for program /usr/lib/mit/sbin/nvcc...not found Checking for program /usr/lib/qt3/bin/nvcc...not found Checking for program /opt/cray/bin/nvcc...not found Checking for program /global/homes/g/gbisht/nvcc...not found Checking for program /project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/bin/win32fe/nvcc...not found ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:631) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:631) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:743) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:743) Locate a functional Cxx compiler Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/CC...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/CC...not found Checking for program /opt/cray/hdf5/1.8.13/bin/CC...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/CC...not found Checking for program /opt/cray/atp/1.7.3/bin/CC...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/CC...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/CC...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/CC...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/CC...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/CC...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/CC...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/CC...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/CC...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/CC...not found Checking for program /opt/gcc/4.9.0/bin/CC...not found Checking for program /opt/cray/craype/2.1.2/bin/CC...found Defined make macro "CXX" to "CC" Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:781) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:781) Locate a functional Cxx preprocessor Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/CC...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/CC...not found Checking for program /opt/cray/hdf5/1.8.13/bin/CC...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/CC...not found Checking for program /opt/cray/atp/1.7.3/bin/CC...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/CC...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/CC...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/CC...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/CC...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/CC...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/CC...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/CC...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/CC...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/CC...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/CC...not found Checking for program /opt/gcc/4.9.0/bin/CC...not found Checking for program /opt/cray/craype/2.1.2/bin/CC...found Defined make macro "CXXCPP" to "CC -E" Pushing language Cxx Executing: CC -E -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc" 2 # 1 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 1 3 # 39 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 3 # 40 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 3 # 1 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/c++config.h" 1 3 # 186 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/c++config.h" 3 namespace std { typedef long unsigned int size_t; typedef long int ptrdiff_t; } # 430 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/c++config.h" 3 # 1 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/os_defines.h" 1 3 # 39 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/os_defines.h" 3 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 40 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/os_defines.h" 2 3 # 431 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/c++config.h" 2 3 # 1 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/cpu_defines.h" 1 3 # 434 "/opt/gcc/4.9.0/snos/include/g++/x86_64-suse-linux/bits/c++config.h" 2 3 # 42 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 2 3 # 72 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 33 "/usr/include/stdlib.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 34 "/usr/include/stdlib.h" 2 3 4 extern "C" { # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 43 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 65 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 66 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 44 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) throw () ; extern double atof (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw () __attribute__ ((__nonnull__ (1))) ; # 236 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 237 "/usr/include/stdlib.h" 2 3 4 extern long int strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; extern unsigned long int strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern long long int strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; __extension__ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))) ; extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; extern float strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) throw () ; extern long int a64l (__const char *__s) throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 extern "C" { # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 58 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 220 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 # 55 "/usr/include/sys/select.h" 3 4 typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 extern "C" { # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); } # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) throw (); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) throw (); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw (); # 224 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 262 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 } # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) throw (); extern void srandom (unsigned int __seed) throw (); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) throw () __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) throw (); extern void srand (unsigned int __seed) throw (); extern int rand_r (unsigned int *__seed) throw (); extern double drand48 (void) throw (); extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) throw (); extern long int nrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) throw (); extern long int jrand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) throw (); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) throw () __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) throw () __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) throw (); extern void cfree (void *__ptr) throw (); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern "C" { extern void *alloca (size_t __size) throw (); } # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) throw () __attribute__ ((__nonnull__ (1))) ; extern void abort (void) throw () __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); extern "C++" int at_quick_exit (void (*__func) (void)) throw () __asm ("at_quick_exit") __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) throw () __attribute__ ((__nonnull__ (1))); extern void exit (int __status) throw () __attribute__ ((__noreturn__)); extern void quick_exit (int __status) throw () __attribute__ ((__noreturn__)); extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) throw () __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) throw (); extern int clearenv (void) throw (); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 625 "/usr/include/stdlib.h" 3 4 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 647 "/usr/include/stdlib.h" 3 4 extern int mkstemps64 (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ; # 669 "/usr/include/stdlib.h" 3 4 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 679 "/usr/include/stdlib.h" 3 4 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) ; # 689 "/usr/include/stdlib.h" 3 4 extern int mkostemps (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; # 701 "/usr/include/stdlib.h" 3 4 extern int mkostemps64 (char *__template, int __suffixlen, int __flags) __attribute__ ((__nonnull__ (1))) ; extern int system (__const char *__command) ; extern char *canonicalize_file_name (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) throw () ; typedef int (*__compar_fn_t) (__const void *, __const void *); typedef __compar_fn_t comparison_fn_t; typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *); extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); extern void qsort_r (void *__base, size_t __nmemb, size_t __size, __compar_d_fn_t __compar, void *__arg) __attribute__ ((__nonnull__ (1, 4))); extern int abs (int __x) throw () __attribute__ ((__const__)) ; extern long int labs (long int __x) throw () __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) throw () __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) throw () __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) throw () __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) throw () __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) throw () __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) throw () ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) throw () ; extern int wctomb (char *__s, wchar_t __wchar) throw () ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) throw (); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) throw (); extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ; # 890 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *__const *__restrict __tokens, char **__restrict __valuep) throw () __attribute__ ((__nonnull__ (1, 2, 3))) ; extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1))); extern int posix_openpt (int __oflag) ; extern int grantpt (int __fd) throw (); extern int unlockpt (int __fd) throw (); extern char *ptsname (int __fd) throw () ; extern int ptsname_r (int __fd, char *__buf, size_t __buflen) throw () __attribute__ ((__nonnull__ (2))); extern int getpt (void); extern int getloadavg (double __loadavg[], int __nelem) throw () __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 } # 73 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 2 3 # 114 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 3 namespace std __attribute__ ((__visibility__ ("default"))) { using ::div_t; using ::ldiv_t; using ::abort; using ::abs; using ::atexit; using ::atof; using ::atoi; using ::atol; using ::bsearch; using ::calloc; using ::div; using ::exit; using ::free; using ::getenv; using ::labs; using ::ldiv; using ::malloc; using ::mblen; using ::mbstowcs; using ::mbtowc; using ::qsort; using ::rand; using ::realloc; using ::srand; using ::strtod; using ::strtol; using ::strtoul; using ::system; using ::wcstombs; using ::wctomb; inline long abs(long __i) { return __builtin_labs(__i); } inline ldiv_t div(long __i, long __j) { return ldiv(__i, __j); } inline long long abs(long long __x) { return __builtin_llabs (__x); } inline __int128 abs(__int128 __x) { return __x >= 0 ? __x : -__x; } } # 196 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 3 namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { using ::lldiv_t; using ::_Exit; using ::llabs; inline lldiv_t div(long long __n, long long __d) { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } using ::lldiv; # 228 "/opt/gcc/4.9.0/snos/include/g++/cstdlib" 3 using ::atoll; using ::strtoll; using ::strtoull; using ::strtof; using ::strtold; } namespace std { using ::__gnu_cxx::lldiv_t; using ::__gnu_cxx::_Exit; using ::__gnu_cxx::llabs; using ::__gnu_cxx::div; using ::__gnu_cxx::lldiv; using ::__gnu_cxx::atoll; using ::__gnu_cxx::strtof; using ::__gnu_cxx::strtoll; using ::__gnu_cxx::strtoull; using ::__gnu_cxx::strtold; } # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc" 2 Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:898) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:898) Locate a functional Fortran compiler Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/ftn...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/ftn...not found Checking for program /opt/cray/hdf5/1.8.13/bin/ftn...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/ftn...not found Checking for program /opt/cray/atp/1.7.3/bin/ftn...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/ftn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/ftn...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/ftn...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/ftn...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/ftn...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/ftn...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/ftn...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/ftn...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/ftn...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/ftn...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/ftn...not found Checking for program /opt/gcc/4.9.0/bin/ftn...not found Checking for program /opt/cray/craype/2.1.2/bin/ftn...found Defined make macro "FC" to "ftn" Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:917) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:917) Make sure fortran comment "!" works Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkPIC from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:980) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:980) Determine the PIC option for each compiler - There needs to be a test that checks that the functionality is actually working Skip checking PIC options on user request ================================================================================ TEST checkLargeFileIO from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1013) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1013) ================================================================================ TEST checkArchiver from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1112) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1112) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/ar...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/ar...not found Checking for program /opt/cray/hdf5/1.8.13/bin/ar...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/ar...not found Checking for program /opt/cray/atp/1.7.3/bin/ar...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/ar...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/ar...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/ar...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/ar...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/ar...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/ar...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/ar...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/ar...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/ar...not found Checking for program /opt/gcc/4.9.0/bin/ar...not found Checking for program /opt/cray/craype/2.1.2/bin/ar...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/ar...not found Checking for program /opt/moab/7.2.7/bin/ar...not found Checking for program /opt/moab/7.2.7/sbin/ar...not found Checking for program /opt/torque/4.2.7/sbin/ar...not found Checking for program /opt/torque/4.2.7/bin/ar...not found Checking for program /usr/syscom/nsg/sbin/ar...not found Checking for program /usr/syscom/nsg/bin/ar...not found Checking for program /opt/modules/3.2.6.7/bin/ar...not found Checking for program /global/homes/g/gbisht/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/ranlib...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/ranlib...not found Checking for program /opt/cray/hdf5/1.8.13/bin/ranlib...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/ranlib...not found Checking for program /opt/cray/atp/1.7.3/bin/ranlib...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/ranlib...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/ranlib...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/ranlib...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/ranlib...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/ranlib...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/ranlib...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/ranlib...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/ranlib...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/ranlib...not found Checking for program /opt/gcc/4.9.0/bin/ranlib...not found Checking for program /opt/cray/craype/2.1.2/bin/ranlib...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/ranlib...not found Checking for program /opt/moab/7.2.7/bin/ranlib...not found Checking for program /opt/moab/7.2.7/sbin/ranlib...not found Checking for program /opt/torque/4.2.7/sbin/ranlib...not found Checking for program /opt/torque/4.2.7/bin/ranlib...not found Checking for program /usr/syscom/nsg/sbin/ranlib...not found Checking for program /usr/syscom/nsg/bin/ranlib...not found Checking for program /opt/modules/3.2.6.7/bin/ranlib...not found Checking for program /global/homes/g/gbisht/bin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib -c" Executing: /usr/bin/ar cr /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconf1.a /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conf1.o Executing: /usr/bin/ranlib -c /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconf1.a Possible ERROR while running ranlib: stderr: /usr/bin/ranlib: invalid option -- 'c' Ranlib is not functional with your archiver. Try --with-ranlib=true if ranlib is unnecessary. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Executing: ar -V stdout: GNU ar (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 Copyright 2012 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/ar...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/ar...not found Checking for program /opt/cray/hdf5/1.8.13/bin/ar...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/ar...not found Checking for program /opt/cray/atp/1.7.3/bin/ar...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/ar...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/ar...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/ar...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/ar...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/ar...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/ar...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/ar...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/ar...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/ar...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/ar...not found Checking for program /opt/gcc/4.9.0/bin/ar...not found Checking for program /opt/cray/craype/2.1.2/bin/ar...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/ar...not found Checking for program /opt/moab/7.2.7/bin/ar...not found Checking for program /opt/moab/7.2.7/sbin/ar...not found Checking for program /opt/torque/4.2.7/sbin/ar...not found Checking for program /opt/torque/4.2.7/bin/ar...not found Checking for program /usr/syscom/nsg/sbin/ar...not found Checking for program /usr/syscom/nsg/bin/ar...not found Checking for program /opt/modules/3.2.6.7/bin/ar...not found Checking for program /global/homes/g/gbisht/bin/ar...not found Checking for program /usr/local/bin/ar...not found Checking for program /usr/bin/ar...found Defined make macro "AR" to "/usr/bin/ar" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/ranlib...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/ranlib...not found Checking for program /opt/cray/hdf5/1.8.13/bin/ranlib...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/ranlib...not found Checking for program /opt/cray/atp/1.7.3/bin/ranlib...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/ranlib...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/ranlib...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/ranlib...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/ranlib...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/ranlib...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/ranlib...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/ranlib...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/ranlib...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/ranlib...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/ranlib...not found Checking for program /opt/gcc/4.9.0/bin/ranlib...not found Checking for program /opt/cray/craype/2.1.2/bin/ranlib...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/ranlib...not found Checking for program /opt/moab/7.2.7/bin/ranlib...not found Checking for program /opt/moab/7.2.7/sbin/ranlib...not found Checking for program /opt/torque/4.2.7/sbin/ranlib...not found Checking for program /opt/torque/4.2.7/bin/ranlib...not found Checking for program /usr/syscom/nsg/sbin/ranlib...not found Checking for program /usr/syscom/nsg/bin/ranlib...not found Checking for program /opt/modules/3.2.6.7/bin/ranlib...not found Checking for program /global/homes/g/gbisht/bin/ranlib...not found Checking for program /usr/local/bin/ranlib...not found Checking for program /usr/bin/ranlib...found Defined make macro "RANLIB" to "/usr/bin/ranlib" Executing: /usr/bin/ar cr /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconf1.a /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conf1.o Executing: /usr/bin/ranlib /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconf1.a Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -L/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1223) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1223) Check that the linker can produce shared libraries Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Checking shared linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "LD_SHARED" to "/usr/bin/ar" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Executing: /usr/bin/ar cr /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconftest.a /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o ; /usr/bin/ranlib /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconftest.a Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if(ret);; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -L/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -lconftest Using shared linker /usr/bin/ar with flags [] and library extension a Executing: uname -s stdout: Linux ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1301) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1301) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C Executing: uname -s stdout: Linux Executing: cc -V Trying C linker flag -Wl,-rpath, Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest -Wl,-rpath,/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Valid C linker flag -Wl,-rpath,/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 Popping language C Pushing language Cxx Executing: uname -s stdout: Linux Executing: cc -V Trying Cxx linker flag -Wl,-rpath, Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest -Wl,-rpath,/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-rpath,/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 Popping language Cxx Pushing language FC Executing: uname -s stdout: Linux Executing: cc -V Trying FC linker flag -Wl,-rpath, Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest -Wl,-rpath,/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o Valid FC linker flag -Wl,-rpath,/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5 Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1336) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1336) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking ================================================================================ TEST checkDynamicLinker from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1385) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1385) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 23 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/dlfcn.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 26 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/bits/dlfcn.h" 1 3 4 # 29 "/usr/include/dlfcn.h" 2 3 4 # 53 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (__const char *__file, int __mode) __attribute__ ((__nothrow__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, __const char *__restrict __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 83 "/usr/include/dlfcn.h" 3 4 extern char *dlerror (void) __attribute__ ((__nothrow__)); # 189 "/usr/include/dlfcn.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Pushing language C All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o: In function `_check_dlopen': conftest.c:(.text+0xa): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Linux Checking dynamic linker /usr/bin/ar using flags [] Checking for program /usr/bin/ar...found Defined make macro "DYNAMICLINKER" to "/usr/bin/ar" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: /usr/bin/ar -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconftest.so /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -ldl Possible ERROR while running linker: stderr: /usr/bin/ar: creating /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconftest.so Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c: In function 'main': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c:11:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Could not load symbol\n"); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c:15:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Invalid return from foo()\n"); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c:19:3: warning: incompatible implicit declaration of built-in function 'printf' printf("Could not close library\n"); ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/libconftest.so", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o: In function `main': conftest.c:(.text+0x13): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Using dynamic linker /usr/bin/ar with flags [] and library extension so ================================================================================ TEST output from config.setCompilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/setCompilers.py:1431) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1431) Output module data as defines and substitutions Substituting "CC" with "cc" Substituting "CFLAGS" with "" Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "CPP" with "cpp" Substituting "CPPFLAGS" with "" Substituting "CXX" with "CC" Substituting "CXX_CXXFLAGS" with "" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath," Substituting "CXXCPP" with "CC -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "ftn" Substituting "FFLAGS" with "" Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath," Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "" Executing: uname -s stdout: Linux ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/sharedLibraries.py:53) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:53) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "" and code [] Defined make macro "BUILDSHAREDLIB" to "no" Defined "HAVE_SHARED_LIBRARIES" to "1" Shared libraries - disabled ================================================================================ TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/sharedLibraries.py:96) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:96) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureSerializedFunctions from PETSc.utilities.sharedLibraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/sharedLibraries.py:102) TESTING: configureSerializedFunctions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:102) Defines PETSC_SERIALIZE_FUNCTIONS if they are used Requires shared libraries ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilerFlags.py:71) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:71) Get the default compiler flags Pushing language C Executing: cc --version stdout: gcc (GCC) 4.9.0 20140422 (Cray Inc.) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: cc gcc (GCC) 4.9.0 20140422 (Cray Inc.) Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: cc --help stdout: Usage: cc [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Trying C compiler flag "-O3 -msse3 -fPIC" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers "-O3 -msse3 -fPIC" /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Rejecting compiler flag "-O3 -msse3 -fPIC" due to nonzero status from link Rejecting compiler flag "-O3 -msse3 -fPIC" due to cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' PETSc Error: No output file produced Rejected C compiler flag "-O3 -msse3 -fPIC" Popping language C Pushing language Cxx Executing: CC --version stdout: g++ (GCC) 4.9.0 20140422 (Cray Inc.) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. getCompilerVersion: CC g++ (GCC) 4.9.0 20140422 (Cray Inc.) Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: CC --help stdout: Usage: CC [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Trying Cxx compiler flag -O Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -O Popping language Cxx Pushing language FC Executing: ftn --version stdout: GNU Fortran (GCC) 4.9.0 20140422 (Cray Inc.) Copyright (C) 2014 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING getCompilerVersion: ftn GNU Fortran (GCC) 4.9.0 20140422 (Cray Inc.) Executing: ftn --help stdout: Usage: ftn [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Executing: ftn --help stdout: Usage: ftn [options] file... Options: -[no]-add-rpath Controls whether or not '-Wl,-rpath' options are added for all pkg-config generated '-L' options. This can be useful to 'lock in' specific versions of libraries at runtime for dynamically linked applications. (Off by default) -[no-]as-needed Controls whether or not '-l' options provided by the driver will be wrapped with '-Wl,--as-needed' and '-Wl,--no-as-needed' when possible to minimize unnecessary dependencies when linking dynamically. (On by default). --cray-bypass-pkgconfig Disable linking PE libraries via pkg-config. --cray-print-opts[=option] Print the results generated by pkg-config. options: all print include and library information. cflags print include information. libs print library information. pkg_config_path print PKG_CONFIG_PATH used. -craype-verbose Print the command which is forwarded to compiler invocation. -default64 PGI: Passes the -i8 and -r8 options to the compiler. The -i8 option directs the compiler to use 64 bits for the data sizeof default integer and logical operations. The -r8 option directs the compiler to use 64 bits for the data size of default real variables. CCE:Passes the -sdefault64 option to the compiler. For CCE, the ftn command will also recognize the -sdefault64 option and perform the same functionality as the -default64 option. The -default64 option also arranges that appropriate 64-bit versions of the MPI & SHMEM libraries are used. -dynamic Directs the compiler driver to link dynamic libraries at runtime, rather than linking static libraries in at compile time. The linker stores the internal name of the dynamic library in the executable file. The actual library that is loaded at runtime must have the same internal name but, may differ from the filename of the library found at link time. This option is used to create dynamically linked executable files and may not be used with the -static or -shared options. -help Print a description of the options understood by the craype driver. -shared Creates a library which may be dynamically linked at runtime. -static Directs the linker to use the static version of the libraries, not the dynamic version of the libraries, to create an executable file. (This is the default.) -target-accel=[ACCELERATOR] Set the desired accelerator target. -target-cpu=[CPU] Set the desired cpu optimization. The appropriate optimization flag will be passed to the compiler, and matching libraries will be linked in. -target-network=[NETWORK] Set the desired network target. OpenMP support: -homp Enables OpenMP and links in OpenMP libraries when possible using CCE. (This is the default.) -hnoomp Disables OpenMP and links in non-OpenMP libraries when using CCE. -fopenmp Enables OpenMP and links in OpenMP libraries when possible using GNU. -openmp Enables OpenMP and links in OpenMP libraries when possible when using Intel. -mp Enables OpenMP and links in OpenMP libraries when possible using PGI. -Mnoopenmp Disables OpenMP and links in non-OpenMP libraries when using PGI. Trying FC compiler flag "-O3 -msse3 -fPIC" Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers "-O3 -msse3 -fPIC" /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: f951: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' Source: program main end Rejecting compiler flag "-O3 -msse3 -fPIC" due to nonzero status from link Rejecting compiler flag "-O3 -msse3 -fPIC" due to f951: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' PETSc Error: No output file produced Rejected FC compiler flag "-O3 -msse3 -fPIC" Popping language FC ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/debugging.py:25) TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" =============================================================================== WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should be done when configured using --with-debugging=1 =============================================================================== ================================================================================ TEST checkRestrict from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language C All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c: In function 'main': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c:5:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x' float * restrict x;; ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c:5:18: error: 'x' undeclared (first use in this function) /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c:5:18: note: each undeclared identifier is reported only once for each function it appears in Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict__ x;; return 0; } compilers: Set C restrict keyword to __restrict__ Defined "C_RESTRICT" to " __restrict__" Popping language C ================================================================================ TEST checkCFormatting from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:309) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:309) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:107) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:107) Check for C keyword: static inline Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C StaticInline keyword to static inline Popping language C Defined "C_STATIC_INLINE" to "static inline" ================================================================================ TEST checkDynamicLoadFlag from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:320) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:320) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x14): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_LAZY" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x14): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_NOW" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x14): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_LOCAL" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o: In function `main': conftest.c:(.text+0x14): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1327) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1327) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD -MP Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -MMD -MP /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "C_DEPFLAGS" to "-MMD -MP" Popping language C Pushing language Cxx Trying Cxx compiler flag -MMD -MP Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -O -MMD -MP /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Popping language Cxx Pushing language FC Trying FC compiler flag -MMD -MP Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -MMD -MP /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main end Defined make macro "FC_DEPFLAGS" to "-MMD -MP" Popping language FC ================================================================================ TEST checkRestrict from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc: In function 'int main()': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc:5:18: error: expected initializer before 'x' float * restrict x;; ^ Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict__ x;; return 0; } compilers: Set Cxx restrict keyword to __restrict__ Defined "CXX_RESTRICT" to " __restrict__" Popping language Cxx ================================================================================ TEST checkCxxNamespace from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:358) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:358) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" template struct a {}; namespace trouble{ template struct a : public ::a {}; } trouble::a uugh; int main() { ; return 0; } Popping language Cxx compilers: C++ has namespaces Defined "HAVE_CXX_NAMESPACE" to "1" ================================================================================ TEST checkCxxOptionalExtensions from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:333) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:333) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Added Cxx compiler flag Popping language Cxx ================================================================================ TEST checkCxxStaticInline from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:121) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:121) Check for C++ keyword: static inline Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxx11 from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:373) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:373) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: In file included from /opt/gcc/4.9.0/snos/include/g++/random:35:0, from /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:4: /opt/gcc/4.9.0/snos/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:5:32: error: 'constexpr' does not name a type template constexpr T Cubed( T x ) { return x*x*x; } ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:5:32: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc: In function 'int main()': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:10:11: error: 'random_device' is not a member of 'std' std::random_device rd; ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:11:11: error: 'mt19937' is not a member of 'std' std::mt19937 mt(rd()); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:12:11: error: 'normal_distribution' is not a member of 'std' std::normal_distribution dist(0,1); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:12:36: error: expected primary-expression before 'double' std::normal_distribution dist(0,1); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:13:33: error: 'mt' was not declared in this scope const double x = dist(mt); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:13:35: error: 'dist' was not declared in this scope const double x = dist(mt); ^ Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to In file included from /opt/gcc/4.9.0/snos/include/g++/random:35:0, from /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:4: /opt/gcc/4.9.0/snos/include/g++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. #error This file requires compiler and library support for the \ ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:5:32: error: 'constexpr' does not name a type template constexpr T Cubed( T x ) { return x*x*x; } ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:5:32: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11 /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc: In function 'int main()': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:10:11: error: 'random_device' is not a member of 'std' std::random_device rd; ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:11:11: error: 'mt19937' is not a member of 'std' std::mt19937 mt(rd()); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:12:11: error: 'normal_distribution' is not a member of 'std' std::normal_distribution dist(0,1); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:12:36: error: expected primary-expression before 'double' std::normal_distribution dist(0,1); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:13:33: error: 'mt' was not declared in this scope const double x = dist(mt); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.cc:13:35: error: 'dist' was not declared in this scope const double x = dist(mt); ^ PETSc Error: No output file produced Popping language Cxx ================================================================================ TEST checkFortranTypeSizes from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:571) TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:571) Check whether real*8 is supported and suggest flags which will allow support Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main real*8 variable end Popping language FC ================================================================================ TEST checkFortranNameMangling from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:630) TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:630) Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL Testing Fortran mangling type underscore with code void d1chk_(void){return;} Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1chk_(void){return;} Popping language C Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confc.o -ldl Popping language FC compilers: Fortran name mangling is underscore Defined "HAVE_FORTRAN_UNDERSCORE" to "1" ================================================================================ TEST checkFortranNameManglingDouble from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:667) TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:667) Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void d1_chk__(void){return;} Popping language C Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main call d1_chk() end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confc.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o: In function `MAIN__': conftest.F:(.text+0xa): undefined reference to `d1_chk_' collect2: error: ld returned 1 exit status Popping language FC ================================================================================ TEST checkFortranPreprocessor from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:677) TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:677) Determine if Fortran handles preprocessing properly Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef dummy fooey #endif end Added FC compiler flag Popping language FC compilers: Fortran uses CPP preprocessor ================================================================================ TEST checkFortranDefineCompilerOption from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:698) TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:698) Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -DTesting /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers/conftest.F Successful compile: Source: program main #define dummy dummy #ifndef Testing fooey #endif end Defined make macro "FC_DEFINE_FLAG" to "-D" Popping language FC compilers: Fortran uses -D for defining macro ================================================================================ TEST checkFortranLinkingCxx from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1061) TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1061) Check that Fortran can be linked against C++ Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void foo(void){d1chk_();} Popping language Cxx Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" extern "C" void d1chk_(void); void d1chk_(void){return;} Popping language Cxx Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main call d1chk() end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/cxxobj.o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confc.o -ldl Popping language FC compilers: Fortran can link C++ functions ================================================================================ TEST checkFortran90 from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1096) TESTING: checkFortran90 from config.compilers(config/BuildSystem/config/compilers.py:1096) Determine whether the Fortran compiler handles F90 Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8) INTEGER (KIND=int) :: ierr ierr = 1 end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -ldl Defined "USING_F90" to "1" Fortran compiler supports F90 Popping language FC ================================================================================ TEST checkFortran2003 from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1109) TESTING: checkFortran2003 from config.compilers(config/BuildSystem/config/compilers.py:1109) Determine whether the Fortran compiler handles F2003 Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main use,intrinsic :: iso_c_binding Type(C_Ptr),Dimension(:),Pointer :: CArray character(kind=c_char),pointer :: nullc => null() character(kind=c_char,len=5),dimension(:),pointer::list1 allocate(list1(5)) CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/) end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -ldl Defined "USING_F2003" to "1" Fortran compiler supports F2003 Popping language FC ================================================================================ TEST checkFortran90Array from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1129) TESTING: checkFortran90Array from config.compilers(config/BuildSystem/config/compilers.py:1129) Check for F90 array interfaces Executing: uname -s stdout: Linux Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include void f90arraytest_(void* a1, void* a2,void* a3, void* i) { printf("arrays [%p %p %p]\n",a1,a2,a3); fflush(stdout); return; } void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3) { printf("arrays [%p %p %p]\n",a1,a2,a3); if ((p1 == p3) && (p1 != p2)) { printf("pointers match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); } else { printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2); fflush(stdout); abort(); } return; } Popping language C Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main Interface Subroutine f90ptrtest(p1,p2,p3,i) integer, pointer :: p1(:,:) integer, pointer :: p2(:,:) integer, pointer :: p3(:,:) integer i End Subroutine End Interface integer, pointer :: ptr1(:,:),ptr2(:,:) integer, target :: array(6:8,9:21) integer in in = 25 ptr1 => array ptr2 => array call f90arraytest(ptr1,ptr2,ptr1,in) call f90ptrtest(ptr1,ptr2,ptr1,in) end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/fooobj.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest stdout: arrays [0x7fffffff8030 0x7fffffff8030 0x7fffffff8030] arrays [0x7fffffff7fe0 0x7fffffff7f90 0x7fffffff7fe0] pointers do not match! [0xffffffff 0x7fffffff8030] [0x9781c0] ERROR while running executable: Could not execute "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest": arrays [0x7fffffff8030 0x7fffffff8030 0x7fffffff8030] arrays [0x7fffffff7fe0 0x7fffffff7f90 0x7fffffff7fe0] pointers do not match! [0xffffffff 0x7fffffff8030] [0x9781c0] Program received signal SIGABRT: Process abort signal. Backtrace for this error: #0 0x40DE0D in _gfortrani_backtrace at backtrace.c:258 #1 0x406CD0 in _gfortrani_backtrace_handler at compile_options.c:129 #2 0x405E4F in __pause_nocancel #3 0x44BF2B in raise at pt-raise.c:42 #4 0x5FEA80 in abort at abort.c:92 #5 0x401480 in f90ptrtest_ #6 0x401333 in MAIN__ at conftest.F:? Popping language FC compilers: F90 uses a single argument for array pointers ================================================================================ TEST checkFortranModuleInclude from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1216) TESTING: checkFortranModuleInclude from config.compilers(config/BuildSystem/config/compilers.py:1216) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: program main use configtest write(*,*) testint end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/configtest.o -ldl compilers: Fortran module include flag -I found Popping language FC ================================================================================ TEST checkFortranModuleOutput from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1282) TESTING: checkFortranModuleOutput from config.compilers(config/BuildSystem/config/compilers.py:1282) Figures out what flag is used to specify the include path for Fortran modules Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -module /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option '-module' Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module compile failed Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -module:/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option '-module:/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir' Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -module: compile failed Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -fmod=/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Possible ERROR while running compiler: exit code 256 stderr: gfortran: error: unrecognized command line option '-fmod=/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir' Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -fmod= compile failed Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -J/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/confdir /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers/conftest.F Successful compile: Source: module configtest integer testint parameter (testint = 42) end module configtest compilers: Fortran module output flag -J found Popping language FC ================================================================================ TEST setupFrameworkCompilers from config.compilers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/compilers.py:1413) TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1413) ================================================================================ TEST configureFortranCPP from PETSc.utilities.fortranCPP(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/fortranCPP.py:27) TESTING: configureFortranCPP from PETSc.utilities.fortranCPP(config/PETSc/utilities/fortranCPP.py:27) Handle case where Fortran cannot preprocess properly Defined make rule ".f.o .f90.o .f95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} -o $@ $<'] Defined make rule ".f.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] Defined make rule ".F.o .F90.o .F95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} -o $@ $<'] Defined make rule ".F.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o'] ================================================================================ TEST checkStdC from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:105) TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:105) Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include #include int main() { ; return 0; } Source: #include "confdefs.h" #include "conffix.h" #include Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 94 "/usr/include/string.h" 3 4 extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 125 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 162 "/usr/include/string.h" 2 3 4 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 208 "/usr/include/string.h" 3 4 # 233 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 260 "/usr/include/string.h" 3 4 extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 279 "/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 312 "/usr/include/string.h" 3 4 extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 340 "/usr/include/string.h" 3 4 extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 395 "/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (__const char *__string, size_t __maxlen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 425 "/usr/include/string.h" 3 4 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 443 "/usr/include/string.h" 3 4 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 487 "/usr/include/string.h" 3 4 extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 515 "/usr/include/string.h" 3 4 extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 534 "/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 557 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 644 "/usr/include/string.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Source: #include "confdefs.h" #include "conffix.h" #include Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 324 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef int wchar_t; # 34 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 530 "/usr/include/stdlib.h" 3 4 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 553 "/usr/include/stdlib.h" 3 4 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 707 "/usr/include/stdlib.h" 3 4 extern int system (__const char *__command) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) ; typedef int (*__compar_fn_t) (__const void *, __const void *); # 747 "/usr/include/stdlib.h" 3 4 extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 766 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 907 "/usr/include/stdlib.h" 3 4 extern int posix_openpt (int __oflag) ; # 942 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main() { int i; for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2); exit(0); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest Defined "STDC_HEADERS" to "1" ================================================================================ TEST checkStat from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:138) TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:138) Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are Source: #include "confdefs.h" #include "conffix.h" #include #include #if defined(S_ISBLK) && defined(S_IFDIR) # if S_ISBLK (S_IFDIR) You lose. # endif #endif #if defined(S_ISBLK) && defined(S_IFCHR) # if S_ISBLK (S_IFCHR) You lose. # endif #endif #if defined(S_ISLNK) && defined(S_IFREG) # if S_ISLNK (S_IFREG) You lose. # endif #endif #if defined(S_ISSOCK) && defined(S_IFREG) # if S_ISSOCK (S_IFREG) You lose. # endif #endif Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 5 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/stat.h" 1 3 4 # 39 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 40 "/usr/include/sys/stat.h" 2 3 4 # 105 "/usr/include/sys/stat.h" 3 4 # 1 "/usr/include/bits/stat.h" 1 3 4 # 43 "/usr/include/bits/stat.h" 3 4 struct stat { __dev_t st_dev; __ino_t st_ino; __nlink_t st_nlink; __mode_t st_mode; __uid_t st_uid; __gid_t st_gid; int __pad0; __dev_t st_rdev; __off_t st_size; __blksize_t st_blksize; __blkcnt_t st_blocks; # 88 "/usr/include/bits/stat.h" 3 4 struct timespec st_atim; struct timespec st_mtim; struct timespec st_ctim; # 103 "/usr/include/bits/stat.h" 3 4 long int __unused[3]; # 112 "/usr/include/bits/stat.h" 3 4 }; # 108 "/usr/include/sys/stat.h" 2 3 4 # 209 "/usr/include/sys/stat.h" 3 4 extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 238 "/usr/include/sys/stat.h" 3 4 extern int fstatat (int __fd, __const char *__restrict __file, struct stat *__restrict __buf, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 263 "/usr/include/sys/stat.h" 3 4 extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 284 "/usr/include/sys/stat.h" 3 4 extern int chmod (__const char *__file, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int lchmod (__const char *__file, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__)); extern int fchmodat (int __fd, __const char *__file, __mode_t __mode, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ; extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__)); # 321 "/usr/include/sys/stat.h" 3 4 extern int mkdir (__const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mkdirat (int __fd, __const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int mkfifo (__const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int utimensat (int __fd, __const char *__path, __const struct timespec __times[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__)); # 399 "/usr/include/sys/stat.h" 3 4 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int __fxstatat (int __ver, int __fildes, __const char *__filename, struct stat *__stat_buf, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))); # 442 "/usr/include/sys/stat.h" 3 4 extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int __xmknodat (int __ver, int __fd, __const char *__path, __mode_t __mode, __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5))); # 534 "/usr/include/sys/stat.h" 3 4 # 6 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 ================================================================================ TEST checkSysWait from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:173) TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:173) Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifndef WEXITSTATUS #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main() { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST checkTime from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:195) TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:195) Checks if you can safely include both and , and if so defines TIME_WITH_SYS_TIME Checking for header: time.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/time.h" 1 3 4 # 28 "/usr/include/time.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 29 "/usr/include/time.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 39 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 43 "/usr/include/time.h" 2 3 4 # 56 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 57 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); # 215 "/usr/include/time.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 216 "/usr/include/time.h" 2 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__)); # 230 "/usr/include/time.h" 3 4 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 313 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 328 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 417 "/usr/include/time.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_TIME_H" to "1" Checking for header: sys/time.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/time.h" 1 3 4 # 23 "/usr/include/sys/time.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 26 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 28 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 30 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 32 "/usr/include/sys/time.h" 2 3 4 # 57 "/usr/include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 73 "/usr/include/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (__const struct timeval *__tv, __const struct timezone *__tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int adjtime (__const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__)); extern int setitimer (__itimer_which_t __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); # 191 "/usr/include/sys/time.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_TIME_H" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #include int main() { struct tm *tp = 0; if (tp); ; return 0; } Defined "TIME_WITH_SYS_TIME" to "1" ================================================================================ TEST checkMath from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:203) TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203) Checks for the math headers and defines Checking for header: math.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/math.h" 1 3 4 # 28 "/usr/include/math.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 29 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_val.h" 1 3 4 # 35 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_valf.h" 1 3 4 # 37 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/huge_vall.h" 1 3 4 # 38 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/inf.h" 1 3 4 # 41 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/nan.h" 1 3 4 # 44 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathdef.h" 1 3 4 # 26 "/usr/include/bits/mathdef.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 27 "/usr/include/bits/mathdef.h" 2 3 4 typedef float float_t; typedef double double_t; # 48 "/usr/include/math.h" 2 3 4 # 71 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__)); extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__)); extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__)); extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__)); extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__)); extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__)); extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__)); extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__)); # 87 "/usr/include/bits/mathcalls.h" 3 4 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__)); extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__)); extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__)); extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__)); extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); # 127 "/usr/include/bits/mathcalls.h" 3 4 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__)); extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__)); extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__)); extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__)); extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__)); extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__)); extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__)); extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__)); extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__)); extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__)); extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__)); extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__)); extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__)); extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__)); extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__)); extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__)); extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__)); extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__)); extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__)); extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__)); extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern int __fpclassify (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__)); # 72 "/usr/include/math.h" 2 3 4 # 94 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__)); extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__)); extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__)); extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__)); extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__)); extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__)); extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__)); extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__)); # 87 "/usr/include/bits/mathcalls.h" 3 4 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__)); extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__)); extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__)); extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__)); extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); # 127 "/usr/include/bits/mathcalls.h" 3 4 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__)); extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__)); extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__)); extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__)); extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__)); extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__)); extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__)); extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__)); extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__)); extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__)); extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__)); extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__)); extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__)); extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__)); extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__)); extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__)); extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__)); extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__)); extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__)); # 95 "/usr/include/math.h" 2 3 4 # 141 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__)); # 87 "/usr/include/bits/mathcalls.h" 3 4 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); # 127 "/usr/include/bits/mathcalls.h" 3 4 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__)); extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nanl (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__)); extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__)); extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__)); extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__)); extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__)); extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__)); extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__)); extern long double tgammal (long double) __attribute__ ((__nothrow__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__)); extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__)); extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int llrintl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int llroundl (long double __x) __attribute__ ((__nothrow__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__)); extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__)); # 142 "/usr/include/math.h" 2 3 4 # 157 "/usr/include/math.h" 3 4 extern int signgam; # 198 "/usr/include/math.h" 3 4 enum { FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL }; # 291 "/usr/include/math.h" 3 4 typedef enum { _IEEE_ = -1, _SVID_, _XOPEN_, _POSIX_, _ISOC_ } _LIB_VERSION_TYPE; extern _LIB_VERSION_TYPE _LIB_VERSION; # 316 "/usr/include/math.h" 3 4 struct exception { int type; char *name; double arg1; double arg2; double retval; }; extern int matherr (struct exception *__exc); # 472 "/usr/include/math.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_MATH_H" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double pi = M_PI; if (pi); ; return 0; } Found math #defines, like M_PI ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/socket.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/socket.h" 1 3 4 # 24 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 25 "/usr/include/sys/socket.h" 2 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 24 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 25 "/usr/include/sys/uio.h" 2 3 4 # 1 "/usr/include/bits/uio.h" 1 3 4 # 44 "/usr/include/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 4 # 40 "/usr/include/sys/uio.h" 3 4 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) ; # 51 "/usr/include/sys/uio.h" 3 4 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) ; # 66 "/usr/include/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset) ; # 78 "/usr/include/sys/uio.h" 3 4 extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset) ; # 121 "/usr/include/sys/uio.h" 3 4 # 29 "/usr/include/sys/socket.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 31 "/usr/include/sys/socket.h" 2 3 4 # 40 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/bits/socket.h" 1 3 4 # 29 "/usr/include/bits/socket.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 30 "/usr/include/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 04000 }; # 175 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/bits/sockaddr.h" 1 3 4 # 29 "/usr/include/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 176 "/usr/include/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 191 "/usr/include/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; unsigned long int __ss_align; char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 297 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); # 324 "/usr/include/bits/socket.h" 3 4 enum { SCM_RIGHTS = 0x01 }; # 370 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 2 3 4 # 5 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/asm/socket.h" 2 3 4 # 371 "/usr/include/bits/socket.h" 2 3 4 # 404 "/usr/include/bits/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 41 "/usr/include/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 105 "/usr/include/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__)); extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 129 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __const struct sockaddr * __addr, socklen_t __addr_len); # 166 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); # 214 "/usr/include/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 232 "/usr/include/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 254 "/usr/include/sys/socket.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_SOCKET_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/types.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_TYPES_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: malloc.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/malloc.h" 1 3 4 # 24 "/usr/include/malloc.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 25 "/usr/include/malloc.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 147 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long int ptrdiff_t; # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 324 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef int wchar_t; # 26 "/usr/include/malloc.h" 2 3 4 # 1 "/usr/include/stdio.h" 1 3 4 # 30 "/usr/include/stdio.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 35 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 37 "/usr/include/stdio.h" 2 3 4 # 45 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 65 "/usr/include/stdio.h" 3 4 typedef struct _IO_FILE __FILE; # 75 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/libio.h" 1 3 4 # 32 "/usr/include/libio.h" 3 4 # 1 "/usr/include/_G_config.h" 1 3 4 # 15 "/usr/include/_G_config.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 16 "/usr/include/_G_config.h" 2 3 4 # 1 "/usr/include/wchar.h" 1 3 4 # 83 "/usr/include/wchar.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 21 "/usr/include/_G_config.h" 2 3 4 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 53 "/usr/include/_G_config.h" 3 4 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "/usr/include/libio.h" 2 3 4 # 53 "/usr/include/libio.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdarg.h" 1 3 4 # 40 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdarg.h" 3 4 typedef __builtin_va_list __gnuc_va_list; # 54 "/usr/include/libio.h" 2 3 4 # 170 "/usr/include/libio.h" 3 4 struct _IO_jump_t; struct _IO_FILE; # 180 "/usr/include/libio.h" 3 4 typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 203 "/usr/include/libio.h" 3 4 }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; # 271 "/usr/include/libio.h" 3 4 struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 319 "/usr/include/libio.h" 3 4 __off64_t _offset; # 328 "/usr/include/libio.h" 3 4 void *__pad1; void *__pad2; void *__pad3; void *__pad4; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; # 364 "/usr/include/libio.h" 3 4 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); # 416 "/usr/include/libio.h" 3 4 extern int __underflow (_IO_FILE *); extern int __uflow (_IO_FILE *); extern int __overflow (_IO_FILE *, int); # 460 "/usr/include/libio.h" 3 4 extern int _IO_getc (_IO_FILE *__fp); extern int _IO_putc (int __c, _IO_FILE *__fp); extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); extern int _IO_peekc_locked (_IO_FILE *__fp); extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); # 490 "/usr/include/libio.h" 3 4 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict); extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list); extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); # 76 "/usr/include/stdio.h" 2 3 4 # 89 "/usr/include/stdio.h" 3 4 typedef _G_fpos_t fpos_t; # 141 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 142 "/usr/include/stdio.h" 2 3 4 extern struct _IO_FILE *stdin; extern struct _IO_FILE *stdout; extern struct _IO_FILE *stderr; extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); extern int renameat (int __oldfd, __const char *__old, int __newfd, __const char *__new) __attribute__ ((__nothrow__)); extern FILE *tmpfile (void) ; # 188 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ; extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ; # 206 "/usr/include/stdio.h" 3 4 extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int fclose (FILE *__stream); extern int fflush (FILE *__stream); # 231 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 245 "/usr/include/stdio.h" 3 4 extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) ; extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) ; # 274 "/usr/include/stdio.h" 3 4 # 285 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ; # 298 "/usr/include/stdio.h" 3 4 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __attribute__ ((__nothrow__)) ; extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__)); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__)); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...); extern int printf (__const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg); extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); # 396 "/usr/include/stdio.h" 3 4 extern int vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) ; extern int scanf (__const char *__restrict __format, ...) ; extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); # 427 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") ; extern int scanf (__const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") ; extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__)) ; # 447 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 478 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") __attribute__ ((__format__ (__scanf__, 2, 0))) ; extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") __attribute__ ((__format__ (__scanf__, 1, 0))) ; extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 506 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream); extern int getc (FILE *__stream); extern int getchar (void); # 534 "/usr/include/stdio.h" 3 4 extern int getc_unlocked (FILE *__stream); extern int getchar_unlocked (void); # 545 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream); extern int fputc (int __c, FILE *__stream); extern int putc (int __c, FILE *__stream); extern int putchar (int __c); # 578 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream); extern int putc_unlocked (int __c, FILE *__stream); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream); extern int putw (int __w, FILE *__stream); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *gets (char *__s) ; # 640 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); extern int puts (__const char *__s); extern int ungetc (int __c, FILE *__stream); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s) ; # 712 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern int fseek (FILE *__stream, long int __off, int __whence); extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream); # 748 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off_t __off, int __whence); extern __off_t ftello (FILE *__stream) ; # 767 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); extern int fsetpos (FILE *__stream, __const fpos_t *__pos); # 790 "/usr/include/stdio.h" 3 4 # 799 "/usr/include/stdio.h" 3 4 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void perror (__const char *__s); # 1 "/usr/include/bits/sys_errlist.h" 1 3 4 # 27 "/usr/include/bits/sys_errlist.h" 3 4 extern int sys_nerr; extern __const char *__const sys_errlist[]; # 829 "/usr/include/stdio.h" 2 3 4 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; # 848 "/usr/include/stdio.h" 3 4 extern FILE *popen (__const char *__command, __const char *__modes) ; extern int pclose (FILE *__stream); extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); # 888 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); # 918 "/usr/include/stdio.h" 3 4 # 27 "/usr/include/malloc.h" 2 3 4 # 48 "/usr/include/malloc.h" 3 4 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); extern void *memalign (size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void * pvalloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *(*__morecore) (ptrdiff_t __size); extern void *__default_morecore (ptrdiff_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)); struct mallinfo { int arena; int ordblks; int smblks; int hblks; int hblkhd; int usmblks; int fsmblks; int uordblks; int fordblks; int keepcost; }; extern struct mallinfo mallinfo (void) __attribute__ ((__nothrow__)); # 135 "/usr/include/malloc.h" 3 4 extern int mallopt (int __param, int __val) __attribute__ ((__nothrow__)); extern int malloc_trim (size_t __pad) __attribute__ ((__nothrow__)); extern size_t malloc_usable_size (void *__ptr) __attribute__ ((__nothrow__)); extern void malloc_stats (void) __attribute__ ((__nothrow__)); extern int malloc_info (int __options, FILE *__fp); extern void *malloc_get_state (void) __attribute__ ((__nothrow__)); extern int malloc_set_state (void *__ptr) __attribute__ ((__nothrow__)); extern void (*__malloc_initialize_hook) (void); extern void (*__free_hook) (void *__ptr, __const void *) ; extern void *(*__malloc_hook) (size_t __size, __const void *) ; extern void *(*__realloc_hook) (void *__ptr, size_t __size, __const void *) ; extern void *(*__memalign_hook) (size_t __alignment, size_t __size, __const void *) ; extern void (*__after_morecore_hook) (void); extern void __malloc_check_init (void) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_MALLOC_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: time.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/time.h" 1 3 4 # 28 "/usr/include/time.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 29 "/usr/include/time.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 39 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 43 "/usr/include/time.h" 2 3 4 # 56 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 57 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); # 215 "/usr/include/time.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 216 "/usr/include/time.h" 2 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__)); # 230 "/usr/include/time.h" 3 4 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 313 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 328 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 417 "/usr/include/time.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_TIME_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Direct.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:20: fatal error: Direct.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: Ws2tcpip.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:22: fatal error: Ws2tcpip.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: endian.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/endian.h" 1 3 4 # 22 "/usr/include/endian.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/endian.h" 2 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_ENDIAN_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: ieeefp.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:20: fatal error: ieeefp.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: strings.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/strings.h" 1 3 4 # 27 "/usr/include/strings.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/strings.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 30 "/usr/include/strings.h" 2 3 4 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((const)); # 76 "/usr/include/strings.h" 3 4 extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 104 "/usr/include/strings.h" 3 4 extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)); # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 121 "/usr/include/strings.h" 2 3 4 extern int strcasecmp_l (__const char *__s1, __const char *__s2, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (__const char *__s1, __const char *__s2, size_t __n, __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_STRINGS_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sched.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sched.h" 1 3 4 # 23 "/usr/include/sched.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 27 "/usr/include/sched.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 30 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 33 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 71 "/usr/include/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) __attribute__ ((__nothrow__)); extern int unshare (int __flags) __attribute__ ((__nothrow__)); extern int sched_getcpu (void) __attribute__ ((__nothrow__)); struct __sched_param { int __sched_priority; }; # 113 "/usr/include/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[4096 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 196 "/usr/include/bits/sched.h" 3 4 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__)); # 36 "/usr/include/sched.h" 2 3 4 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_setscheduler (__pid_t __pid, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); extern int sched_yield (void) __attribute__ ((__nothrow__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); # 118 "/usr/include/sched.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SCHED_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: cxxabi.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:20: fatal error: cxxabi.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/systeminfo.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:28: fatal error: sys/systeminfo.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: dos.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:17: fatal error: dos.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: WindowsX.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:22: fatal error: WindowsX.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/sysinfo.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/sysinfo.h" 1 3 4 # 22 "/usr/include/sys/sysinfo.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/sys/sysinfo.h" 2 3 4 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 11 "/usr/include/linux/kernel.h" 3 4 struct sysinfo { long uptime; unsigned long loads[3]; unsigned long totalram; unsigned long freeram; unsigned long sharedram; unsigned long bufferram; unsigned long totalswap; unsigned long freeswap; unsigned short procs; unsigned short pad; unsigned long totalhigh; unsigned long freehigh; unsigned int mem_unit; char _f[20-2*sizeof(long)-sizeof(int)]; }; # 26 "/usr/include/sys/sysinfo.h" 2 3 4 extern int sysinfo (struct sysinfo *__info) __attribute__ ((__nothrow__)); extern int get_nprocs_conf (void) __attribute__ ((__nothrow__)); extern int get_nprocs (void) __attribute__ ((__nothrow__)); extern long int get_phys_pages (void) __attribute__ ((__nothrow__)); extern long int get_avphys_pages (void) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_SYSINFO_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/wait.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/wait.h" 1 3 4 # 27 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 31 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 104 "/usr/include/bits/sigset.h" 3 4 extern int __sigismember (__const __sigset_t *, int); extern int __sigaddset (__sigset_t *, int); extern int __sigdelset (__sigset_t *, int); # 34 "/usr/include/signal.h" 2 3 4 typedef __sig_atomic_t sig_atomic_t; typedef __sigset_t sigset_t; # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 58 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/signum.h" 1 3 4 # 59 "/usr/include/signal.h" 2 3 4 typedef __pid_t pid_t; typedef __uid_t uid_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 77 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/siginfo.h" 1 3 4 # 25 "/usr/include/bits/siginfo.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 26 "/usr/include/bits/siginfo.h" 2 3 4 typedef union sigval { int sival_int; void *sival_ptr; } sigval_t; # 51 "/usr/include/bits/siginfo.h" 3 4 typedef struct siginfo { int si_signo; int si_errno; int si_code; union { int _pad[((128 / sizeof (int)) - 4)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __clock_t si_utime; __clock_t si_stime; } _sigchld; struct { void *si_addr; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; } _sifields; } siginfo_t; # 129 "/usr/include/bits/siginfo.h" 3 4 enum { SI_ASYNCNL = -60, SI_TKILL = -6, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 }; enum { ILL_ILLOPC = 1, ILL_ILLOPN, ILL_ILLADR, ILL_ILLTRP, ILL_PRVOPC, ILL_PRVREG, ILL_COPROC, ILL_BADSTK }; enum { FPE_INTDIV = 1, FPE_INTOVF, FPE_FLTDIV, FPE_FLTOVF, FPE_FLTUND, FPE_FLTRES, FPE_FLTINV, FPE_FLTSUB }; enum { SEGV_MAPERR = 1, SEGV_ACCERR }; enum { BUS_ADRALN = 1, BUS_ADRERR, BUS_OBJERR }; enum { TRAP_BRKPT = 1, TRAP_TRACE }; enum { CLD_EXITED = 1, CLD_KILLED, CLD_DUMPED, CLD_TRAPPED, CLD_STOPPED, CLD_CONTINUED }; enum { POLL_IN = 1, POLL_OUT, POLL_MSG, POLL_ERR, POLL_PRI, POLL_HUP }; # 273 "/usr/include/bits/siginfo.h" 3 4 typedef struct sigevent { sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 4)]; __pid_t _tid; struct { void (*_function) (sigval_t); void *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; enum { SIGEV_SIGNAL = 0, SIGEV_NONE, SIGEV_THREAD, SIGEV_THREAD_ID = 4 }; # 80 "/usr/include/signal.h" 2 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); # 99 "/usr/include/signal.h" 3 4 extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); # 113 "/usr/include/signal.h" 3 4 # 126 "/usr/include/signal.h" 3 4 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__)); extern int raise (int __sig) __attribute__ ((__nothrow__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__)); extern void psignal (int __sig, __const char *__s); extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s); # 168 "/usr/include/signal.h" 3 4 extern int __sigpause (int __sig_or_mask, int __is_sig); # 196 "/usr/include/signal.h" 3 4 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); # 216 "/usr/include/signal.h" 3 4 typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (__const sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 252 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigaction.h" 1 3 4 # 25 "/usr/include/bits/sigaction.h" 3 4 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; # 253 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, __const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__)); extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, __const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (__const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (__const sigset_t *__restrict __set, siginfo_t *__restrict __info, __const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) __attribute__ ((__nothrow__)); # 310 "/usr/include/signal.h" 3 4 extern __const char *__const _sys_siglist[65]; extern __const char *__const sys_siglist[65]; struct sigvec { __sighandler_t sv_handler; int sv_mask; int sv_flags; }; # 334 "/usr/include/signal.h" 3 4 extern int sigvec (int __sig, __const struct sigvec *__vec, struct sigvec *__ovec) __attribute__ ((__nothrow__)); # 1 "/usr/include/bits/sigcontext.h" 1 3 4 # 26 "/usr/include/bits/sigcontext.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 27 "/usr/include/bits/sigcontext.h" 2 3 4 struct _fpreg { unsigned short significand[4]; unsigned short exponent; }; struct _fpxreg { unsigned short significand[4]; unsigned short exponent; unsigned short padding[3]; }; struct _xmmreg { __uint32_t element[4]; }; # 109 "/usr/include/bits/sigcontext.h" 3 4 struct _fpstate { __uint16_t cwd; __uint16_t swd; __uint16_t ftw; __uint16_t fop; __uint64_t rip; __uint64_t rdp; __uint32_t mxcsr; __uint32_t mxcr_mask; struct _fpxreg _st[8]; struct _xmmreg _xmm[16]; __uint32_t padding[24]; }; struct sigcontext { unsigned long r8; unsigned long r9; unsigned long r10; unsigned long r11; unsigned long r12; unsigned long r13; unsigned long r14; unsigned long r15; unsigned long rdi; unsigned long rsi; unsigned long rbp; unsigned long rbx; unsigned long rdx; unsigned long rax; unsigned long rcx; unsigned long rsp; unsigned long rip; unsigned long eflags; unsigned short cs; unsigned short gs; unsigned short fs; unsigned short __pad0; unsigned long err; unsigned long trapno; unsigned long oldmask; unsigned long cr2; struct _fpstate * fpstate; unsigned long __reserved1 [8]; }; # 340 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__)); # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 350 "/usr/include/signal.h" 2 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__)); # 1 "/usr/include/bits/sigstack.h" 1 3 4 # 26 "/usr/include/bits/sigstack.h" 3 4 struct sigstack { void *ss_sp; int ss_onstack; }; enum { SS_ONSTACK = 1, SS_DISABLE }; # 50 "/usr/include/bits/sigstack.h" 3 4 typedef struct sigaltstack { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 357 "/usr/include/signal.h" 2 3 4 # 365 "/usr/include/signal.h" 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__)); extern int sigaltstack (__const struct sigaltstack *__restrict __ss, struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__)); # 394 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 395 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/sigthread.h" 1 3 4 # 31 "/usr/include/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, __const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__)); # 396 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__)); # 32 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 25 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/bits/resource.h" 1 3 4 # 33 "/usr/include/bits/resource.h" 3 4 enum __rlimit_resource { RLIMIT_CPU = 0, RLIMIT_FSIZE = 1, RLIMIT_DATA = 2, RLIMIT_STACK = 3, RLIMIT_CORE = 4, __RLIMIT_RSS = 5, RLIMIT_NOFILE = 7, __RLIMIT_OFILE = RLIMIT_NOFILE, RLIMIT_AS = 9, __RLIMIT_NPROC = 6, __RLIMIT_MEMLOCK = 8, __RLIMIT_LOCKS = 10, __RLIMIT_SIGPENDING = 11, __RLIMIT_MSGQUEUE = 12, __RLIMIT_NICE = 13, __RLIMIT_RTPRIO = 14, __RLIMIT_NLIMITS = 15, __RLIM_NLIMITS = __RLIMIT_NLIMITS }; # 127 "/usr/include/bits/resource.h" 3 4 typedef __rlim_t rlim_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 154 "/usr/include/bits/resource.h" 3 4 enum __rusage_who { RUSAGE_SELF = 0, RUSAGE_CHILDREN = -1 # 172 "/usr/include/bits/resource.h" 3 4 }; # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 176 "/usr/include/bits/resource.h" 2 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; long int ru_maxrss; long int ru_ixrss; long int ru_idrss; long int ru_isrss; long int ru_minflt; long int ru_majflt; long int ru_nswap; long int ru_inblock; long int ru_oublock; long int ru_msgsnd; long int ru_msgrcv; long int ru_nsignals; long int ru_nvcsw; long int ru_nivcsw; }; enum __priority_which { PRIO_PROCESS = 0, PRIO_PGRP = 1, PRIO_USER = 2 }; # 26 "/usr/include/sys/resource.h" 2 3 4 typedef __id_t id_t; # 43 "/usr/include/sys/resource.h" 3 4 typedef int __rlimit_resource_t; typedef int __rusage_who_t; typedef int __priority_which_t; extern int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __attribute__ ((__nothrow__)); # 70 "/usr/include/sys/resource.h" 3 4 extern int setrlimit (__rlimit_resource_t __resource, __const struct rlimit *__rlimits) __attribute__ ((__nothrow__)); # 88 "/usr/include/sys/resource.h" 3 4 extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__)); extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__)); extern int setpriority (__priority_which_t __which, id_t __who, int __prio) __attribute__ ((__nothrow__)); # 33 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 39 "/usr/include/sys/wait.h" 2 3 4 # 63 "/usr/include/sys/wait.h" 3 4 typedef union { union wait *__uptr; int *__iptr; } __WAIT_STATUS __attribute__ ((__transparent_union__)); # 80 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 65 "/usr/include/bits/waitstatus.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 66 "/usr/include/bits/waitstatus.h" 2 3 4 union wait { int w_status; struct { unsigned int __w_termsig:7; unsigned int __w_coredump:1; unsigned int __w_retcode:8; unsigned int:16; } __wait_terminated; struct { unsigned int __w_stopval:8; unsigned int __w_stopsig:8; unsigned int:16; } __wait_stopped; }; # 81 "/usr/include/sys/wait.h" 2 3 4 # 102 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 116 "/usr/include/sys/wait.h" 3 4 extern __pid_t wait (__WAIT_STATUS __stat_loc); # 139 "/usr/include/sys/wait.h" 3 4 extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); # 1 "/usr/include/bits/siginfo.h" 1 3 4 # 25 "/usr/include/bits/siginfo.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 26 "/usr/include/bits/siginfo.h" 2 3 4 # 144 "/usr/include/sys/wait.h" 2 3 4 # 155 "/usr/include/sys/wait.h" 3 4 extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); struct rusage; extern __pid_t wait3 (__WAIT_STATUS __stat_loc, int __options, struct rusage * __usage) __attribute__ ((__nothrow__)); extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options, struct rusage *__usage) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_WAIT_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdlib.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 26 "/usr/include/stdlib.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 324 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef int wchar_t; # 34 "/usr/include/stdlib.h" 2 3 4 # 96 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; # 140 "/usr/include/stdlib.h" 3 4 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int atoll (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long double strtold (__const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern long int strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 311 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; extern long int a64l (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 321 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); extern double drand48 (void) __attribute__ ((__nothrow__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); extern void free (void *__ptr) __attribute__ ((__nothrow__)); extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); # 1 "/usr/include/alloca.h" 1 3 4 # 25 "/usr/include/alloca.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 26 "/usr/include/alloca.h" 2 3 4 extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); # 498 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 530 "/usr/include/stdlib.h" 3 4 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 553 "/usr/include/stdlib.h" 3 4 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int setenv (__const char *__name, __const char *__value, int __replace) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); extern int clearenv (void) __attribute__ ((__nothrow__)); # 604 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 615 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; # 637 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ; # 658 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 707 "/usr/include/stdlib.h" 3 4 extern int system (__const char *__command) ; # 729 "/usr/include/stdlib.h" 3 4 extern char *realpath (__const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__)) ; typedef int (*__compar_fn_t) (__const void *, __const void *); # 747 "/usr/include/stdlib.h" 3 4 extern void *bsearch (__const void *__key, __const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) ; extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 766 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; # 802 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; extern int mbtowc (wchar_t *__restrict __pwc, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; extern size_t mbstowcs (wchar_t *__restrict __pwcs, __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); extern size_t wcstombs (char *__restrict __s, __const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__)); extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 907 "/usr/include/stdlib.h" 3 4 extern int posix_openpt (int __oflag) ; # 942 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 958 "/usr/include/stdlib.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_STDLIB_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pthread.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/pthread.h" 1 3 4 # 23 "/usr/include/pthread.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 25 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/sched.h" 1 3 4 # 26 "/usr/include/sched.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 27 "/usr/include/sched.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 30 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 33 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 71 "/usr/include/bits/sched.h" 3 4 struct sched_param { int __sched_priority; }; extern int clone (int (*__fn) (void *__arg), void *__child_stack, int __flags, void *__arg, ...) __attribute__ ((__nothrow__)); extern int unshare (int __flags) __attribute__ ((__nothrow__)); extern int sched_getcpu (void) __attribute__ ((__nothrow__)); struct __sched_param { int __sched_priority; }; # 113 "/usr/include/bits/sched.h" 3 4 typedef unsigned long int __cpu_mask; typedef struct { __cpu_mask __bits[4096 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; # 196 "/usr/include/bits/sched.h" 3 4 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__)) ; extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__)); # 36 "/usr/include/sched.h" 2 3 4 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_setscheduler (__pid_t __pid, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__)); extern int sched_yield (void) __attribute__ ((__nothrow__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__)); # 118 "/usr/include/sched.h" 3 4 # 26 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 30 "/usr/include/time.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 39 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 43 "/usr/include/time.h" 2 3 4 # 58 "/usr/include/time.h" 3 4 typedef __clock_t clock_t; # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 131 "/usr/include/time.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; __const char *tm_zone; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; struct sigevent; typedef __pid_t pid_t; extern clock_t clock (void) __attribute__ ((__nothrow__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__)); extern size_t strftime (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp) __attribute__ ((__nothrow__)); # 215 "/usr/include/time.h" 3 4 # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 216 "/usr/include/time.h" 2 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, __const char *__restrict __format, __const struct tm *__restrict __tp, __locale_t __loc) __attribute__ ((__nothrow__)); # 230 "/usr/include/time.h" 3 4 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern struct tm *gmtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern struct tm *localtime_r (__const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__)); extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__)); extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__)); extern char *asctime_r (__const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *ctime_r (__const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__)); extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__)); extern int daylight; extern long int timezone; extern int stime (__const time_t *__when) __attribute__ ((__nothrow__)); # 313 "/usr/include/time.h" 3 4 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__)); extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__)); extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 328 "/usr/include/time.h" 3 4 extern int nanosleep (__const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __attribute__ ((__nothrow__)); extern int clock_nanosleep (clockid_t __clock_id, int __flags, __const struct timespec *__req, struct timespec *__rem); extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__)); extern int timer_settime (timer_t __timerid, int __flags, __const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__)); extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__)); # 417 "/usr/include/time.h" 3 4 # 27 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/signal.h" 1 3 4 # 31 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 34 "/usr/include/signal.h" 2 3 4 # 50 "/usr/include/signal.h" 3 4 typedef __sigset_t sigset_t; # 408 "/usr/include/signal.h" 3 4 # 30 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 31 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 27 "/usr/include/bits/setjmp.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/setjmp.h" 2 3 4 typedef long int __jmp_buf[8]; # 32 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 33 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP # 63 "/usr/include/pthread.h" 3 4 }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; # 117 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; # 149 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, PTHREAD_PROCESS_SHARED }; # 184 "/usr/include/pthread.h" 3 4 struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS }; # 222 "/usr/include/pthread.h" 3 4 extern int pthread_create (pthread_t *__restrict __newthread, __const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); # 265 "/usr/include/pthread.h" 3 4 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, __const struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 415 "/usr/include/pthread.h" 3 4 extern int pthread_setschedparam (pthread_t __target_thread, int __policy, __const struct sched_param *__param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__)); # 468 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 480 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); typedef struct { struct { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; } __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); # 514 "/usr/include/pthread.h" 3 4 struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 654 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) ; # 666 "/usr/include/pthread.h" 3 4 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) ; # 707 "/usr/include/pthread.h" 3 4 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; struct __jmp_buf_tag; extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__)); extern int pthread_mutex_init (pthread_mutex_t *__mutex, __const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 769 "/usr/include/pthread.h" 3 4 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 782 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 838 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_getrobust (__const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 864 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, __const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, __const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, __const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 976 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, __const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (__const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (__const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 1020 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, __const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 1087 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__)); extern int pthread_setspecific (pthread_key_t __key, __const void *__pointer) __attribute__ ((__nothrow__)) ; extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 1121 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__)); # 1135 "/usr/include/pthread.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_PTHREAD_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: setjmp.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/setjmp.h" 1 3 4 # 26 "/usr/include/setjmp.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/setjmp.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 27 "/usr/include/bits/setjmp.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 28 "/usr/include/bits/setjmp.h" 2 3 4 typedef long int __jmp_buf[8]; # 31 "/usr/include/setjmp.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 32 "/usr/include/setjmp.h" 2 3 4 struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; }; typedef struct __jmp_buf_tag jmp_buf[1]; extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); # 78 "/usr/include/setjmp.h" 3 4 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); typedef struct __jmp_buf_tag sigjmp_buf[1]; # 110 "/usr/include/setjmp.h" 3 4 extern void siglongjmp (sigjmp_buf __env, int __val) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); # 120 "/usr/include/setjmp.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SETJMP_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/utsname.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/utsname.h" 1 3 4 # 26 "/usr/include/sys/utsname.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/sys/utsname.h" 2 3 4 # 1 "/usr/include/bits/utsname.h" 1 3 4 # 31 "/usr/include/sys/utsname.h" 2 3 4 # 49 "/usr/include/sys/utsname.h" 3 4 struct utsname { char sysname[65]; char nodename[65]; char release[65]; char version[65]; char machine[65]; char __domainname[65]; }; # 82 "/usr/include/sys/utsname.h" 3 4 extern int uname (struct utsname *__name) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_UTSNAME_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: machine/endian.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:28: fatal error: machine/endian.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: limits.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 1 3 4 # 34 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/syslimits.h" 1 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 1 3 4 # 168 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 27 "/usr/include/limits.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/limits.h" 2 3 4 # 145 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 157 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 39 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 40 "/usr/include/bits/local_lim.h" 2 3 4 # 158 "/usr/include/bits/posix1_lim.h" 2 3 4 # 146 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 150 "/usr/include/limits.h" 2 3 4 # 169 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 2 3 4 # 8 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/syslimits.h" 2 3 4 # 35 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 2 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_LIMITS_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: fcntl.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/fcntl.h" 1 3 4 # 27 "/usr/include/fcntl.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/fcntl.h" 2 3 4 # 1 "/usr/include/bits/fcntl.h" 1 3 4 # 24 "/usr/include/bits/fcntl.h" 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 25 "/usr/include/bits/fcntl.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 26 "/usr/include/bits/fcntl.h" 2 3 4 # 160 "/usr/include/bits/fcntl.h" 3 4 struct flock { short int l_type; short int l_whence; __off_t l_start; __off_t l_len; __pid_t l_pid; }; # 244 "/usr/include/bits/fcntl.h" 3 4 # 289 "/usr/include/bits/fcntl.h" 3 4 # 35 "/usr/include/fcntl.h" 2 3 4 # 78 "/usr/include/fcntl.h" 3 4 extern int fcntl (int __fd, int __cmd, ...); # 87 "/usr/include/fcntl.h" 3 4 extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); # 111 "/usr/include/fcntl.h" 3 4 extern int openat (int __fd, __const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (2))); # 122 "/usr/include/fcntl.h" 3 4 extern int openat64 (int __fd, __const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (2))); # 132 "/usr/include/fcntl.h" 3 4 extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); # 161 "/usr/include/fcntl.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len); # 178 "/usr/include/fcntl.h" 3 4 extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, int __advise) __attribute__ ((__nothrow__)); # 200 "/usr/include/fcntl.h" 3 4 extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len); # 222 "/usr/include/fcntl.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_FCNTL_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: string.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/string.h" 1 3 4 # 26 "/usr/include/string.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/string.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 34 "/usr/include/string.h" 2 3 4 extern void *memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, __const void *__src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 94 "/usr/include/string.h" 3 4 extern void *memchr (__const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 125 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 1 "/usr/include/xlocale.h" 1 3 4 # 28 "/usr/include/xlocale.h" 3 4 typedef struct __locale_struct { struct locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; } *__locale_t; typedef __locale_t locale_t; # 162 "/usr/include/string.h" 2 3 4 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); extern char *strdup (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (__const char *__string, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 208 "/usr/include/string.h" 3 4 # 233 "/usr/include/string.h" 3 4 extern char *strchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 260 "/usr/include/string.h" 3 4 extern char *strrchr (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 279 "/usr/include/string.h" 3 4 extern size_t strcspn (__const char *__s, __const char *__reject) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 312 "/usr/include/string.h" 3 4 extern char *strpbrk (__const char *__s, __const char *__accept) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 340 "/usr/include/string.h" 3 4 extern char *strstr (__const char *__haystack, __const char *__needle) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))); # 395 "/usr/include/string.h" 3 4 extern size_t strlen (__const char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (__const char *__string, size_t __maxlen) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__)); # 425 "/usr/include/string.h" 3 4 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 443 "/usr/include/string.h" 3 4 extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__)); extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void bcopy (__const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 487 "/usr/include/string.h" 3 4 extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 515 "/usr/include/string.h" 3 4 extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 534 "/usr/include/string.h" 3 4 extern int strcasecmp (__const char *__s1, __const char *__s2) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 557 "/usr/include/string.h" 3 4 extern char *strsep (char **__restrict __stringp, __const char *__restrict __delim) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__)); extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, __const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 644 "/usr/include/string.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_STRING_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/times.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/times.h" 1 3 4 # 26 "/usr/include/sys/times.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/sys/times.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 56 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 57 "/usr/include/time.h" 2 3 4 typedef __clock_t clock_t; # 30 "/usr/include/sys/times.h" 2 3 4 struct tms { clock_t tms_utime; clock_t tms_stime; clock_t tms_cutime; clock_t tms_cstime; }; extern clock_t times (struct tms *__buffer) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_TIMES_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: io.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:16: fatal error: io.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: stdint.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 1 3 4 # 9 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 26 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 37 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; # 66 "/usr/include/stdint.h" 3 4 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; # 91 "/usr/include/stdint.h" 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 104 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 120 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 135 "/usr/include/stdint.h" 3 4 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 10 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 2 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_STDINT_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: pwd.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/pwd.h" 1 3 4 # 26 "/usr/include/pwd.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/pwd.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 31 "/usr/include/pwd.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 34 "/usr/include/pwd.h" 2 3 4 typedef __gid_t gid_t; typedef __uid_t uid_t; struct passwd { char *pw_name; char *pw_passwd; __uid_t pw_uid; __gid_t pw_gid; char *pw_gecos; char *pw_dir; char *pw_shell; }; # 1 "/usr/include/stdio.h" 1 3 4 # 45 "/usr/include/stdio.h" 3 4 struct _IO_FILE; typedef struct _IO_FILE FILE; # 65 "/usr/include/pwd.h" 2 3 4 # 73 "/usr/include/pwd.h" 3 4 extern void setpwent (void); extern void endpwent (void); extern struct passwd *getpwent (void); # 95 "/usr/include/pwd.h" 3 4 extern struct passwd *fgetpwent (FILE *__stream); extern int putpwent (__const struct passwd *__restrict __p, FILE *__restrict __f); extern struct passwd *getpwuid (__uid_t __uid); extern struct passwd *getpwnam (__const char *__name); # 140 "/usr/include/pwd.h" 3 4 extern int getpwent_r (struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int getpwuid_r (__uid_t __uid, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); extern int getpwnam_r (__const char *__restrict __name, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); # 164 "/usr/include/pwd.h" 3 4 extern int fgetpwent_r (FILE *__restrict __stream, struct passwd *__restrict __resultbuf, char *__restrict __buffer, size_t __buflen, struct passwd **__restrict __result); # 184 "/usr/include/pwd.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_PWD_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: float.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/float.h" 1 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_FLOAT_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/param.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/param.h" 1 3 4 # 26 "/usr/include/sys/param.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 1 3 4 # 34 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/syslimits.h" 1 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 1 3 4 # 168 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 27 "/usr/include/limits.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/limits.h" 2 3 4 # 145 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 157 "/usr/include/bits/posix1_lim.h" 3 4 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 39 "/usr/include/bits/local_lim.h" 3 4 # 1 "/usr/include/linux/limits.h" 1 3 4 # 40 "/usr/include/bits/local_lim.h" 2 3 4 # 158 "/usr/include/bits/posix1_lim.h" 2 3 4 # 146 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 150 "/usr/include/limits.h" 2 3 4 # 169 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 2 3 4 # 8 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/syslimits.h" 2 3 4 # 35 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include-fixed/limits.h" 2 3 4 # 27 "/usr/include/sys/param.h" 2 3 4 # 1 "/usr/include/linux/param.h" 1 3 4 # 1 "/usr/include/asm/param.h" 1 3 4 # 1 "/usr/include/asm-generic/param.h" 1 3 4 # 1 "/usr/include/asm/param.h" 2 3 4 # 5 "/usr/include/linux/param.h" 2 3 4 # 29 "/usr/include/sys/param.h" 2 3 4 # 52 "/usr/include/sys/param.h" 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 53 "/usr/include/sys/param.h" 2 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_PARAM_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netdb.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/netdb.h" 1 3 4 # 26 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/netinet/in.h" 1 3 4 # 24 "/usr/include/netinet/in.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 1 3 4 # 9 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 27 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 37 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; # 66 "/usr/include/stdint.h" 3 4 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; # 91 "/usr/include/stdint.h" 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 104 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 120 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 135 "/usr/include/stdint.h" 3 4 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 10 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 2 3 4 # 25 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/sys/socket.h" 1 3 4 # 26 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 24 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 201 "/usr/include/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 25 "/usr/include/sys/uio.h" 2 3 4 # 1 "/usr/include/bits/uio.h" 1 3 4 # 44 "/usr/include/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 4 # 40 "/usr/include/sys/uio.h" 3 4 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) ; # 51 "/usr/include/sys/uio.h" 3 4 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) ; # 66 "/usr/include/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset) ; # 78 "/usr/include/sys/uio.h" 3 4 extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset) ; # 121 "/usr/include/sys/uio.h" 3 4 # 29 "/usr/include/sys/socket.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 31 "/usr/include/sys/socket.h" 2 3 4 # 40 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/bits/socket.h" 1 3 4 # 29 "/usr/include/bits/socket.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 30 "/usr/include/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 04000 }; # 175 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/bits/sockaddr.h" 1 3 4 # 29 "/usr/include/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 176 "/usr/include/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 191 "/usr/include/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; unsigned long int __ss_align; char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 297 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); # 324 "/usr/include/bits/socket.h" 3 4 enum { SCM_RIGHTS = 0x01 }; # 370 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 2 3 4 # 5 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/asm/socket.h" 2 3 4 # 371 "/usr/include/bits/socket.h" 2 3 4 # 404 "/usr/include/bits/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 41 "/usr/include/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 105 "/usr/include/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__)); extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 129 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __const struct sockaddr * __addr, socklen_t __addr_len); # 166 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); # 214 "/usr/include/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 232 "/usr/include/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 254 "/usr/include/sys/socket.h" 3 4 # 26 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 198 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 225 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 356 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/bits/in.h" 1 3 4 # 86 "/usr/include/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 357 "/usr/include/netinet/in.h" 2 3 4 # 365 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 377 "/usr/include/netinet/in.h" 2 3 4 # 440 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__)); # 565 "/usr/include/netinet/in.h" 3 4 # 29 "/usr/include/netdb.h" 2 3 4 # 1 "/usr/include/rpc/netdb.h" 1 3 4 # 42 "/usr/include/rpc/netdb.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 43 "/usr/include/rpc/netdb.h" 2 3 4 struct rpcent { char *r_name; char **r_aliases; int r_number; }; extern void setrpcent (int __stayopen) __attribute__ ((__nothrow__)); extern void endrpcent (void) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcbyname (__const char *__name) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcbynumber (int __number) __attribute__ ((__nothrow__)); extern struct rpcent *getrpcent (void) __attribute__ ((__nothrow__)); extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result) __attribute__ ((__nothrow__)); # 34 "/usr/include/netdb.h" 2 3 4 # 43 "/usr/include/netdb.h" 3 4 # 1 "/usr/include/bits/netdb.h" 1 3 4 # 27 "/usr/include/bits/netdb.h" 3 4 struct netent { char *n_name; char **n_aliases; int n_addrtype; uint32_t n_net; }; # 44 "/usr/include/netdb.h" 2 3 4 # 54 "/usr/include/netdb.h" 3 4 extern int *__h_errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 91 "/usr/include/netdb.h" 3 4 extern void herror (__const char *__str) __attribute__ ((__nothrow__)); extern __const char *hstrerror (int __err_num) __attribute__ ((__nothrow__)); struct hostent { char *h_name; char **h_aliases; int h_addrtype; int h_length; char **h_addr_list; }; extern void sethostent (int __stay_open); extern void endhostent (void); extern struct hostent *gethostent (void); extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, int __type); extern struct hostent *gethostbyname (__const char *__name); # 154 "/usr/include/netdb.h" 3 4 extern struct hostent *gethostbyname2 (__const char *__name, int __af); # 166 "/usr/include/netdb.h" 3 4 extern int gethostent_r (struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len, int __type, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname_r (__const char *__restrict __name, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); extern int gethostbyname2_r (__const char *__restrict __name, int __af, struct hostent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct hostent **__restrict __result, int *__restrict __h_errnop); # 197 "/usr/include/netdb.h" 3 4 extern void setnetent (int __stay_open); extern void endnetent (void); extern struct netent *getnetent (void); extern struct netent *getnetbyaddr (uint32_t __net, int __type); extern struct netent *getnetbyname (__const char *__name); # 236 "/usr/include/netdb.h" 3 4 extern int getnetent_r (struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyaddr_r (uint32_t __net, int __type, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); extern int getnetbyname_r (__const char *__restrict __name, struct netent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct netent **__restrict __result, int *__restrict __h_errnop); struct servent { char *s_name; char **s_aliases; int s_port; char *s_proto; }; extern void setservent (int __stay_open); extern void endservent (void); extern struct servent *getservent (void); extern struct servent *getservbyname (__const char *__name, __const char *__proto); extern struct servent *getservbyport (int __port, __const char *__proto); # 308 "/usr/include/netdb.h" 3 4 extern int getservent_r (struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyname_r (__const char *__restrict __name, __const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); extern int getservbyport_r (int __port, __const char *__restrict __proto, struct servent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct servent **__restrict __result); struct protoent { char *p_name; char **p_aliases; int p_proto; }; extern void setprotoent (int __stay_open); extern void endprotoent (void); extern struct protoent *getprotoent (void); extern struct protoent *getprotobyname (__const char *__name); extern struct protoent *getprotobynumber (int __proto); # 374 "/usr/include/netdb.h" 3 4 extern int getprotoent_r (struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobyname_r (__const char *__restrict __name, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); extern int getprotobynumber_r (int __proto, struct protoent *__restrict __result_buf, char *__restrict __buf, size_t __buflen, struct protoent **__restrict __result); # 395 "/usr/include/netdb.h" 3 4 extern int setnetgrent (__const char *__netgroup); extern void endnetgrent (void); # 412 "/usr/include/netdb.h" 3 4 extern int getnetgrent (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp); # 423 "/usr/include/netdb.h" 3 4 extern int innetgr (__const char *__netgroup, __const char *__host, __const char *__user, __const char *__domain); extern int getnetgrent_r (char **__restrict __hostp, char **__restrict __userp, char **__restrict __domainp, char *__restrict __buffer, size_t __buflen); # 451 "/usr/include/netdb.h" 3 4 extern int rcmd (char **__restrict __ahost, unsigned short int __rport, __const char *__restrict __locuser, __const char *__restrict __remuser, __const char *__restrict __cmd, int *__restrict __fd2p); # 463 "/usr/include/netdb.h" 3 4 extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, __const char *__restrict __locuser, __const char *__restrict __remuser, __const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 479 "/usr/include/netdb.h" 3 4 extern int rexec (char **__restrict __ahost, int __rport, __const char *__restrict __name, __const char *__restrict __pass, __const char *__restrict __cmd, int *__restrict __fd2p); # 491 "/usr/include/netdb.h" 3 4 extern int rexec_af (char **__restrict __ahost, int __rport, __const char *__restrict __name, __const char *__restrict __pass, __const char *__restrict __cmd, int *__restrict __fd2p, sa_family_t __af); # 505 "/usr/include/netdb.h" 3 4 extern int ruserok (__const char *__rhost, int __suser, __const char *__remuser, __const char *__locuser); # 515 "/usr/include/netdb.h" 3 4 extern int ruserok_af (__const char *__rhost, int __suser, __const char *__remuser, __const char *__locuser, sa_family_t __af); # 528 "/usr/include/netdb.h" 3 4 extern int iruserok (uint32_t __raddr, int __suser, __const char *__remuser, __const char *__locuser); # 539 "/usr/include/netdb.h" 3 4 extern int iruserok_af (__const void *__raddr, int __suser, __const char *__remuser, __const char *__locuser, sa_family_t __af); # 551 "/usr/include/netdb.h" 3 4 extern int rresvport (int *__alport); # 560 "/usr/include/netdb.h" 3 4 extern int rresvport_af (int *__alport, sa_family_t __af); struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; socklen_t ai_addrlen; struct sockaddr *ai_addr; char *ai_canonname; struct addrinfo *ai_next; }; # 662 "/usr/include/netdb.h" 3 4 extern int getaddrinfo (__const char *__restrict __name, __const char *__restrict __service, __const struct addrinfo *__restrict __req, struct addrinfo **__restrict __pai); extern void freeaddrinfo (struct addrinfo *__ai) __attribute__ ((__nothrow__)); extern __const char *gai_strerror (int __ecode) __attribute__ ((__nothrow__)); extern int getnameinfo (__const struct sockaddr *__restrict __sa, socklen_t __salen, char *__restrict __host, socklen_t __hostlen, char *__restrict __serv, socklen_t __servlen, int __flags); # 713 "/usr/include/netdb.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_NETDB_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: search.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/search.h" 1 3 4 # 23 "/usr/include/search.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/search.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 27 "/usr/include/search.h" 2 3 4 # 45 "/usr/include/search.h" 3 4 extern void insque (void *__elem, void *__prev) __attribute__ ((__nothrow__)); extern void remque (void *__elem) __attribute__ ((__nothrow__)); typedef int (*__compar_fn_t) (__const void *, __const void *); typedef enum { FIND, ENTER } ACTION; typedef struct entry { char *key; void *data; } ENTRY; struct _ENTRY; # 88 "/usr/include/search.h" 3 4 extern ENTRY *hsearch (ENTRY __item, ACTION __action) __attribute__ ((__nothrow__)); extern int hcreate (size_t __nel) __attribute__ ((__nothrow__)); extern void hdestroy (void) __attribute__ ((__nothrow__)); # 119 "/usr/include/search.h" 3 4 typedef enum { preorder, postorder, endorder, leaf } VISIT; extern void *tsearch (__const void *__key, void **__rootp, __compar_fn_t __compar); extern void *tfind (__const void *__key, void *__const *__rootp, __compar_fn_t __compar); extern void *tdelete (__const void *__restrict __key, void **__restrict __rootp, __compar_fn_t __compar); typedef void (*__action_fn_t) (__const void *__nodep, VISIT __value, int __level); extern void twalk (__const void *__root, __action_fn_t __action); # 165 "/usr/include/search.h" 3 4 extern void *lfind (__const void *__key, __const void *__base, size_t *__nmemb, size_t __size, __compar_fn_t __compar); extern void *lsearch (__const void *__key, void *__base, size_t *__nmemb, size_t __size, __compar_fn_t __compar); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SEARCH_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: mathimf.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:21: fatal error: mathimf.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/procfs.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/procfs.h" 1 3 4 # 31 "/usr/include/sys/procfs.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 32 "/usr/include/sys/procfs.h" 2 3 4 # 1 "/usr/include/sys/time.h" 1 3 4 # 25 "/usr/include/sys/time.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 26 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 28 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 30 "/usr/include/sys/time.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 32 "/usr/include/sys/time.h" 2 3 4 # 57 "/usr/include/sys/time.h" 3 4 struct timezone { int tz_minuteswest; int tz_dsttime; }; typedef struct timezone *__restrict __timezone_ptr_t; # 73 "/usr/include/sys/time.h" 3 4 extern int gettimeofday (struct timeval *__restrict __tv, __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int settimeofday (__const struct timeval *__tv, __const struct timezone *__tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int adjtime (__const struct timeval *__delta, struct timeval *__olddelta) __attribute__ ((__nothrow__)); enum __itimer_which { ITIMER_REAL = 0, ITIMER_VIRTUAL = 1, ITIMER_PROF = 2 }; struct itimerval { struct timeval it_interval; struct timeval it_value; }; typedef int __itimer_which_t; extern int getitimer (__itimer_which_t __which, struct itimerval *__value) __attribute__ ((__nothrow__)); extern int setitimer (__itimer_which_t __which, __const struct itimerval *__restrict __new, struct itimerval *__restrict __old) __attribute__ ((__nothrow__)); extern int utimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__)); # 191 "/usr/include/sys/time.h" 3 4 # 33 "/usr/include/sys/procfs.h" 2 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 34 "/usr/include/sys/procfs.h" 2 3 4 # 1 "/usr/include/sys/user.h" 1 3 4 # 26 "/usr/include/sys/user.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 27 "/usr/include/sys/user.h" 2 3 4 struct user_fpregs_struct { __uint16_t cwd; __uint16_t swd; __uint16_t ftw; __uint16_t fop; __uint64_t rip; __uint64_t rdp; __uint32_t mxcsr; __uint32_t mxcr_mask; __uint32_t st_space[32]; __uint32_t xmm_space[64]; __uint32_t padding[24]; }; struct user_regs_struct { unsigned long r15; unsigned long r14; unsigned long r13; unsigned long r12; unsigned long rbp; unsigned long rbx; unsigned long r11; unsigned long r10; unsigned long r9; unsigned long r8; unsigned long rax; unsigned long rcx; unsigned long rdx; unsigned long rsi; unsigned long rdi; unsigned long orig_rax; unsigned long rip; unsigned long cs; unsigned long eflags; unsigned long rsp; unsigned long ss; unsigned long fs_base; unsigned long gs_base; unsigned long ds; unsigned long es; unsigned long fs; unsigned long gs; }; struct user { struct user_regs_struct regs; int u_fpvalid; struct user_fpregs_struct i387; unsigned long int u_tsize; unsigned long int u_dsize; unsigned long int u_ssize; unsigned long start_code; unsigned long start_stack; long int signal; int reserved; struct user_regs_struct* u_ar0; struct user_fpregs_struct* u_fpstate; unsigned long int magic; char u_comm [32]; unsigned long int u_debugreg [8]; }; # 35 "/usr/include/sys/procfs.h" 2 3 4 typedef unsigned long elf_greg_t; typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs_struct) / sizeof(elf_greg_t))]; # 60 "/usr/include/sys/procfs.h" 3 4 typedef struct user_fpregs_struct elf_fpregset_t; struct elf_siginfo { int si_signo; int si_code; int si_errno; }; # 79 "/usr/include/sys/procfs.h" 3 4 struct elf_prstatus { struct elf_siginfo pr_info; short int pr_cursig; unsigned long int pr_sigpend; unsigned long int pr_sighold; __pid_t pr_pid; __pid_t pr_ppid; __pid_t pr_pgrp; __pid_t pr_sid; struct timeval pr_utime; struct timeval pr_stime; struct timeval pr_cutime; struct timeval pr_cstime; elf_gregset_t pr_reg; int pr_fpvalid; }; struct elf_prpsinfo { char pr_state; char pr_sname; char pr_zomb; char pr_nice; unsigned long int pr_flag; unsigned int pr_uid; unsigned int pr_gid; int pr_pid, pr_ppid, pr_pgrp, pr_sid; char pr_fname[16]; char pr_psargs[(80)]; }; typedef void *psaddr_t; typedef elf_gregset_t prgregset_t; typedef elf_fpregset_t prfpregset_t; typedef __pid_t lwpid_t; typedef struct elf_prstatus prstatus_t; typedef struct elf_prpsinfo prpsinfo_t; # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_PROCFS_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: sys/resource.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/resource.h" 1 3 4 # 22 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/sys/resource.h" 2 3 4 # 1 "/usr/include/bits/resource.h" 1 3 4 # 25 "/usr/include/bits/resource.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 26 "/usr/include/bits/resource.h" 2 3 4 enum __rlimit_resource { RLIMIT_CPU = 0, RLIMIT_FSIZE = 1, RLIMIT_DATA = 2, RLIMIT_STACK = 3, RLIMIT_CORE = 4, __RLIMIT_RSS = 5, RLIMIT_NOFILE = 7, __RLIMIT_OFILE = RLIMIT_NOFILE, RLIMIT_AS = 9, __RLIMIT_NPROC = 6, __RLIMIT_MEMLOCK = 8, __RLIMIT_LOCKS = 10, __RLIMIT_SIGPENDING = 11, __RLIMIT_MSGQUEUE = 12, __RLIMIT_NICE = 13, __RLIMIT_RTPRIO = 14, __RLIMIT_NLIMITS = 15, __RLIM_NLIMITS = __RLIMIT_NLIMITS }; # 127 "/usr/include/bits/resource.h" 3 4 typedef __rlim_t rlim_t; struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 154 "/usr/include/bits/resource.h" 3 4 enum __rusage_who { RUSAGE_SELF = 0, RUSAGE_CHILDREN = -1 # 172 "/usr/include/bits/resource.h" 3 4 }; # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 176 "/usr/include/bits/resource.h" 2 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; long int ru_maxrss; long int ru_ixrss; long int ru_idrss; long int ru_isrss; long int ru_minflt; long int ru_majflt; long int ru_nswap; long int ru_inblock; long int ru_oublock; long int ru_msgsnd; long int ru_msgrcv; long int ru_nsignals; long int ru_nvcsw; long int ru_nivcsw; }; enum __priority_which { PRIO_PROCESS = 0, PRIO_PGRP = 1, PRIO_USER = 2 }; # 26 "/usr/include/sys/resource.h" 2 3 4 typedef __id_t id_t; # 43 "/usr/include/sys/resource.h" 3 4 typedef int __rlimit_resource_t; typedef int __rusage_who_t; typedef int __priority_which_t; extern int getrlimit (__rlimit_resource_t __resource, struct rlimit *__rlimits) __attribute__ ((__nothrow__)); # 70 "/usr/include/sys/resource.h" 3 4 extern int setrlimit (__rlimit_resource_t __resource, __const struct rlimit *__rlimits) __attribute__ ((__nothrow__)); # 88 "/usr/include/sys/resource.h" 3 4 extern int getrusage (__rusage_who_t __who, struct rusage *__usage) __attribute__ ((__nothrow__)); extern int getpriority (__priority_which_t __which, id_t __who) __attribute__ ((__nothrow__)); extern int setpriority (__priority_which_t __which, id_t __who, int __prio) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_RESOURCE_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: unistd.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/unistd.h" 1 3 4 # 26 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 27 "/usr/include/unistd.h" 2 3 4 # 203 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/posix_opt.h" 1 3 4 # 204 "/usr/include/unistd.h" 2 3 4 # 218 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 219 "/usr/include/unistd.h" 2 3 4 typedef __ssize_t ssize_t; # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 228 "/usr/include/unistd.h" 2 3 4 typedef __gid_t gid_t; typedef __uid_t uid_t; typedef __off_t off_t; # 256 "/usr/include/unistd.h" 3 4 typedef __useconds_t useconds_t; typedef __pid_t pid_t; typedef __intptr_t intptr_t; typedef __socklen_t socklen_t; # 288 "/usr/include/unistd.h" 3 4 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 305 "/usr/include/unistd.h" 3 4 extern int faccessat (int __fd, __const char *__file, int __type, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ; # 331 "/usr/include/unistd.h" 3 4 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__)); # 350 "/usr/include/unistd.h" 3 4 extern int close (int __fd); extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; extern ssize_t write (int __fd, __const void *__buf, size_t __n) ; # 414 "/usr/include/unistd.h" 3 4 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ; # 429 "/usr/include/unistd.h" 3 4 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__)); # 441 "/usr/include/unistd.h" 3 4 extern unsigned int sleep (unsigned int __seconds); extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) __attribute__ ((__nothrow__)); extern int usleep (__useconds_t __useconds); # 465 "/usr/include/unistd.h" 3 4 extern int pause (void); extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) ; extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int fchownat (int __fd, __const char *__file, __uid_t __owner, __gid_t __group, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ; extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int fchdir (int __fd) __attribute__ ((__nothrow__)) ; # 507 "/usr/include/unistd.h" 3 4 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ; # 520 "/usr/include/unistd.h" 3 4 extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ; extern int dup (int __fd) __attribute__ ((__nothrow__)) ; extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__)); # 538 "/usr/include/unistd.h" 3 4 extern char **__environ; extern int execve (__const char *__path, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) __attribute__ ((__nothrow__)); extern int execv (__const char *__path, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execle (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execl (__const char *__path, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execvp (__const char *__file, char *__const __argv[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int execlp (__const char *__file, __const char *__arg, ...) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 593 "/usr/include/unistd.h" 3 4 extern int nice (int __inc) __attribute__ ((__nothrow__)) ; extern void _exit (int __status) __attribute__ ((__noreturn__)); # 1 "/usr/include/bits/confname.h" 1 3 4 # 26 "/usr/include/bits/confname.h" 3 4 enum { _PC_LINK_MAX, _PC_MAX_CANON, _PC_MAX_INPUT, _PC_NAME_MAX, _PC_PATH_MAX, _PC_PIPE_BUF, _PC_CHOWN_RESTRICTED, _PC_NO_TRUNC, _PC_VDISABLE, _PC_SYNC_IO, _PC_ASYNC_IO, _PC_PRIO_IO, _PC_SOCK_MAXBUF, _PC_FILESIZEBITS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, _PC_ALLOC_SIZE_MIN, _PC_SYMLINK_MAX, _PC_2_SYMLINKS }; enum { _SC_ARG_MAX, _SC_CHILD_MAX, _SC_CLK_TCK, _SC_NGROUPS_MAX, _SC_OPEN_MAX, _SC_STREAM_MAX, _SC_TZNAME_MAX, _SC_JOB_CONTROL, _SC_SAVED_IDS, _SC_REALTIME_SIGNALS, _SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO, _SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES, _SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS, _SC_AIO_LISTIO_MAX, _SC_AIO_MAX, _SC_AIO_PRIO_DELTA_MAX, _SC_DELAYTIMER_MAX, _SC_MQ_OPEN_MAX, _SC_MQ_PRIO_MAX, _SC_VERSION, _SC_PAGESIZE, _SC_RTSIG_MAX, _SC_SEM_NSEMS_MAX, _SC_SEM_VALUE_MAX, _SC_SIGQUEUE_MAX, _SC_TIMER_MAX, _SC_BC_BASE_MAX, _SC_BC_DIM_MAX, _SC_BC_SCALE_MAX, _SC_BC_STRING_MAX, _SC_COLL_WEIGHTS_MAX, _SC_EQUIV_CLASS_MAX, _SC_EXPR_NEST_MAX, _SC_LINE_MAX, _SC_RE_DUP_MAX, _SC_CHARCLASS_NAME_MAX, _SC_2_VERSION, _SC_2_C_BIND, _SC_2_C_DEV, _SC_2_FORT_DEV, _SC_2_FORT_RUN, _SC_2_SW_DEV, _SC_2_LOCALEDEF, _SC_PII, _SC_PII_XTI, _SC_PII_SOCKET, _SC_PII_INTERNET, _SC_PII_OSI, _SC_POLL, _SC_SELECT, _SC_UIO_MAXIOV, _SC_IOV_MAX = _SC_UIO_MAXIOV, _SC_PII_INTERNET_STREAM, _SC_PII_INTERNET_DGRAM, _SC_PII_OSI_COTS, _SC_PII_OSI_CLTS, _SC_PII_OSI_M, _SC_T_IOV_MAX, _SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_GETGR_R_SIZE_MAX, _SC_GETPW_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_TTY_NAME_MAX, _SC_THREAD_DESTRUCTOR_ITERATIONS, _SC_THREAD_KEYS_MAX, _SC_THREAD_STACK_MIN, _SC_THREAD_THREADS_MAX, _SC_THREAD_ATTR_STACKADDR, _SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING, _SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT, _SC_THREAD_PROCESS_SHARED, _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES, _SC_AVPHYS_PAGES, _SC_ATEXIT_MAX, _SC_PASS_MAX, _SC_XOPEN_VERSION, _SC_XOPEN_XCU_VERSION, _SC_XOPEN_UNIX, _SC_XOPEN_CRYPT, _SC_XOPEN_ENH_I18N, _SC_XOPEN_SHM, _SC_2_CHAR_TERM, _SC_2_C_VERSION, _SC_2_UPE, _SC_XOPEN_XPG2, _SC_XOPEN_XPG3, _SC_XOPEN_XPG4, _SC_CHAR_BIT, _SC_CHAR_MAX, _SC_CHAR_MIN, _SC_INT_MAX, _SC_INT_MIN, _SC_LONG_BIT, _SC_WORD_BIT, _SC_MB_LEN_MAX, _SC_NZERO, _SC_SSIZE_MAX, _SC_SCHAR_MAX, _SC_SCHAR_MIN, _SC_SHRT_MAX, _SC_SHRT_MIN, _SC_UCHAR_MAX, _SC_UINT_MAX, _SC_ULONG_MAX, _SC_USHRT_MAX, _SC_NL_ARGMAX, _SC_NL_LANGMAX, _SC_NL_MSGMAX, _SC_NL_NMAX, _SC_NL_SETMAX, _SC_NL_TEXTMAX, _SC_XBS5_ILP32_OFF32, _SC_XBS5_ILP32_OFFBIG, _SC_XBS5_LP64_OFF64, _SC_XBS5_LPBIG_OFFBIG, _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME, _SC_XOPEN_REALTIME_THREADS, _SC_ADVISORY_INFO, _SC_BARRIERS, _SC_BASE, _SC_C_LANG_SUPPORT, _SC_C_LANG_SUPPORT_R, _SC_CLOCK_SELECTION, _SC_CPUTIME, _SC_THREAD_CPUTIME, _SC_DEVICE_IO, _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO, _SC_PIPE, _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM, _SC_MONOTONIC_CLOCK, _SC_MULTI_PROCESS, _SC_SINGLE_PROCESS, _SC_NETWORKING, _SC_READER_WRITER_LOCKS, _SC_SPIN_LOCKS, _SC_REGEXP, _SC_REGEX_VERSION, _SC_SHELL, _SC_SIGNALS, _SC_SPAWN, _SC_SPORADIC_SERVER, _SC_THREAD_SPORADIC_SERVER, _SC_SYSTEM_DATABASE, _SC_SYSTEM_DATABASE_R, _SC_TIMEOUTS, _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R, _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK, _SC_SYMLOOP_MAX, _SC_STREAMS, _SC_2_PBS_CHECKPOINT, _SC_V6_ILP32_OFF32, _SC_V6_ILP32_OFFBIG, _SC_V6_LP64_OFF64, _SC_V6_LPBIG_OFFBIG, _SC_HOST_NAME_MAX, _SC_TRACE, _SC_TRACE_EVENT_FILTER, _SC_TRACE_INHERIT, _SC_TRACE_LOG, _SC_LEVEL1_ICACHE_SIZE, _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE, _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC, _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE, _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE, _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC, _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE, _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE, _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, _SC_RAW_SOCKETS, _SC_V7_ILP32_OFF32, _SC_V7_ILP32_OFFBIG, _SC_V7_LP64_OFF64, _SC_V7_LPBIG_OFFBIG, _SC_SS_REPL_MAX, _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS, _SC_THREAD_ROBUST_PRIO_INHERIT, _SC_THREAD_ROBUST_PRIO_PROTECT }; enum { _CS_PATH, _CS_V6_WIDTH_RESTRICTED_ENVS, _CS_GNU_LIBC_VERSION, _CS_GNU_LIBPTHREAD_VERSION, _CS_V5_WIDTH_RESTRICTED_ENVS, _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_LFS_CFLAGS = 1000, _CS_LFS_LDFLAGS, _CS_LFS_LIBS, _CS_LFS_LINTFLAGS, _CS_LFS64_CFLAGS, _CS_LFS64_LDFLAGS, _CS_LFS64_LIBS, _CS_LFS64_LINTFLAGS, _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, _CS_XBS5_ILP32_OFF32_LDFLAGS, _CS_XBS5_ILP32_OFF32_LIBS, _CS_XBS5_ILP32_OFF32_LINTFLAGS, _CS_XBS5_ILP32_OFFBIG_CFLAGS, _CS_XBS5_ILP32_OFFBIG_LDFLAGS, _CS_XBS5_ILP32_OFFBIG_LIBS, _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, _CS_XBS5_LP64_OFF64_CFLAGS, _CS_XBS5_LP64_OFF64_LDFLAGS, _CS_XBS5_LP64_OFF64_LIBS, _CS_XBS5_LP64_OFF64_LINTFLAGS, _CS_XBS5_LPBIG_OFFBIG_CFLAGS, _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, _CS_XBS5_LPBIG_OFFBIG_LIBS, _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V6_ILP32_OFF32_CFLAGS, _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, _CS_POSIX_V6_ILP32_OFF32_LIBS, _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, _CS_POSIX_V7_ILP32_OFF32_CFLAGS, _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, _CS_POSIX_V7_ILP32_OFF32_LIBS, _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, _CS_POSIX_V7_ILP32_OFFBIG_LIBS, _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, _CS_POSIX_V7_LP64_OFF64_CFLAGS, _CS_POSIX_V7_LP64_OFF64_LDFLAGS, _CS_POSIX_V7_LP64_OFF64_LIBS, _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS }; # 605 "/usr/include/unistd.h" 2 3 4 extern long int pathconf (__const char *__path, int __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__)); extern long int sysconf (int __name) __attribute__ ((__nothrow__)); extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__)); extern __pid_t getpid (void) __attribute__ ((__nothrow__)); extern __pid_t getppid (void) __attribute__ ((__nothrow__)); extern __pid_t getpgrp (void) __attribute__ ((__nothrow__)); # 641 "/usr/include/unistd.h" 3 4 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__)); # 650 "/usr/include/unistd.h" 3 4 extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__)); # 667 "/usr/include/unistd.h" 3 4 extern int setpgrp (void) __attribute__ ((__nothrow__)); # 684 "/usr/include/unistd.h" 3 4 extern __pid_t setsid (void) __attribute__ ((__nothrow__)); extern __uid_t getuid (void) __attribute__ ((__nothrow__)); extern __uid_t geteuid (void) __attribute__ ((__nothrow__)); extern __gid_t getgid (void) __attribute__ ((__nothrow__)); extern __gid_t getegid (void) __attribute__ ((__nothrow__)); extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) ; # 717 "/usr/include/unistd.h" 3 4 extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__)); extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__)); extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__)); extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__)); extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__)); # 773 "/usr/include/unistd.h" 3 4 extern __pid_t fork (void) __attribute__ ((__nothrow__)); extern __pid_t vfork (void) __attribute__ ((__nothrow__)); extern char *ttyname (int __fd) __attribute__ ((__nothrow__)); extern int ttyname_r (int __fd, char *__buf, size_t __buflen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ; extern int isatty (int __fd) __attribute__ ((__nothrow__)); extern int ttyslot (void) __attribute__ ((__nothrow__)); extern int link (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int linkat (int __fromfd, __const char *__from, int __tofd, __const char *__to, int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) ; extern int symlink (__const char *__from, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ; extern ssize_t readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ; extern int symlinkat (__const char *__from, int __tofd, __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ; extern ssize_t readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) ; extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int unlinkat (int __fd, __const char *__name, int __flag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__)); extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__)); extern char *getlogin (void); extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); # 887 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/getopt.h" 1 3 4 # 59 "/usr/include/getopt.h" 3 4 extern char *optarg; # 73 "/usr/include/getopt.h" 3 4 extern int optind; extern int opterr; extern int optopt; # 152 "/usr/include/getopt.h" 3 4 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) __attribute__ ((__nothrow__)); # 888 "/usr/include/unistd.h" 2 3 4 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int sethostname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int sethostid (long int __id) __attribute__ ((__nothrow__)) ; extern int getdomainname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int setdomainname (__const char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int vhangup (void) __attribute__ ((__nothrow__)); extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern int profil (unsigned short int *__sample_buffer, size_t __size, size_t __offset, unsigned int __scale) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int acct (__const char *__name) __attribute__ ((__nothrow__)); extern char *getusershell (void) __attribute__ ((__nothrow__)); extern void endusershell (void) __attribute__ ((__nothrow__)); extern void setusershell (void) __attribute__ ((__nothrow__)); extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) ; extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); # 973 "/usr/include/unistd.h" 3 4 extern int fsync (int __fd); extern long int gethostid (void); extern void sync (void) __attribute__ ((__nothrow__)); extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern int getdtablesize (void) __attribute__ ((__nothrow__)); extern int truncate (__const char *__file, __off_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; # 1020 "/usr/include/unistd.h" 3 4 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) ; # 1040 "/usr/include/unistd.h" 3 4 extern int brk (void *__addr) __attribute__ ((__nothrow__)) ; extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__)); # 1061 "/usr/include/unistd.h" 3 4 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__)); # 1084 "/usr/include/unistd.h" 3 4 extern int lockf (int __fd, int __cmd, __off_t __len) ; # 1115 "/usr/include/unistd.h" 3 4 extern int fdatasync (int __fildes); # 1153 "/usr/include/unistd.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_UNISTD_H" to "1" ================================================================================ TEST check from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:77) TESTING: check from config.headers(config/BuildSystem/config/headers.py:77) Checks for "header", and defines HAVE_"header" if found Checking for header: netinet/in.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/netinet/in.h" 1 3 4 # 23 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/netinet/in.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 1 3 4 # 9 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 27 "/usr/include/stdint.h" 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 28 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/stdint.h" 2 3 4 # 37 "/usr/include/stdint.h" 3 4 typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; typedef long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; typedef unsigned long int uint64_t; # 66 "/usr/include/stdint.h" 3 4 typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; typedef long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; typedef unsigned long int uint_least64_t; # 91 "/usr/include/stdint.h" 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 104 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 120 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; typedef unsigned long int uintptr_t; # 135 "/usr/include/stdint.h" 3 4 typedef long int intmax_t; typedef unsigned long int uintmax_t; # 10 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stdint.h" 2 3 4 # 25 "/usr/include/netinet/in.h" 2 3 4 # 1 "/usr/include/sys/socket.h" 1 3 4 # 26 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/sys/uio.h" 1 3 4 # 24 "/usr/include/sys/uio.h" 3 4 # 1 "/usr/include/sys/types.h" 1 3 4 # 29 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 201 "/usr/include/sys/types.h" 3 4 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 25 "/usr/include/sys/uio.h" 2 3 4 # 1 "/usr/include/bits/uio.h" 1 3 4 # 44 "/usr/include/bits/uio.h" 3 4 struct iovec { void *iov_base; size_t iov_len; }; # 30 "/usr/include/sys/uio.h" 2 3 4 # 40 "/usr/include/sys/uio.h" 3 4 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) ; # 51 "/usr/include/sys/uio.h" 3 4 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) ; # 66 "/usr/include/sys/uio.h" 3 4 extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset) ; # 78 "/usr/include/sys/uio.h" 3 4 extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, __off_t __offset) ; # 121 "/usr/include/sys/uio.h" 3 4 # 29 "/usr/include/sys/socket.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 31 "/usr/include/sys/socket.h" 2 3 4 # 40 "/usr/include/sys/socket.h" 3 4 # 1 "/usr/include/bits/socket.h" 1 3 4 # 29 "/usr/include/bits/socket.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 30 "/usr/include/bits/socket.h" 2 3 4 typedef __socklen_t socklen_t; enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_DCCP = 6, SOCK_PACKET = 10, SOCK_CLOEXEC = 02000000, SOCK_NONBLOCK = 04000 }; # 175 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/bits/sockaddr.h" 1 3 4 # 29 "/usr/include/bits/sockaddr.h" 3 4 typedef unsigned short int sa_family_t; # 176 "/usr/include/bits/socket.h" 2 3 4 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 191 "/usr/include/bits/socket.h" 3 4 struct sockaddr_storage { sa_family_t ss_family; unsigned long int __ss_align; char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000, MSG_CMSG_CLOEXEC = 0x40000000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; size_t msg_iovlen; void *msg_control; size_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 297 "/usr/include/bits/socket.h" 3 4 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) __attribute__ ((__nothrow__)); # 324 "/usr/include/bits/socket.h" 3 4 enum { SCM_RIGHTS = 0x01 }; # 370 "/usr/include/bits/socket.h" 3 4 # 1 "/usr/include/asm/socket.h" 1 3 4 # 1 "/usr/include/asm-generic/socket.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 1 3 4 # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 # 1 "/usr/include/asm/sockios.h" 2 3 4 # 5 "/usr/include/asm-generic/socket.h" 2 3 4 # 1 "/usr/include/asm/socket.h" 2 3 4 # 371 "/usr/include/bits/socket.h" 2 3 4 # 404 "/usr/include/bits/socket.h" 3 4 struct linger { int l_onoff; int l_linger; }; # 41 "/usr/include/sys/socket.h" 2 3 4 struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; enum { SHUT_RD = 0, SHUT_WR, SHUT_RDWR }; # 105 "/usr/include/sys/socket.h" 3 4 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__)); extern int socketpair (int __domain, int __type, int __protocol, int __fds[2]) __attribute__ ((__nothrow__)); extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) __attribute__ ((__nothrow__)); extern int getsockname (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); # 129 "/usr/include/sys/socket.h" 3 4 extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); extern int getpeername (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __len) __attribute__ ((__nothrow__)); extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, int __flags, __const struct sockaddr * __addr, socklen_t __addr_len); # 166 "/usr/include/sys/socket.h" 3 4 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, int __flags); extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); extern int getsockopt (int __fd, int __level, int __optname, void *__restrict __optval, socklen_t *__restrict __optlen) __attribute__ ((__nothrow__)); extern int setsockopt (int __fd, int __level, int __optname, __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__)); extern int listen (int __fd, int __n) __attribute__ ((__nothrow__)); # 214 "/usr/include/sys/socket.h" 3 4 extern int accept (int __fd, struct sockaddr *__restrict __addr, socklen_t *__restrict __addr_len); # 232 "/usr/include/sys/socket.h" 3 4 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__)); extern int sockatmark (int __fd) __attribute__ ((__nothrow__)); extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__)); # 254 "/usr/include/sys/socket.h" 3 4 # 26 "/usr/include/netinet/in.h" 2 3 4 enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_DCCP = 33, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_SCTP = 132, IPPROTO_UDPLITE = 136, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 198 "/usr/include/netinet/in.h" 3 4 struct in6_addr { union { uint8_t __u6_addr8[16]; uint16_t __u6_addr16[8]; uint32_t __u6_addr32[4]; } __in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 225 "/usr/include/netinet/in.h" 3 4 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreq_source { struct in_addr imr_multiaddr; struct in_addr imr_interface; struct in_addr imr_sourceaddr; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; struct group_req { uint32_t gr_interface; struct sockaddr_storage gr_group; }; struct group_source_req { uint32_t gsr_interface; struct sockaddr_storage gsr_group; struct sockaddr_storage gsr_source; }; struct ip_msfilter { struct in_addr imsf_multiaddr; struct in_addr imsf_interface; uint32_t imsf_fmode; uint32_t imsf_numsrc; struct in_addr imsf_slist[1]; }; struct group_filter { uint32_t gf_interface; struct sockaddr_storage gf_group; uint32_t gf_fmode; uint32_t gf_numsrc; struct sockaddr_storage gf_slist[1]; }; # 356 "/usr/include/netinet/in.h" 3 4 # 1 "/usr/include/bits/in.h" 1 3 4 # 86 "/usr/include/bits/in.h" 3 4 struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 357 "/usr/include/netinet/in.h" 2 3 4 # 365 "/usr/include/netinet/in.h" 3 4 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 377 "/usr/include/netinet/in.h" 2 3 4 # 440 "/usr/include/netinet/in.h" 3 4 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__)); extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) __attribute__ ((__nothrow__)); # 565 "/usr/include/netinet/in.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_NETINET_IN_H" to "1" ================================================================================ TEST checkRecursiveMacros from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:218) TESTING: checkRecursiveMacros from config.headers(config/BuildSystem/config/headers.py:218) Checks that the preprocessor allows recursive macros, and if not defines HAVE_BROKEN_RECURSIVE_MACRO Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" void a(int i, int j) {} #define a(b) a(b,__LINE__) int main() { a(0); ; return 0; } ================================================================================ TEST configureCacheDetails from PETSc.utilities.cacheDetails(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/cacheDetails.py:78) TESTING: configureCacheDetails from PETSc.utilities.cacheDetails(config/PETSc/utilities/cacheDetails.py:78) Try to determine the size and associativity of the cache. Pushing language C All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { ; return 0; } Popping language C Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_SIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_SIZE); return (16 <= val && val <= 2147483647) ? val : 32768; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_SIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_SIZE" to "32768" Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_LINESIZE() { long val = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); return (16 <= val && val <= 2147483647) ? val : 32; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_LINESIZE()); fclose(output);; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_LINESIZE" to "32" Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include long getconf_LEVEL1_DCACHE_ASSOC() { long val = sysconf(_SC_LEVEL1_DCACHE_ASSOC); return (0 <= val && val <= 2147483647) ? val : 2; } int main() { FILE *output = fopen("conftestval","w"); if (!output) return 1; fprintf(output,"%ld",getconf_LEVEL1_DCACHE_ASSOC()); fclose(output);; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails/conftest Popping language C Defined "LEVEL1_DCACHE_ASSOC" to "0" ================================================================================ TEST checkMemcmp from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:109) TESTING: checkMemcmp from config.functions(config/BuildSystem/config/functions.py:109) Check for 8-bit clean memcmp All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include void exit(int); int main() { char c0 = 0x40; char c1 = (char) 0x80; char c2 = (char) 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest ================================================================================ TEST checkSysinfo from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:133) TESTING: checkSysinfo from config.functions(config/BuildSystem/config/functions.py:133) Check whether sysinfo takes three arguments, and if it does define HAVE_SYSINFO_3ARG Checking for functions [sysinfo] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysinfo(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysinfo) || defined (__stub___sysinfo) sysinfo_will_always_fail_with_ENOSYS(); #else sysinfo(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_SYSINFO" to "1" Checking for header: linux/kernel.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 11 "/usr/include/linux/kernel.h" 3 4 struct sysinfo { long uptime; unsigned long loads[3]; unsigned long totalram; unsigned long freeram; unsigned long sharedram; unsigned long bufferram; unsigned long totalswap; unsigned long freeswap; unsigned short procs; unsigned short pad; unsigned long totalhigh; unsigned long freehigh; unsigned int mem_unit; char _f[20-2*sizeof(long)-sizeof(int)]; }; # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_LINUX_KERNEL_H" to "1" Checking for header: sys/sysinfo.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/sys/sysinfo.h" 1 3 4 # 22 "/usr/include/sys/sysinfo.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 23 "/usr/include/sys/sysinfo.h" 2 3 4 # 1 "/usr/include/linux/kernel.h" 1 3 4 # 11 "/usr/include/linux/kernel.h" 3 4 struct sysinfo { long uptime; unsigned long loads[3]; unsigned long totalram; unsigned long freeram; unsigned long sharedram; unsigned long bufferram; unsigned long totalswap; unsigned long freeswap; unsigned short procs; unsigned short pad; unsigned long totalhigh; unsigned long freehigh; unsigned int mem_unit; char _f[20-2*sizeof(long)-sizeof(int)]; }; # 26 "/usr/include/sys/sysinfo.h" 2 3 4 extern int sysinfo (struct sysinfo *__info) __attribute__ ((__nothrow__)); extern int get_nprocs_conf (void) __attribute__ ((__nothrow__)); extern int get_nprocs (void) __attribute__ ((__nothrow__)); extern long int get_phys_pages (void) __attribute__ ((__nothrow__)); extern long int get_avphys_pages (void) __attribute__ ((__nothrow__)); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_SYS_SYSINFO_H" to "1" Checking for header: sys/systeminfo.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:28: fatal error: sys/systeminfo.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:4: error: #error "Cannot check sysinfo without special headers" # error "Cannot check sysinfo without special headers" ^ Source: #include "confdefs.h" #include "conffix.h" #ifdef HAVE_LINUX_KERNEL_H # include # include # ifdef HAVE_SYS_SYSINFO_H # include # endif #elif defined(HAVE_SYS_SYSTEMINFO_H) # include #else # error "Cannot check sysinfo without special headers" #endif int main() { char buf[10]; long count=10; sysinfo(1, buf, count); ; return 0; } Compile failed inside link ================================================================================ TEST checkVPrintf from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:156) TESTING: checkVPrintf from config.functions(config/BuildSystem/config/functions.py:156) Checks whether vprintf requires a char * last argument, and if it does defines HAVE_VPRINTF_CHAR Checking for functions [vprintf] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:6: warning: conflicting types for built-in function 'vprintf' char vprintf(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vprintf) || defined (__stub___vprintf) vprintf_will_always_fail_with_ENOSYS(); #else vprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_VPRINTF" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vprintf( "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl ================================================================================ TEST checkVFPrintf from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:163) TESTING: checkVFPrintf from config.functions(config/BuildSystem/config/functions.py:163) Checks whether vfprintf requires a char * last argument, and if it does defines HAVE_VFPRINTF_CHAR Checking for functions [vfprintf] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:6: warning: conflicting types for built-in function 'vfprintf' char vfprintf(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vfprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vfprintf) || defined (__stub___vfprintf) vfprintf_will_always_fail_with_ENOSYS(); #else vfprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_VFPRINTF" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp; vfprintf(stdout, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl ================================================================================ TEST checkVSNPrintf from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:170) TESTING: checkVSNPrintf from config.functions(config/BuildSystem/config/functions.py:170) Checks whether vsnprintf requires a char * last argument, and if it does defines HAVE_VSNPRINTF_CHAR Checking for functions [_vsnprintf] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _vsnprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__vsnprintf) || defined (__stub____vsnprintf) _vsnprintf_will_always_fail_with_ENOSYS(); #else _vsnprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_vsnprintf' collect2: error: ld returned 1 exit status Checking for functions [vsnprintf] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:6: warning: conflicting types for built-in function 'vsnprintf' char vsnprintf(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char vsnprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf) vsnprintf_will_always_fail_with_ENOSYS(); #else vsnprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_VSNPRINTF" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include int main() { va_list Argp;char str[6]; vsnprintf(str,5, "%d", Argp ); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl ================================================================================ TEST checkNanosleep from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:214) TESTING: checkNanosleep from config.functions(config/BuildSystem/config/functions.py:214) Check for functional nanosleep() - as time.h behaves differently for different compiler flags - like -std=c89 Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { struct timespec tp; tp.tv_sec = 0; tp.tv_nsec = (long)(1e9); nanosleep(&tp,0); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_NANOSLEEP" to "1" ================================================================================ TEST checkSignalHandlerType from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:190) TESTING: checkSignalHandlerType from config.functions(config/BuildSystem/config/functions.py:190) Checks the type of C++ signals handlers, and defines SIGNAL_CAST to the correct value Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include static void myhandler(int sig) {} int main() { signal(SIGFPE,myhandler); ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "SIGNAL_CAST" to " " Popping language Cxx ================================================================================ TEST checkFreeReturnType from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:200) TESTING: checkFreeReturnType from config.functions(config/BuildSystem/config/functions.py:200) Checks whether free returns void or int, and defines HAVE_FREE_RETURN_INT Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c: In function 'main': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:6:25: error: void value not ignored as it ought to be int ierr; void *p; ierr = free(p); return 0; ^ Source: #include "confdefs.h" #include "conffix.h" #include int main() { int ierr; void *p; ierr = free(p); return 0; ; return 0; } Compile failed inside link ================================================================================ TEST checkVariableArgumentLists from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:206) TESTING: checkVariableArgumentLists from config.functions(config/BuildSystem/config/functions.py:206) Checks whether the variable argument list functionality is working Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { va_list l1, l2; va_copy(l1, l2); return 0; ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_VA_COPY" to "1" ================================================================================ TEST checkClassify from config.functions(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/functions.py:88) TESTING: checkClassify from config.functions(config/BuildSystem/config/functions.py:88) Recursive decompose to rapidly classify functions as found or missing To confirm that a function is missing, we require a compile/link failure with only that function in a compilation unit. In contrast, we can confirm that many functions are present by compiling them all together in a large compilation unit. We optimistically compile everything together, then trim all functions that were named in the error message and bisect the result. The trimming is only an optimization to increase the likelihood of a big-batch compile succeeding; we do not rely on the compiler naming missing functions. Checking for functions [rand getdomainname _sleep snprintf realpath dlsym bzero _getcwd getwd uname _lseek sleep _access lseek usleep dlclose gethostname clock get_nprocs access _snprintf dlerror mkstemp fork getpagesize sbreak memalign sigset getcwd gethostbyname gettimeofday readlink _set_output_format PXFGETARG sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times time sysctlbyname stricmp] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:16:6: warning: conflicting types for built-in function 'snprintf' char snprintf(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:19:6: warning: conflicting types for built-in function 'bzero' char bzero(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:36:6: warning: conflicting types for built-in function 'fork' char fork(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:48:6: warning: conflicting types for built-in function 'strcasecmp' char strcasecmp(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:52:6: warning: conflicting types for built-in function 'memmove' char memmove(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char _sleep(); char snprintf(); char realpath(); char dlsym(); char bzero(); char _getcwd(); char getwd(); char uname(); char _lseek(); char sleep(); char _access(); char lseek(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char access(); char _snprintf(); char dlerror(); char mkstemp(); char fork(); char getpagesize(); char sbreak(); char memalign(); char sigset(); char getcwd(); char gethostbyname(); char gettimeofday(); char readlink(); char _set_output_format(); char PXFGETARG(); char sigaction(); char strcasecmp(); char dlopen(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); char time(); char sysctlbyname(); char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0x172): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking conftest.c:(.text+0x5a): warning: the `getwd' function is dangerous and should not be used. conftest.c:(.text+0x12c): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking conftest.c:(.text+0x1e): undefined reference to `_sleep' conftest.c:(.text+0x50): undefined reference to `_getcwd' conftest.c:(.text+0x6e): undefined reference to `_lseek' conftest.c:(.text+0x82): undefined reference to `_access' conftest.c:(.text+0xd2): undefined reference to `_snprintf' conftest.c:(.text+0x104): undefined reference to `sbreak' conftest.c:(.text+0x14a): undefined reference to `_set_output_format' conftest.c:(.text+0x154): undefined reference to `PXFGETARG' conftest.c:(.text+0x1cc): undefined reference to `sysctlbyname' conftest.c:(.text+0x1d6): undefined reference to `stricmp' collect2: error: ld returned 1 exit status Checking for functions [rand getdomainname realpath dlsym bzero uname usleep dlclose gethostname clock get_nprocs dlerror mkstemp fork] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:17:6: warning: conflicting types for built-in function 'bzero' char bzero(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:26:6: warning: conflicting types for built-in function 'fork' char fork(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char rand(); char getdomainname(); char realpath(); char dlsym(); char bzero(); char uname(); char usleep(); char dlclose(); char gethostname(); char clock(); char get_nprocs(); char dlerror(); char mkstemp(); char fork(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_rand) || defined (__stub___rand) rand_will_always_fail_with_ENOSYS(); #else rand(); #endif #if defined (__stub_getdomainname) || defined (__stub___getdomainname) getdomainname_will_always_fail_with_ENOSYS(); #else getdomainname(); #endif #if defined (__stub_realpath) || defined (__stub___realpath) realpath_will_always_fail_with_ENOSYS(); #else realpath(); #endif #if defined (__stub_dlsym) || defined (__stub___dlsym) dlsym_will_always_fail_with_ENOSYS(); #else dlsym(); #endif #if defined (__stub_bzero) || defined (__stub___bzero) bzero_will_always_fail_with_ENOSYS(); #else bzero(); #endif #if defined (__stub_uname) || defined (__stub___uname) uname_will_always_fail_with_ENOSYS(); #else uname(); #endif #if defined (__stub_usleep) || defined (__stub___usleep) usleep_will_always_fail_with_ENOSYS(); #else usleep(); #endif #if defined (__stub_dlclose) || defined (__stub___dlclose) dlclose_will_always_fail_with_ENOSYS(); #else dlclose(); #endif #if defined (__stub_gethostname) || defined (__stub___gethostname) gethostname_will_always_fail_with_ENOSYS(); #else gethostname(); #endif #if defined (__stub_clock) || defined (__stub___clock) clock_will_always_fail_with_ENOSYS(); #else clock(); #endif #if defined (__stub_get_nprocs) || defined (__stub___get_nprocs) get_nprocs_will_always_fail_with_ENOSYS(); #else get_nprocs(); #endif #if defined (__stub_dlerror) || defined (__stub___dlerror) dlerror_will_always_fail_with_ENOSYS(); #else dlerror(); #endif #if defined (__stub_mkstemp) || defined (__stub___mkstemp) mkstemp_will_always_fail_with_ENOSYS(); #else mkstemp(); #endif #if defined (__stub_fork) || defined (__stub___fork) fork_will_always_fail_with_ENOSYS(); #else fork(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_RAND" to "1" Defined "HAVE_GETDOMAINNAME" to "1" Defined "HAVE_REALPATH" to "1" Defined "HAVE_DLSYM" to "1" Defined "HAVE_BZERO" to "1" Defined "HAVE_UNAME" to "1" Defined "HAVE_USLEEP" to "1" Defined "HAVE_DLCLOSE" to "1" Defined "HAVE_GETHOSTNAME" to "1" Defined "HAVE_CLOCK" to "1" Defined "HAVE_GET_NPROCS" to "1" Defined "HAVE_DLERROR" to "1" Defined "HAVE_MKSTEMP" to "1" Defined "HAVE_FORK" to "1" Checking for functions [getpagesize memalign sigset gettimeofday readlink sigaction strcasecmp drand48 socket memmove signal popen getrusage times] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:19:6: warning: conflicting types for built-in function 'strcasecmp' char strcasecmp(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:22:6: warning: conflicting types for built-in function 'memmove' char memmove(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getpagesize(); char memalign(); char sigset(); char gettimeofday(); char readlink(); char sigaction(); char strcasecmp(); char drand48(); char socket(); char memmove(); char signal(); char popen(); char getrusage(); char times(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getpagesize) || defined (__stub___getpagesize) getpagesize_will_always_fail_with_ENOSYS(); #else getpagesize(); #endif #if defined (__stub_memalign) || defined (__stub___memalign) memalign_will_always_fail_with_ENOSYS(); #else memalign(); #endif #if defined (__stub_sigset) || defined (__stub___sigset) sigset_will_always_fail_with_ENOSYS(); #else sigset(); #endif #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday) gettimeofday_will_always_fail_with_ENOSYS(); #else gettimeofday(); #endif #if defined (__stub_readlink) || defined (__stub___readlink) readlink_will_always_fail_with_ENOSYS(); #else readlink(); #endif #if defined (__stub_sigaction) || defined (__stub___sigaction) sigaction_will_always_fail_with_ENOSYS(); #else sigaction(); #endif #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) strcasecmp_will_always_fail_with_ENOSYS(); #else strcasecmp(); #endif #if defined (__stub_drand48) || defined (__stub___drand48) drand48_will_always_fail_with_ENOSYS(); #else drand48(); #endif #if defined (__stub_socket) || defined (__stub___socket) socket_will_always_fail_with_ENOSYS(); #else socket(); #endif #if defined (__stub_memmove) || defined (__stub___memmove) memmove_will_always_fail_with_ENOSYS(); #else memmove(); #endif #if defined (__stub_signal) || defined (__stub___signal) signal_will_always_fail_with_ENOSYS(); #else signal(); #endif #if defined (__stub_popen) || defined (__stub___popen) popen_will_always_fail_with_ENOSYS(); #else popen(); #endif #if defined (__stub_getrusage) || defined (__stub___getrusage) getrusage_will_always_fail_with_ENOSYS(); #else getrusage(); #endif #if defined (__stub_times) || defined (__stub___times) times_will_always_fail_with_ENOSYS(); #else times(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_GETPAGESIZE" to "1" Defined "HAVE_MEMALIGN" to "1" Defined "HAVE_SIGSET" to "1" Defined "HAVE_GETTIMEOFDAY" to "1" Defined "HAVE_READLINK" to "1" Defined "HAVE_SIGACTION" to "1" Defined "HAVE_STRCASECMP" to "1" Defined "HAVE_DRAND48" to "1" Defined "HAVE_SOCKET" to "1" Defined "HAVE_MEMMOVE" to "1" Defined "HAVE_SIGNAL" to "1" Defined "HAVE_POPEN" to "1" Defined "HAVE_GETRUSAGE" to "1" Defined "HAVE_TIMES" to "1" Checking for functions [_sleep] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__sleep) || defined (__stub____sleep) _sleep_will_always_fail_with_ENOSYS(); #else _sleep(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_sleep' collect2: error: ld returned 1 exit status Checking for functions [snprintf] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:6: warning: conflicting types for built-in function 'snprintf' char snprintf(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_snprintf) || defined (__stub___snprintf) snprintf_will_always_fail_with_ENOSYS(); #else snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_SNPRINTF" to "1" Checking for functions [_getcwd] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__getcwd) || defined (__stub____getcwd) _getcwd_will_always_fail_with_ENOSYS(); #else _getcwd(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_getcwd' collect2: error: ld returned 1 exit status Checking for functions [getwd] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getwd) || defined (__stub___getwd) getwd_will_always_fail_with_ENOSYS(); #else getwd(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): warning: the `getwd' function is dangerous and should not be used. Defined "HAVE_GETWD" to "1" Checking for functions [_lseek] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__lseek) || defined (__stub____lseek) _lseek_will_always_fail_with_ENOSYS(); #else _lseek(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_lseek' collect2: error: ld returned 1 exit status Checking for functions [sleep] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sleep(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sleep) || defined (__stub___sleep) sleep_will_always_fail_with_ENOSYS(); #else sleep(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_SLEEP" to "1" Checking for functions [_access] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__access) || defined (__stub____access) _access_will_always_fail_with_ENOSYS(); #else _access(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_access' collect2: error: ld returned 1 exit status Checking for functions [lseek] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char lseek(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_lseek) || defined (__stub___lseek) lseek_will_always_fail_with_ENOSYS(); #else lseek(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_LSEEK" to "1" Checking for functions [access] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char access(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_access) || defined (__stub___access) access_will_always_fail_with_ENOSYS(); #else access(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_ACCESS" to "1" Checking for functions [_snprintf] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _snprintf(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__snprintf) || defined (__stub____snprintf) _snprintf_will_always_fail_with_ENOSYS(); #else _snprintf(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_snprintf' collect2: error: ld returned 1 exit status Checking for functions [sbreak] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sbreak(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sbreak) || defined (__stub___sbreak) sbreak_will_always_fail_with_ENOSYS(); #else sbreak(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `sbreak' collect2: error: ld returned 1 exit status Checking for functions [getcwd] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getcwd(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_getcwd) || defined (__stub___getcwd) getcwd_will_always_fail_with_ENOSYS(); #else getcwd(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_GETCWD" to "1" Checking for functions [gethostbyname] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) gethostbyname_will_always_fail_with_ENOSYS(); #else gethostbyname(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_GETHOSTBYNAME" to "1" Checking for functions [_set_output_format] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _set_output_format(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__set_output_format) || defined (__stub____set_output_format) _set_output_format_will_always_fail_with_ENOSYS(); #else _set_output_format(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `_set_output_format' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [dlopen] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dlopen(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_dlopen) || defined (__stub___dlopen) dlopen_will_always_fail_with_ENOSYS(); #else dlopen(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_DLOPEN" to "1" Checking for functions [time] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char time(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_time) || defined (__stub___time) time_will_always_fail_with_ENOSYS(); #else time(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE_TIME" to "1" Checking for functions [sysctlbyname] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sysctlbyname(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_sysctlbyname) || defined (__stub___sysctlbyname) sysctlbyname_will_always_fail_with_ENOSYS(); #else sysctlbyname(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `sysctlbyname' collect2: error: ld returned 1 exit status Checking for functions [stricmp] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char stricmp(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_stricmp) || defined (__stub___stricmp) stricmp_will_always_fail_with_ENOSYS(); #else stricmp(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `stricmp' collect2: error: ld returned 1 exit status ================================================================================ TEST configureMemorySize from PETSc.utilities.getResidentSetSize(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/getResidentSetSize.py:31) TESTING: configureMemorySize from PETSc.utilities.getResidentSetSize(config/PETSc/utilities/getResidentSetSize.py:31) Try to determine how to measure the memory usage Defined "USE_PROC_FOR_SIZE" to "1" Using /proc for PetscMemoryGetCurrentUsage() ================================================================================ TEST configureFeatureTestMacros from PETSc.utilities.featureTestMacros(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/featureTestMacros.py:13) TESTING: configureFeatureTestMacros from PETSc.utilities.featureTestMacros(config/PETSc/utilities/featureTestMacros.py:13) Checks if certain feature test macros are support All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.c:4:20: fatal error: sysctl.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #define _POSIX_C_SOURCE 200112L #include int main() { ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #include int main() { ; return 0; } Defined "_BSD_SOURCE" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _GNU_SOURCE #include int main() { cpu_set_t mset; CPU_ZERO(&mset);; return 0; } Defined "_GNU_SOURCE" to "1" ================================================================================ TEST configureFPTrap from PETSc.utilities.FPTrap(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/FPTrap.py:27) TESTING: configureFPTrap from PETSc.utilities.FPTrap(config/PETSc/utilities/FPTrap.py:27) Checking the handling of floating point traps Checking for header: sigfpe.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:20: fatal error: sigfpe.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: fpxcp.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:19: fatal error: fpxcp.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include Checking for header: floatingpoint.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c:3:27: fatal error: floatingpoint.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include ================================================================================ TEST check_siginfo_t from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:46) TESTING: check_siginfo_t from config.types(config/BuildSystem/config/types.py:46) Checks if siginfo_t exists in signal.h. This check is for windows, and C89 check. Checking for type: siginfo_t All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { siginfo_t a;; return 0; } siginfo_t found Defined "HAVE_SIGINFO_T" to "1" ================================================================================ TEST check__int64 from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:52) TESTING: check__int64 from config.types(config/BuildSystem/config/types.py:52) Checks if __int64 exists. This is primarily for windows. Checking for type: __int64 Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c: In function 'main': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c:13:1: error: unknown type name '__int64' __int64 a;; ^ Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { __int64 a;; return 0; } __int64 found ================================================================================ TEST checkSizeTypes from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:58) TESTING: checkSizeTypes from config.types(config/BuildSystem/config/types.py:58) Checks for types associated with sizes, such as size_t. Checking for type: size_t Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { size_t a;; return 0; } size_t found ================================================================================ TEST checkFileTypes from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:68) TESTING: checkFileTypes from config.types(config/BuildSystem/config/types.py:68) Checks for types associated with files, such as mode_t, off_t, etc. Checking for type: mode_t Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { mode_t a;; return 0; } mode_t found Checking for type: off_t Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { off_t a;; return 0; } off_t found ================================================================================ TEST checkIntegerTypes from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:63) TESTING: checkIntegerTypes from config.types(config/BuildSystem/config/types.py:63) Checks for types associated with integers, such as int32_t. Checking for type: int32_t Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { int32_t a;; return 0; } int32_t found ================================================================================ TEST checkPID from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:74) TESTING: checkPID from config.types(config/BuildSystem/config/types.py:74) Checks for pid_t, and defines it if necessary Checking for type: pid_t Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #endif int main() { pid_t a;; return 0; } pid_t found ================================================================================ TEST checkUID from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:78) TESTING: checkUID from config.types(config/BuildSystem/config/types.py:78) Checks for uid_t and gid_t, and defines them if necessary Source: #include "confdefs.h" #include "conffix.h" #include Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c" 2 # 1 "/usr/include/sys/types.h" 1 3 4 # 27 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 28 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 28 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; # 131 "/usr/include/bits/types.h" 3 4 # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 132 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned long int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __ssize_t; typedef __off64_t __loff_t; typedef __quad_t *__qaddr_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; # 32 "/usr/include/sys/types.h" 2 3 4 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; # 62 "/usr/include/sys/types.h" 3 4 typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; # 100 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 133 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/time.h" 1 3 4 # 74 "/usr/include/time.h" 3 4 typedef __time_t time_t; # 92 "/usr/include/time.h" 3 4 typedef __clockid_t clockid_t; # 104 "/usr/include/time.h" 3 4 typedef __timer_t timer_t; # 134 "/usr/include/sys/types.h" 2 3 4 # 147 "/usr/include/sys/types.h" 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 148 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 195 "/usr/include/sys/types.h" 3 4 typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 217 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/endian.h" 1 3 4 # 37 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/endian.h" 1 3 4 # 38 "/usr/include/endian.h" 2 3 4 # 61 "/usr/include/endian.h" 3 4 # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 28 "/usr/include/bits/byteswap.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 29 "/usr/include/bits/byteswap.h" 2 3 4 # 62 "/usr/include/endian.h" 2 3 4 # 218 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 31 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select.h" 1 3 4 # 23 "/usr/include/bits/select.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/select.h" 2 3 4 # 32 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/sigset.h" 1 3 4 # 24 "/usr/include/bits/sigset.h" 3 4 typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "/usr/include/sys/select.h" 2 3 4 typedef __sigset_t sigset_t; # 1 "/usr/include/time.h" 1 3 4 # 120 "/usr/include/time.h" 3 4 struct timespec { __time_t tv_sec; long int tv_nsec; }; # 45 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 69 "/usr/include/bits/time.h" 3 4 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; typedef long int __fd_mask; # 67 "/usr/include/sys/select.h" 3 4 typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 99 "/usr/include/sys/select.h" 3 4 # 109 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 121 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 221 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/sysmacros.h" 1 3 4 # 30 "/usr/include/sys/sysmacros.h" 3 4 __extension__ extern unsigned int gnu_dev_major (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned int gnu_dev_minor (unsigned long long int __dev) __attribute__ ((__nothrow__)); __extension__ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__)); # 224 "/usr/include/sys/types.h" 2 3 4 # 235 "/usr/include/sys/types.h" 3 4 typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 270 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 23 "/usr/include/bits/pthreadtypes.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 # 50 "/usr/include/bits/pthreadtypes.h" 3 4 typedef unsigned long int pthread_t; typedef union { char __size[56]; long int __align; } pthread_attr_t; typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; # 76 "/usr/include/bits/pthreadtypes.h" 3 4 typedef union { struct __pthread_mutex_s { int __lock; unsigned int __count; int __owner; unsigned int __nusers; int __kind; int __spins; __pthread_list_t __list; # 101 "/usr/include/bits/pthreadtypes.h" 3 4 } __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { struct { int __lock; unsigned int __futex; __extension__ unsigned long long int __total_seq; __extension__ unsigned long long int __wakeup_seq; __extension__ unsigned long long int __woken_seq; void *__mutex; unsigned int __nwaiters; unsigned int __broadcast_seq; } __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; typedef union { struct { int __lock; unsigned int __nr_readers; unsigned int __readers_wakeup; unsigned int __writer_wakeup; unsigned int __nr_readers_queued; unsigned int __nr_writers_queued; int __writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; } __data; # 187 "/usr/include/bits/pthreadtypes.h" 3 4 char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 271 "/usr/include/sys/types.h" 2 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c" 2 ================================================================================ TEST checkSignal from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:85) TESTING: checkSignal from config.types(config/BuildSystem/config/types.py:85) Checks the return type of signal() and defines RETSIGTYPE to that type name Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #include #ifdef signal #undef signal #endif #ifdef __cplusplus extern "C" void (*signal (int, void(*)(int)))(int); #else void (*signal())(); #endif int main() { ; return 0; } Defined "RETSIGTYPE" to "void" ================================================================================ TEST checkC99Complex from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:106) TESTING: checkC99Complex from config.types(config/BuildSystem/config/types.py:106) Check for complex numbers in in C99 std Note that since PETSc source code uses _Complex we test specifically for that, not complex Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { double _Complex x; x = I; ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Defined "HAVE_C99_COMPLEX" to "1" ================================================================================ TEST checkCxxComplex from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:117) TESTING: checkCxxComplex from config.types(config/BuildSystem/config/types.py:117) Check for complex numbers in namespace std Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::complex x; ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Defined "HAVE_CXX_COMPLEX" to "1" Popping language Cxx ================================================================================ TEST checkFortranKind from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:138) TESTING: checkFortranKind from config.types(config/BuildSystem/config/types.py:138) Checks whether selected_int_kind etc work USE_FORTRANKIND Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.F Successful compile: Source: program main integer(kind=selected_int_kind(10)) i real(kind=selected_real_kind(10)) d end Defined "USE_FORTRANKIND" to "1" Popping language FC ================================================================================ TEST checkFortranDReal from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:150) TESTING: checkFortranDReal from config.types(config/BuildSystem/config/types.py:150) Checks whether dreal is provided in Fortran, and if not defines MISSING_DREAL Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.F Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.F:3.16: d = dreal(3.0) 1 Error: Type of argument 'a' in call to 'dreal' at (1) should be COMPLEX(8), not REAL(4) Source: program main double precision d d = dreal(3.0) end Compile failed inside link Defined "MISSING_DREAL" to "1" Popping language FC ================================================================================ TEST checkConst from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:158) TESTING: checkConst from config.types(config/BuildSystem/config/types.py:158) Checks for working const, and if not found defines it to empty string Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; /* This section avoids unused variable warnings */ if (zero.x); if (x[0]); { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (*s); } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; /* Get rid of unused variable warning */ if (foo); } ; return 0; } ================================================================================ TEST checkEndian from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:214) TESTING: checkEndian from config.types(config/BuildSystem/config/types.py:214) If the machine is big endian, defines WORDS_BIGENDIAN Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c: In function 'main': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c:11:3: error: unknown type name 'not' not big endian ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c:11:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' not big endian ^ Source: #include "confdefs.h" #include "conffix.h" #include #ifdef HAVE_SYS_PARAM_H #include #endif int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: char Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(char)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_CHAR" to "1" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: void * Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(void *)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_VOID_P" to "8" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: short Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(short)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_SHORT" to "2" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: int Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(int)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_INT" to "4" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: long long Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(long long)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_LONG_LONG" to "8" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: float Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(float)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_FLOAT" to "4" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: double Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(double)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_DOUBLE" to "8" ================================================================================ TEST checkSizeof from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:267) TESTING: checkSizeof from config.types(config/BuildSystem/config/types.py:267) Determines the size of type "typeName", and defines SIZEOF_"typeName" to be the size Checking for size of type: size_t Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(size_t)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_SIZE_T" to "8" ================================================================================ TEST checkBitsPerByte from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:318) TESTING: checkBitsPerByte from config.types(config/BuildSystem/config/types.py:318) Determine the nubmer of bits per byte and define BITS_PER_BYTE Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #if STDC_HEADERS #include #include #endif int main() { FILE *f = fopen("conftestval", "w"); char val[2]; int i = 0; if (!f) exit(1); val[0]='\1'; val[1]='\0'; while(val[0]) {val[0] <<= 1; i++;} fprintf(f, "%d\n", i); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Defined "BITS_PER_BYTE" to "8" ================================================================================ TEST checkVisibility from config.types(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/types.py:364) TESTING: checkVisibility from config.types(config/BuildSystem/config/types.py:364) ================================================================================ TEST configureMemAlign from PETSc.utilities.memAlign(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/memAlign.py:30) TESTING: configureMemAlign from PETSc.utilities.memAlign(config/PETSc/utilities/memAlign.py:30) Choose alignment Defined "MEMALIGN" to "16" Memory alignment is 16 ================================================================================ TEST configureCHUD from PETSc.utilities.CHUD(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/CHUD.py:25) TESTING: configureCHUD from PETSc.utilities.CHUD(config/PETSc/utilities/CHUD.py:25) Determines if the Apple CHUD hardware monitoring utilities are available Executing: uname -s stdout: Linux ================================================================================ TEST check from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:146) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:146) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -lsocket -lnsl -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:146) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:146) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -lfpe -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:146) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:146) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [socket] in library ['socket', 'nsl'] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char socket(); static void _check_socket() { socket(); } int main() { _check_socket();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -lsocket -lnsl -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST check from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:146) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:146) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [handle_sigfpes] in library ['fpe'] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char handle_sigfpes(); static void _check_handle_sigfpes() { handle_sigfpes(); } int main() { _check_handle_sigfpes();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -lfpe -ldl Possible ERROR while running linker: exit code 256 stderr: /usr/bin/ld: cannot find -lfpe collect2: error: ld returned 1 exit status Popping language C ================================================================================ TEST checkMath from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:251) TESTING: checkMath from config.libraries(config/BuildSystem/config/libraries.py:251) Check for sin() in libm, the math library Checking for functions [sin floor log10 pow] in library [''] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double sin(double); static void _check_sin() { double x = 0,y; y = sin(x); ; } double floor(double); static void _check_floor() { double x = 0,y; y = floor(x); ; } double log10(double); static void _check_log10() { double x = 0,y; y = log10(x); ; } double pow(double, double); static void _check_pow() { double x = 0,y ; y = pow(x, x); ; } int main() { _check_sin(); _check_floor(); _check_log10(); _check_pow();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C Math functions are linked in by default ================================================================================ TEST checkMathErf from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:267) TESTING: checkMathErf from config.libraries(config/BuildSystem/config/libraries.py:267) Check for erf() in libm, the math library Checking for functions [erf] in library [] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double erf(double); static void _check_erf() { double x = 0,y; y = erf(x); ; } int main() { _check_erf();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C erf() found Defined "HAVE_ERF" to "1" ================================================================================ TEST checkMathTgamma from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:276) TESTING: checkMathTgamma from config.libraries(config/BuildSystem/config/libraries.py:276) Check for tgama() in libm, the math library Checking for functions [tgamma] in library [] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ double tgamma(double); static void _check_tgamma() { double x = 0,y; y = tgamma(x); ; } int main() { _check_tgamma();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C tgamma() found Defined "HAVE_TGAMMA" to "1" ================================================================================ TEST checkMathFenv from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:285) TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:285) Checks if can be used with FE_DFL_ENV Checking for functions [fesetenv] in library [] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; } int main() { _check_fesetenv();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C Defined "HAVE_FENV_H" to "1" ================================================================================ TEST checkCompression from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:293) TESTING: checkCompression from config.libraries(config/BuildSystem/config/libraries.py:293) Check for libz, the compression library Checking for functions [compress uncompress] in library [''] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ int compress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_compress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = compress(dest, &destLen, source, sourceLen); ; } int uncompress(char *dest, unsigned long *destLen, const char *source, unsigned long sourceLen); static void _check_uncompress() { char *dest = 0; const char *source = 0; unsigned long destLen = 0, sourceLen = 0; int ret = 0; ret = uncompress(dest, &destLen, source, sourceLen); ; } int main() { _check_compress(); _check_uncompress();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C Compression functions are linked in by default ================================================================================ TEST checkRealtime from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:314) TESTING: checkRealtime from config.libraries(config/BuildSystem/config/libraries.py:314) Check for presence of clock_gettime() in realtime library (POSIX Realtime extensions) Checking for functions [clock_gettime] in library [''] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_clock_gettime() { struct timespec tp; clock_gettime(CLOCK_REALTIME,&tp);; } int main() { _check_clock_gettime();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C realtime functions are linked in by default ================================================================================ TEST checkDynamic from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:330) TESTING: checkDynamic from config.libraries(config/BuildSystem/config/libraries.py:330) Check for the header and libraries necessary for dynamic library manipulation Checking for functions [dlopen] in library ['dl'] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } int main() { _check_dlopen();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl -ldl Possible ERROR while running linker: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o: In function `_check_dlopen': conftest.c:(.text+0xa): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking Defined "HAVE_LIBDL" to "1" Popping language C Checking for header: dlfcn.h Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 23 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/features.h" 1 3 4 # 347 "/usr/include/features.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 353 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 354 "/usr/include/sys/cdefs.h" 2 3 4 # 348 "/usr/include/features.h" 2 3 4 # 371 "/usr/include/features.h" 3 4 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 5 "/usr/include/gnu/stubs.h" 2 3 4 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4 # 10 "/usr/include/gnu/stubs.h" 2 3 4 # 372 "/usr/include/features.h" 2 3 4 # 24 "/usr/include/dlfcn.h" 2 3 4 # 1 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 1 3 4 # 212 "/opt/gcc/4.9.0/snos/lib/gcc/x86_64-suse-linux/4.9.0/include/stddef.h" 3 4 typedef long unsigned int size_t; # 26 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/bits/dlfcn.h" 1 3 4 # 29 "/usr/include/dlfcn.h" 2 3 4 # 53 "/usr/include/dlfcn.h" 3 4 extern void *dlopen (__const char *__file, int __mode) __attribute__ ((__nothrow__)); extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void *dlsym (void *__restrict __handle, __const char *__restrict __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); # 83 "/usr/include/dlfcn.h" 3 4 extern char *dlerror (void) __attribute__ ((__nothrow__)); # 189 "/usr/include/dlfcn.h" 3 4 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Defined "HAVE_DLFCN_H" to "1" ================================================================================ TEST configureMissingDefines from PETSc.utilities.missing(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/missing.py:39) TESTING: configureMissingDefines from PETSc.utilities.missing(config/PETSc/utilities/missing.py:39) Checks for limits All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_LIMITS_H #include #endif int main() { int i=INT_MAX; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_FLOAT_H #include #endif int main() { double d=DBL_MAX; if (d); ; return 0; } ================================================================================ TEST configureMissingUtypeTypedefs from PETSc.utilities.missing(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/missing.py:49) TESTING: configureMissingUtypeTypedefs from PETSc.utilities.missing(config/PETSc/utilities/missing.py:49) Checks if u_short is undefined Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { u_short foo; ; return 0; } ================================================================================ TEST configureMissingFunctions from PETSc.utilities.missing(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/missing.py:55) TESTING: configureMissingFunctions from PETSc.utilities.missing(config/PETSc/utilities/missing.py:55) Checks for SOCKETS ================================================================================ TEST configureMissingSignals from PETSc.utilities.missing(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/missing.py:75) TESTING: configureMissingSignals from PETSc.utilities.missing(config/PETSc/utilities/missing.py:75) Check for missing signals, and define MISSING_ if necessary Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGABRT; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGALRM; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGBUS; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCHLD; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGCONT; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGFPE; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGHUP; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGILL; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGINT; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGKILL; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGPIPE; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGQUIT; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSEGV; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSTOP; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGSYS; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTERM; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTRAP; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGTSTP; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGURG; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR1; if (i); ; return 0; } Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int i=SIGUSR2; if (i); ; return 0; } ================================================================================ TEST configureMissingGetdomainnamePrototype from PETSc.utilities.missing(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/missing.py:92) TESTING: configureMissingGetdomainnamePrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:92) Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #define _GNU_SOURCE #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.cc Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.cc:4:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE ^ :0:0: note: this is the location of the previous definition Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #define _GNU_SOURCE #ifdef PETSC_HAVE_UNISTD_H #include #endif #ifdef PETSC_HAVE_NETDB_H #include #endif int main() { int (*getdomainname_ptr)(char*,size_t) = getdomainname; char test[10]; if (getdomainname_ptr(test,10)) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -ldl Popping language Cxx ================================================================================ TEST configureMissingSrandPrototype from PETSc.utilities.missing(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/missing.py:117) TESTING: configureMissingSrandPrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:117) Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #define _GNU_SOURCE #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.cc Possible ERROR while running compiler: stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.cc:4:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE ^ :0:0: note: this is the location of the previous definition Source: #include "confdefs.h" #include "conffix.h" #define _BSD_SOURCE #define _GNU_SOURCE #ifdef PETSC_HAVE_STDLIB_H #include #endif int main() { double (*drand48_ptr)(void) = drand48; void (*srand48_ptr)(long int) = srand48; long int seed=10; srand48_ptr(seed); if (drand48_ptr() > 0.5) return 1; ; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing/conftest.o -ldl Popping language Cxx ================================================================================ TEST configureFortranCommandLine from PETSc.utilities.fortranCommandLine(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/PETSc/utilities/fortranCommandLine.py:27) TESTING: configureFortranCommandLine from PETSc.utilities.fortranCommandLine(config/PETSc/utilities/fortranCommandLine.py:27) Check for the mechanism to retrieve command line arguments in Fortran Pushing language FC Checking for functions [] in library [''] [] Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.F Successful compile: Source: program main integer i character*(80) arg call get_command_argument(i,arg) end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language FC Defined "HAVE_FORTRAN_GET_COMMAND_ARGUMENT" to "1" Popping language FC Pushing language C Checking for functions [get_command_argument_] in library [''] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char get_command_argument_(); static void _check_get_command_argument_() { get_command_argument_(); } int main() { _check_get_command_argument_();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o: In function `_check_get_command_argument_': conftest.c:(.text+0xa): undefined reference to `get_command_argument_' collect2: error: ld returned 1 exit status Popping language C Checking for functions [getarg_] in library [''] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char getarg_(); static void _check_getarg_() { getarg_(); } int main() { _check_getarg_();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o: In function `_check_getarg_': conftest.c:(.text+0xa): undefined reference to `getarg_' collect2: error: ld returned 1 exit status Popping language C Checking for functions [ipxfargc_] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ipxfargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_ipxfargc_) || defined (__stub___ipxfargc_) ipxfargc__will_always_fail_with_ENOSYS(); #else ipxfargc_(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `ipxfargc_' collect2: error: ld returned 1 exit status Checking for functions [f90_unix_MP_iargc] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char f90_unix_MP_iargc(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_f90_unix_MP_iargc) || defined (__stub___f90_unix_MP_iargc) f90_unix_MP_iargc_will_always_fail_with_ENOSYS(); #else f90_unix_MP_iargc(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `f90_unix_MP_iargc' collect2: error: ld returned 1 exit status Checking for functions [PXFGETARG] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char PXFGETARG(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_PXFGETARG) || defined (__stub___PXFGETARG) PXFGETARG_will_always_fail_with_ENOSYS(); #else PXFGETARG(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `PXFGETARG' collect2: error: ld returned 1 exit status Checking for functions [iargc_] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char iargc_(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_iargc_) || defined (__stub___iargc_) iargc__will_always_fail_with_ENOSYS(); #else iargc_(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o: In function `main': conftest.c:(.text+0xa): undefined reference to `iargc_' collect2: error: ld returned 1 exit status Checking for functions [GETARG@16] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Possible ERROR while running compiler: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:12: error: stray '@' in program char GETARG@16(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:13:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant char GETARG@16(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c: In function 'main': /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:21:27: error: missing ')' after "defined" #if defined (__stub_GETARG@16) || defined (__stub___GETARG@16) ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:21:28: error: missing binary operator before token "16" #if defined (__stub_GETARG@16) || defined (__stub___GETARG@16) ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:24:7: error: stray '@' in program GETARG@16(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:24:1: error: 'GETARG' undeclared (first use in this function) GETARG@16(); ^ /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:24:1: note: each undeclared identifier is reported only once for each function it appears in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c:24:8: error: expected ';' before numeric constant GETARG@16(); ^ Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char GETARG@16(); #ifdef __cplusplus } #endif int main() { #if defined (__stub_GETARG@16) || defined (__stub___GETARG@16) GETARG@16_will_always_fail_with_ENOSYS(); #else GETARG@16(); #endif ; return 0; } Compile failed inside link Checking for functions [_gfortran_iargc] Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* System header to define __stub macros and hopefully no other prototypes since they would conflict with our 'char funcname()' declaration below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char _gfortran_iargc(); #ifdef __cplusplus } #endif int main() { #if defined (__stub__gfortran_iargc) || defined (__stub____gfortran_iargc) _gfortran_iargc_will_always_fail_with_ENOSYS(); #else _gfortran_iargc(); #endif ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions/conftest.o -ldl Defined "HAVE__GFORTRAN_IARGC" to "1" Defined "HAVE_GFORTRAN_IARGC" to "1" Popping language C ================================================================================ TEST configureCPURelax from config.atomics(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/atomics.py:17) TESTING: configureCPURelax from config.atomics(config/BuildSystem/config/atomics.py:17) Definitions for cpu relax assembly instructions All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("rep; nop" ::: "memory");; return 0; } Defined "CPU_RELAX()" to "asm volatile("rep; nop" ::: "memory")" ================================================================================ TEST configureMemoryBarriers from config.atomics(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/atomics.py:36) TESTING: configureMemoryBarriers from config.atomics(config/BuildSystem/config/atomics.py:36) Definitions for memory barrier instructions Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("mfence":::"memory"); return 0; } Defined "MEMORY_BARRIER()" to "asm volatile("mfence":::"memory")" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("lfence":::"memory"); return 0; } Defined "READ_MEMORY_BARRIER()" to "asm volatile("lfence":::"memory")" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { asm volatile("sfence":::"memory"); return 0; } Defined "WRITE_MEMORY_BARRIER()" to "asm volatile("sfence":::"memory")" ================================================================================ TEST configureMkdir from config.programs(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/programs.py:22) TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/mkdir...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/mkdir...not found Checking for program /opt/cray/hdf5/1.8.13/bin/mkdir...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/mkdir...not found Checking for program /opt/cray/atp/1.7.3/bin/mkdir...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/mkdir...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/mkdir...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/mkdir...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/mkdir...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/mkdir...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/mkdir...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/mkdir...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/mkdir...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/mkdir...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/mkdir...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/mkdir...not found Checking for program /opt/gcc/4.9.0/bin/mkdir...not found Checking for program /opt/cray/craype/2.1.2/bin/mkdir...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/mkdir...not found Checking for program /opt/moab/7.2.7/bin/mkdir...not found Checking for program /opt/moab/7.2.7/sbin/mkdir...not found Checking for program /opt/torque/4.2.7/sbin/mkdir...not found Checking for program /opt/torque/4.2.7/bin/mkdir...not found Checking for program /usr/syscom/nsg/sbin/mkdir...not found Checking for program /usr/syscom/nsg/bin/mkdir...not found Checking for program /opt/modules/3.2.6.7/bin/mkdir...not found Checking for program /global/homes/g/gbisht/bin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /usr/bin/mkdir...not found Checking for program /bin/mkdir...found Executing: /bin/mkdir -p .conftest/tmp Adding -p flag to /bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/bin/mkdir -p" ================================================================================ TEST configureAutoreconf from config.programs(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/programs.py:44) TESTING: configureAutoreconf from config.programs(config/BuildSystem/config/programs.py:44) Check for autoreconf Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/autoreconf...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/autoreconf...not found Checking for program /opt/cray/hdf5/1.8.13/bin/autoreconf...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/autoreconf...not found Checking for program /opt/cray/atp/1.7.3/bin/autoreconf...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/autoreconf...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/autoreconf...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/autoreconf...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/autoreconf...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/autoreconf...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/autoreconf...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/autoreconf...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/autoreconf...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/autoreconf...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/autoreconf...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/autoreconf...not found Checking for program /opt/gcc/4.9.0/bin/autoreconf...not found Checking for program /opt/cray/craype/2.1.2/bin/autoreconf...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/autoreconf...not found Checking for program /opt/moab/7.2.7/bin/autoreconf...not found Checking for program /opt/moab/7.2.7/sbin/autoreconf...not found Checking for program /opt/torque/4.2.7/sbin/autoreconf...not found Checking for program /opt/torque/4.2.7/bin/autoreconf...not found Checking for program /usr/syscom/nsg/sbin/autoreconf...not found Checking for program /usr/syscom/nsg/bin/autoreconf...not found Checking for program /opt/modules/3.2.6.7/bin/autoreconf...not found Checking for program /global/homes/g/gbisht/bin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/bin/autoreconf...found All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.programs Executing: cd /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.programs/autoconfdir&&/usr/bin/autoreconf autoreconf test successful! ================================================================================ TEST configurePrograms from config.programs(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/programs.py:66) TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:66) Check for the programs needed to build and run PETSc Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/sh...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/sh...not found Checking for program /opt/cray/hdf5/1.8.13/bin/sh...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/sh...not found Checking for program /opt/cray/atp/1.7.3/bin/sh...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/sh...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/sh...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/sh...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/sh...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/sh...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/sh...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/sh...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/sh...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/sh...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/sh...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/sh...not found Checking for program /opt/gcc/4.9.0/bin/sh...not found Checking for program /opt/cray/craype/2.1.2/bin/sh...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/sh...not found Checking for program /opt/moab/7.2.7/bin/sh...not found Checking for program /opt/moab/7.2.7/sbin/sh...not found Checking for program /opt/torque/4.2.7/sbin/sh...not found Checking for program /opt/torque/4.2.7/bin/sh...not found Checking for program /usr/syscom/nsg/sbin/sh...not found Checking for program /usr/syscom/nsg/bin/sh...not found Checking for program /opt/modules/3.2.6.7/bin/sh...not found Checking for program /global/homes/g/gbisht/bin/sh...not found Checking for program /usr/local/bin/sh...not found Checking for program /usr/bin/sh...found Defined make macro "SHELL" to "/usr/bin/sh" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/sed...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/sed...not found Checking for program /opt/cray/hdf5/1.8.13/bin/sed...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/sed...not found Checking for program /opt/cray/atp/1.7.3/bin/sed...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/sed...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/sed...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/sed...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/sed...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/sed...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/sed...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/sed...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/sed...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/sed...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/sed...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/sed...not found Checking for program /opt/gcc/4.9.0/bin/sed...not found Checking for program /opt/cray/craype/2.1.2/bin/sed...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/sed...not found Checking for program /opt/moab/7.2.7/bin/sed...not found Checking for program /opt/moab/7.2.7/sbin/sed...not found Checking for program /opt/torque/4.2.7/sbin/sed...not found Checking for program /opt/torque/4.2.7/bin/sed...not found Checking for program /usr/syscom/nsg/sbin/sed...not found Checking for program /usr/syscom/nsg/bin/sed...not found Checking for program /opt/modules/3.2.6.7/bin/sed...not found Checking for program /global/homes/g/gbisht/bin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" Executing: /usr/bin/sed -i s/sed/sd/g "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i Defined make macro "SEDINPLACE" to "/usr/bin/sed -i" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/mv...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/mv...not found Checking for program /opt/cray/hdf5/1.8.13/bin/mv...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/mv...not found Checking for program /opt/cray/atp/1.7.3/bin/mv...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/mv...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/mv...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/mv...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/mv...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/mv...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/mv...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/mv...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/mv...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/mv...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/mv...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/mv...not found Checking for program /opt/gcc/4.9.0/bin/mv...not found Checking for program /opt/cray/craype/2.1.2/bin/mv...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/mv...not found Checking for program /opt/moab/7.2.7/bin/mv...not found Checking for program /opt/moab/7.2.7/sbin/mv...not found Checking for program /opt/torque/4.2.7/sbin/mv...not found Checking for program /opt/torque/4.2.7/bin/mv...not found Checking for program /usr/syscom/nsg/sbin/mv...not found Checking for program /usr/syscom/nsg/bin/mv...not found Checking for program /opt/modules/3.2.6.7/bin/mv...not found Checking for program /global/homes/g/gbisht/bin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /usr/bin/mv...not found Checking for program /bin/mv...found Defined make macro "MV" to "/bin/mv" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/cp...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/cp...not found Checking for program /opt/cray/hdf5/1.8.13/bin/cp...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/cp...not found Checking for program /opt/cray/atp/1.7.3/bin/cp...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/cp...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/cp...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/cp...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/cp...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/cp...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/cp...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/cp...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/cp...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/cp...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/cp...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/cp...not found Checking for program /opt/gcc/4.9.0/bin/cp...not found Checking for program /opt/cray/craype/2.1.2/bin/cp...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/cp...not found Checking for program /opt/moab/7.2.7/bin/cp...not found Checking for program /opt/moab/7.2.7/sbin/cp...not found Checking for program /opt/torque/4.2.7/sbin/cp...not found Checking for program /opt/torque/4.2.7/bin/cp...not found Checking for program /usr/syscom/nsg/sbin/cp...not found Checking for program /usr/syscom/nsg/bin/cp...not found Checking for program /opt/modules/3.2.6.7/bin/cp...not found Checking for program /global/homes/g/gbisht/bin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /usr/bin/cp...not found Checking for program /bin/cp...found Defined make macro "CP" to "/bin/cp" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/grep...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/grep...not found Checking for program /opt/cray/hdf5/1.8.13/bin/grep...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/grep...not found Checking for program /opt/cray/atp/1.7.3/bin/grep...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/grep...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/grep...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/grep...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/grep...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/grep...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/grep...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/grep...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/grep...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/grep...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/grep...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/grep...not found Checking for program /opt/gcc/4.9.0/bin/grep...not found Checking for program /opt/cray/craype/2.1.2/bin/grep...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/grep...not found Checking for program /opt/moab/7.2.7/bin/grep...not found Checking for program /opt/moab/7.2.7/sbin/grep...not found Checking for program /opt/torque/4.2.7/sbin/grep...not found Checking for program /opt/torque/4.2.7/bin/grep...not found Checking for program /usr/syscom/nsg/sbin/grep...not found Checking for program /usr/syscom/nsg/bin/grep...not found Checking for program /opt/modules/3.2.6.7/bin/grep...not found Checking for program /global/homes/g/gbisht/bin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/rm...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/rm...not found Checking for program /opt/cray/hdf5/1.8.13/bin/rm...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/rm...not found Checking for program /opt/cray/atp/1.7.3/bin/rm...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/rm...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/rm...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/rm...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/rm...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/rm...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/rm...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/rm...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/rm...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/rm...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/rm...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/rm...not found Checking for program /opt/gcc/4.9.0/bin/rm...not found Checking for program /opt/cray/craype/2.1.2/bin/rm...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/rm...not found Checking for program /opt/moab/7.2.7/bin/rm...not found Checking for program /opt/moab/7.2.7/sbin/rm...not found Checking for program /opt/torque/4.2.7/sbin/rm...not found Checking for program /opt/torque/4.2.7/bin/rm...not found Checking for program /usr/syscom/nsg/sbin/rm...not found Checking for program /usr/syscom/nsg/bin/rm...not found Checking for program /opt/modules/3.2.6.7/bin/rm...not found Checking for program /global/homes/g/gbisht/bin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /usr/bin/rm...not found Checking for program /bin/rm...found Defined make macro "RM" to "/bin/rm -f" Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/diff...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/diff...not found Checking for program /opt/cray/hdf5/1.8.13/bin/diff...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/diff...not found Checking for program /opt/cray/atp/1.7.3/bin/diff...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/diff...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/diff...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/diff...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/diff...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/diff...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/diff...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/diff...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/diff...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/diff...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/diff...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/diff...not found Checking for program /opt/gcc/4.9.0/bin/diff...not found Checking for program /opt/cray/craype/2.1.2/bin/diff...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/diff...not found Checking for program /opt/moab/7.2.7/bin/diff...not found Checking for program /opt/moab/7.2.7/sbin/diff...not found Checking for program /opt/torque/4.2.7/sbin/diff...not found Checking for program /opt/torque/4.2.7/bin/diff...not found Checking for program /usr/syscom/nsg/sbin/diff...not found Checking for program /usr/syscom/nsg/bin/diff...not found Checking for program /opt/modules/3.2.6.7/bin/diff...not found Checking for program /global/homes/g/gbisht/bin/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.programs/diff1" "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /global/homes/g/gbisht/ps...not found Checking for program /project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/bin/win32fe/ps...not found Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/gzip...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/gzip...not found Checking for program /opt/cray/hdf5/1.8.13/bin/gzip...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/gzip...not found Checking for program /opt/cray/atp/1.7.3/bin/gzip...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/gzip...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/gzip...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/gzip...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/gzip...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/gzip...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/gzip...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/gzip...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/gzip...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/gzip...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/gzip...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/gzip...not found Checking for program /opt/gcc/4.9.0/bin/gzip...not found Checking for program /opt/cray/craype/2.1.2/bin/gzip...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/gzip...not found Checking for program /opt/moab/7.2.7/bin/gzip...not found Checking for program /opt/moab/7.2.7/sbin/gzip...not found Checking for program /opt/torque/4.2.7/sbin/gzip...not found Checking for program /opt/torque/4.2.7/bin/gzip...not found Checking for program /usr/syscom/nsg/sbin/gzip...not found Checking for program /usr/syscom/nsg/bin/gzip...not found Checking for program /opt/modules/3.2.6.7/bin/gzip...not found Checking for program /global/homes/g/gbisht/bin/gzip...not found Checking for program /usr/local/bin/gzip...not found Checking for program /usr/bin/gzip...found Defined make macro "GZIP" to "/usr/bin/gzip" Defined "HAVE_GZIP" to "1" Defined make macro "PYTHON" to "/usr/bin/python" ================================================================================ TEST configureMake from config.packages.make(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/make.py:60) TESTING: configureMake from config.packages.make(config/BuildSystem/config/packages/make.py:60) Check for user specified make - or gmake, make Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/gmake...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/gmake...not found Checking for program /opt/cray/hdf5/1.8.13/bin/gmake...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/gmake...not found Checking for program /opt/cray/atp/1.7.3/bin/gmake...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/gmake...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/gmake...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/gmake...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/gmake...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/gmake...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/gmake...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/gmake...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/gmake...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/gmake...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/gmake...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/gmake...not found Checking for program /opt/gcc/4.9.0/bin/gmake...not found Checking for program /opt/cray/craype/2.1.2/bin/gmake...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/gmake...not found Checking for program /opt/moab/7.2.7/bin/gmake...not found Checking for program /opt/moab/7.2.7/sbin/gmake...not found Checking for program /opt/torque/4.2.7/sbin/gmake...not found Checking for program /opt/torque/4.2.7/bin/gmake...not found Checking for program /usr/syscom/nsg/sbin/gmake...not found Checking for program /usr/syscom/nsg/bin/gmake...not found Checking for program /opt/modules/3.2.6.7/bin/gmake...not found Checking for program /global/homes/g/gbisht/bin/gmake...not found Checking for program /usr/local/bin/gmake...not found Checking for program /usr/bin/gmake...found Defined make macro "MAKE" to "/usr/bin/gmake" ================================================================================ TEST configureCheckGNUMake from config.packages.make(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/make.py:78) TESTING: configureCheckGNUMake from config.packages.make(config/BuildSystem/config/packages/make.py:78) Check for GNU make Checking for program /usr/common/usg/python/mercurial/2.7.1/bin/strings...not found Checking for program /opt/cray/hdf5-parallel/1.8.13/bin/strings...not found Checking for program /opt/cray/hdf5/1.8.13/bin/strings...not found Checking for program /usr/common/usg/cmake/2.8.11.2/bin/strings...not found Checking for program /opt/cray/atp/1.7.3/bin/strings...not found Checking for program /opt/cray/rca/1.0.0-2.0502.51491.3.92.ari/bin/strings...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/sbin/strings...not found Checking for program /opt/cray/alps/5.2.1-2.0502.8712.10.32.ari/bin/strings...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/sbin/strings...not found Checking for program /opt/cray/csa/3.0.0-1_2.0502.51200.1.108.ari/bin/strings...not found Checking for program /opt/cray/job/1.5.5-0.1_2.0502.52111.3.39.ari/bin/strings...not found Checking for program /opt/cray/xpmem/0.1-2.0502.51169.1.11.ari/bin/strings...not found Checking for program /opt/cray/dmapp/7.0.1-1.0502.9080.9.32.ari/bin/strings...not found Checking for program /opt/cray/pmi/5.0.4-1.0000.10161.132.4.ari/bin/strings...not found Checking for program /opt/cray/ugni/5.0-1.0502.9037.7.26.ari/bin/strings...not found Checking for program /opt/cray/udreg/2.3.2-1.0502.8763.1.11.ari/bin/strings...not found Checking for program /opt/gcc/4.9.0/bin/strings...not found Checking for program /opt/cray/craype/2.1.2/bin/strings...not found Checking for program /global/project/projectdirs/ccsm1/esmf/ESMF_5_3_0_pgi12.5-0/bin/bing/Unicos.pgi.64.mpi.default/strings...not found Checking for program /opt/moab/7.2.7/bin/strings...not found Checking for program /opt/moab/7.2.7/sbin/strings...not found Checking for program /opt/torque/4.2.7/sbin/strings...not found Checking for program /opt/torque/4.2.7/bin/strings...not found Checking for program /usr/syscom/nsg/sbin/strings...not found Checking for program /usr/syscom/nsg/bin/strings...not found Checking for program /opt/modules/3.2.6.7/bin/strings...not found Checking for program /global/homes/g/gbisht/bin/strings...not found Checking for program /usr/local/bin/strings...not found Checking for program /usr/bin/strings...found Executing: /usr/bin/strings /usr/bin/gmake stdout: /lib64/ld-linux-x86-64.so.2 SuSESuSE librt.so.1 __gmon_start__ _Jv_RegisterClasses clock_gettime libc.so.6 fflush strcpy __rawmemchr __printf_chk fnmatch readdir _IO_putc setlocale fopen strsignal strncmp optind strrchr wait pipe __strdup dcgettext closedir sigprocmask __stack_chk_fail __lxstat unlink realloc abort stdin _exit getpid kill __assert_fail mkstemp strtod strtol feof getloadavg fgets getpwnam calloc strlen sigemptyset memset glob strstr __errno_location chdir dup2 __fprintf_chk sigaddset ctime putenv stdout fputs lseek memcpy fclose malloc remove __strncpy_chk opendir getenv __ctype_b_loc sscanf optarg stderr alarm getlogin readlink setrlimit getopt_long execvp __fxstat __realpath_chk getcwd fwrite fread gettimeofday sigaction waitpid localtime strchr vfork __vfprintf_chk fdopen qsort __strcpy_chk __ctype_tolower_loc setvbuf fcntl __sprintf_chk bsd_signal __xstat getrlimit memmove bindtextdomain opterr strcmp strerror __libc_start_main ferror globfree __environ __cxa_atexit GLIBC_2.2.5 GLIBC_2.4 GLIBC_2.3 GLIBC_2.3.4 5B^" %D^" %B^" %:^" %2^" %*^" %"^" %z]" %r]" %j]" %b]" %Z]" %R]" %J]" %B]" %:]" %2]" %*]" %"]" %z\" %r\" %j\" %b\" %Z\" %R\" %J\" %B\" %:\" %2\" %*\" %"\" %z[" %r[" %j[" %b[" %Z[" %R[" %J[" %B[" %:[" %2[" %*[" %"[" fff. ATSH t^F" -3F" []A\A] AVAUI ATUSH t$0I D$(I ->E" H[]A\A]A^A_ H[]A\A]A^ D$$I |$(H t$0H D$$f D$$H |$(f L;l$ t=H;-FC" L;%QB" D$hu ffffff. AVAUATUSH H9T$ []A\A]A^A_ =.C" l$ H AWAVAUATSH [A\A]A^A_ =Z;" ffff. L;%s;" []A\A] []A\A] []A\A] ffffff. StZH D$ H D$ H E(@t+ U(E1 E(u^H =[." \$(H l$0L d$8L l$@L t$HH |$PH %{8" fffff. ATSH %A-" D$ Hi L;d$ I \$(H l$0L d$8L l$@L t$HL |$PH H9D$ wPIc L9d$ 5L*" |$0H 5 )" D$81 \$0H \$8H t$@H |$ H |$PH D$8dH3 @[]A\ D$81 T$8dH3 \$@H l$HL d$PH ffff. %R!" l$ L t$(L |$0H l$ L t$(L |$0H AWAVI AUATUSH E@I;E@v []A\A]A^A_ fff. fffff. H;-Q <.u1 t% ARFILENAMES/ # commands to execute (built-in): (from `%s', line %lu): %.*s *** [%s] Deleting file `%s' *** Deleting file `%s' unlink: kill $(MAKE) ${MAKE} .SUFFIXES *** [%s] Archive member `%s' may be bogus; not deleted *** Archive member `%s' may be bogus; not deleted ARFLAGS CHECKOUT,v COFLAGS $(CC) -E $(FC) F77FLAGS $(FFLAGS) LINT lint YACC yacc MAKEINFO makeinfo TEXI2DVI texi2dvi CWEAVE cweave CTANGLE ctangle rm -f LINK.o COMPILE.c LINK.c COMPILE.cc COMPILE.C $(COMPILE.cc) COMPILE.cpp LINK.cc LINK.C $(LINK.cc) LINK.cpp YACC.y $(YACC) $(YFLAGS) LEX.l $(LEX) $(LFLAGS) -t COMPILE.f LINK.f COMPILE.F LINK.F COMPILE.r LINK.r COMPILE.def COMPILE.mod COMPILE.p LINK.p LINK.s COMPILE.s LINK.S COMPILE.S PREPROCESS.S $(CC) -E $(CPPFLAGS) PREPROCESS.F PREPROCESS.r LINT.c OUTPUT_OPTION -o $@ .LIBPATTERNS lib%.so lib%.a $(AR) $(ARFLAGS) $@ $< %.out @rm -f $@ cp $< $@ %.w %.ch $(CTANGLE) $^ $@ %.tex $(CWEAVE) $^ $@ $(CHECKOUT,v) RCS/%,v RCS/% SCCS/s.% $(COMPILE.mod) -o $@ -e $@ $^ .def.sym $(COMPILE.def) -o $@ $< cat $< >$@ chmod a+x $@ .s.o $(COMPILE.s) -o $@ $< .S.o $(COMPILE.S) -o $@ $< .c.o .cc.o .C.o .cpp.o .f.o .p.o .F.o .r.o .mod.o $(COMPILE.mod) -o $@ $< .c.ln $(LINT.c) -C$* $< .y.ln .l.ln .y.c .l.c @$(RM) $@ $(LEX.l) $< > $@ .F.f .r.f .l.r .S.s $(PREPROCESS.S) $< > $@ .texinfo.info .texi.info .txinfo.info .tex.dvi $(TEX) $< .texinfo.dvi .texi.dvi .txinfo.dvi .w.c $(CTANGLE) $< - $@ .web.p $(TANGLE) $< .w.tex $(CWEAVE) $< - $@ .web.tex $(WEAVE) $< +$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@) $(CC) $(LDFLAGS) $(TARGET_ARCH) $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(FC) $(FFLAGS) $(TARGET_ARCH) -c $(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c $(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH) $(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH) $(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) $(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH) $(AS) $(ASFLAGS) $(TARGET_MACH) $(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH) $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH) $(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $< $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(COMPILE.c) $(OUTPUT_OPTION) $< $(COMPILE.cc) $(OUTPUT_OPTION) $< $(COMPILE.C) $(OUTPUT_OPTION) $< $(COMPILE.cpp) $(OUTPUT_OPTION) $< $(COMPILE.f) $(OUTPUT_OPTION) $< $(COMPILE.p) $(OUTPUT_OPTION) $< $(COMPILE.F) $(OUTPUT_OPTION) $< $(COMPILE.r) $(OUTPUT_OPTION) $< $(YACC.y) $< $(LINT.c) -C$* y.tab.c $(RM) y.tab.c @$(RM) $*.c $(LEX.l) $< > $*.c $(LINT.c) -i $*.c -o $@ $(RM) $*.c $(YACC.y) $< mv -f y.tab.c $@ $(PREPROCESS.F) $(OUTPUT_OPTION) $< $(PREPROCESS.r) $(OUTPUT_OPTION) $< $(LEX.l) $< > $@ mv -f lex.yy.r $@ $(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@ $(TEXI2DVI) $(TEXI2DVI_FLAGS) $< # Directories # %s: could not be stat'd. files, impossibilities so far. # %s (device %ld, inode %ld): could not be opened. # %s (device %ld, inode %ld): impossibilities in %lu directories. unterminated variable reference warning: undefined variable `%.*s' Recursive variable `%s' references itself (eventually) # Files # files hash-table stats: %04d-%02d-%02d %02d:%02d:%02d .%09d # Not a target: %s:%s | %s # Command-line target. # Also makes: # File does not exist. # File is very old. # Last modified %s # File has been updated. # File has not been updated. # Successfully updated. file.c question_flag # Failed to be updated. Current time *name != '\0' .PRECIOUS .LOW_RESOLUTION_TIME .PHONY .INTERMEDIATE .SECONDARY .EXPORT_ALL_VARIABLES .IGNORE .SILENT .NOTPARALLEL # Precious file (prerequisite of .PRECIOUS). # Phony target (prerequisite of .PHONY). # A default, MAKEFILES, or -include/sinclude makefile. # Implicit rule search has been done. # Implicit rule search has not been done. # Implicit/static pattern stem: `%s' # File is an intermediate prerequisite. # Modification time never checked. # Commands currently running (THIS IS A BUG). # Dependencies commands running (THIS IS A BUG). # Needs to be updated (-q is set). # Invalid value in `update_status' member! # Invalid value in `command_state' member! %s: Timestamp out of range; substituting %s *** Deleting intermediate file `%s' Removing intermediate files... Commands were specified for file `%s' at %s:%lu, Commands for file `%s' were found by implicit rule search, but `%s' is now considered the same file as `%s'. Commands for `%s' will be ignored in favor of those for `%s'. can't rename single-colon `%s' to double-colon `%s' can't rename double-colon `%s' to single-colon `%s' print_file enter_file lookup_file undefined recursive simple %s: '%s' default environment environment override command line automatic basename addprefix %s:%lu: filter abspath addsuffix notdir filter-out findstring firstword flavor join lastword patsubst realpath shell sort strip wildcard wordlist words origin foreach call warning value eval Internal error: func_error: '%s' insufficient number of arguments (%d) to function `%s' unimplemented on this platform: function `%s' non-numeric first argument to `wordlist' function non-numeric second argument to `wordlist' function invalid first argument to `wordlist' function: `%d' non-numeric first argument to `word' function first argument to `word' function must be greater than 0 Cleaning up temporary batch file %s unterminated call to function `%s': missing `%c' Avoiding implicit rule recursion. Trying pattern rule with stem `%.*s'. Rejecting impossible implicit prerequisite `%s'. Rejecting impossible rule prerequisite `%s'. Trying implicit prerequisite `%s'. Trying rule prerequisite `%s'. Found prerequisite `%s' as VPATH `%s' Looking for a rule with intermediate file `%s'. Looking for an implicit rule for `%s'. Looking for archive-member implicit rule for `%s'. job.c ap <= end $(SHELL) $(IFS) %s: Command not found SHELL %s: Shell program not found execvp: write jobserver /bin/sh vfork cannot enforce load limit: getloadavg (remote) [%s] Error %d (ignored) *** [%s] Error %d (core dumped) *** [%s] %s%s remote_status wait .DELETE_ON_ERROR don't Duplicate the job FD read jobs pipe Read returned EBADF. break case continue exec exit login logout read readonly shift switch test trap umask while %s (line %d) Bad shell context (!unixy && !batch_mode_shell) INTERNAL: Freeing child 0x%08lx (%s) but no tokens left! Released token for child 0x%08lx (%s). cannot enforce load limits on this operating system Estimated system load = %f (actual = %f) (max requested = %f) Putting child 0x%08lx (%s) PID %ld%s on the chain. f->command_state == cs_finished *** Waiting for unfinished jobs.... Live child 0x%08lx (%s) PID %ld %s Reaping losing child 0x%08lx PID %ld %s Reaping winning child 0x%08lx PID %ld %s Cleaning up temp batch file %s Removing child 0x%08lx PID %ld%s from chain. Need a job token; we %shave children INTERNAL: no children as we go to sleep on read Obtained token for child 0x%08lx (%s). construct_command_argv_internal start_waiting_job ?%s: Entering directory `%s' %s: Leaving directory `%s' %sThis program built for %s write MAKECMDGOALS Options: This program built for %s MFLAGS MAKEFLAGS /usr/share/locale getcwd .VARIABLES .FEATURES archives check-symlink MAKE_RESTARTS MAKE_COMMAND $(MAKE_COMMAND) MAKE -*-command-variables-*- ${-*-command-variables-*-} MAKEOVERRIDES MAKELEVEL CURDIR TMPDIR /tmp fopen (temporary file) fwrite (temporary file) .DEFAULT .DEFAULT_GOAL %d,%d dup jobserver creating jobs pipe init jobserver pipe Updating makefiles.... Makefile `%s' was not found chdir Re-executing[%u]: %s=%u MAKE_RESTARTS= MAKE_RESTARTS=%u main.c unlink (temporary file): No targets Updating goal targets.... always-make basic debug environment-overrides help ignore-errors include-dir jobs jobserver-fds load-average check-symlink-times just-print old-file print-data-base question no-builtin-rules no-builtin-variables silent no-keep-going touch version no-print-directory what-if warn-undefined-variables quiet stop new-file assume-new assume-old max-load dry-run recon %s: Entering an unknown directory %s: Leaving an unknown directory %s[%u]: Entering an unknown directory %s[%u]: Leaving an unknown directory %s[%u]: Entering directory `%s' %s[%u]: Leaving directory `%s' %sGNU Make %s %sCopyright (C) 2006 Free Software Foundation, Inc. %sThis is free software; see the source for copying conditions. %sThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A %sPARTICULAR PURPOSE. %sThis program built for %s (%s) # Make data base, printed on %s # Finished Make data base on %s INTERNAL: Exiting with %u jobserver tokens (should be 0)! INTERNAL: Exiting with %u jobserver tokens available; should be %u! empty string invalid as file name the `-%c' option requires a non-empty string argument the `-%c' option requires a positive integral argument Usage: %s [options] [target] ... This program built for %s (%s) Report bugs to target-specific order-only second-expansion else-if unknown debug level specification `%s' Makefile from standard input specified twice. internal error: multiple --jobserver-fds options internal error: invalid --jobserver-fds string `%s' warning: -jN forced in submake: disabling jobserver mode. warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Makefile `%s' might loop; not remaking it. Failed to remake makefile `%s'. Included makefile `%s' was not found. .DEFAULT_GOAL contains more than one target No targets specified and no makefile found warning: Clock skew detected. Your build may be incomplete. Couldn't change back to original directory. -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from commands. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any commands; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -p, --print-data-base Print make's internal database. -q, --question Run no commands; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo commands. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. main %s:%lu: *** %s: *** %s[%u]: *** . Stop. virtual memory exhausted %s: %s[%u]: write error: %s write error %s%s: %s $(HOME) HOME /usr/include .INCLUDE_DIRS define endef ifdef ifndef ifeq ifneq else endif extraneous `%s' .POSIX .SECONDEXPANSION invalid syntax in conditional extraneous `endef' empty variable name empty `override' directive invalid `override' directive unexport vpath -include sinclude missing rule before commands missing separator%s read.c *p2 != '\0' v != 0 missing target pattern multiple target patterns missing `endif' Reading makefile `%s' (no default goal) (search path) (don't care) (no ~ expansion) MAKEFILE_LIST Reading makefiles... $(MAKEFILES) /usr/gnu/include /usr/local/include GNUmakefile Makefile warning: NUL character seen; rest of line ignored Extraneous text after `endef' directive missing `endef', unterminated `define' Extraneous text after `%s' directive only one `else' per conditional prerequisites cannot be defined in command scripts mixed implicit and static pattern rules mixed implicit and normal rules target `%s' doesn't match the target pattern target file `%s' has both : and :: entries target `%s' given more than once in the same rule. warning: overriding commands for target `%s' warning: ignoring old commands for target `%s' commands commence before first target (did you mean TAB instead of 8 spaces?) Malformed target-specific variable definition target pattern contains no `%%' eval record_target_var lstat: readlink: $(strip $(.LIBPATTERNS)) %s/%s touch %s touch: open: touch: fstat: touch: read: touch: lseek: touch: write: Pruning file `%s'. Still updating file `%s'. Finished updating file `%s'. File `%s' does not exist. No need to remake target `%s' ; using VPATH name `%s' Must remake target `%s'. Ignoring VPATH name `%s'. remake.c Nothing to be done for `%s'. `%s' is up to date. /usr/lib64 /usr/lib .LIBPATTERNS element `%s' is not a pattern Warning: File `%s' has modification time %.2g s in the future %sNo rule to make target `%s'%s %sNo rule to make target `%s', needed by `%s'%s Considering target file `%s'. Recently tried and failed to update file `%s'. File `%s' was considered already. *** Warning: .LOW_RESOLUTION_TIME file `%s' has a high resolution time stamp Found an implicit rule for `%s'. No implicit rule found for `%s'. Using default commands for `%s'. Circular %s <- %s dependency dropped. Finished prerequisites of target file `%s'. The prerequisites of `%s' are being made. Giving up on target file `%s'. Target `%s' not remade because of errors. Prerequisite `%s' is order-only for target `%s'. Prerequisite `%s' of target `%s' does not exist. Prerequisite `%s' is newer than target `%s'. Prerequisite `%s' is older than target `%s'. Target `%s' is double-colon and has no prerequisites. No commands for `%s' and no prerequisites actually changed. Making `%s' due to always-make flag. Commands of `%s' are being run. Failed to remake target file `%s'. Successfully remade target file `%s'. Target file `%s' needs remade under -q. file->update_status >= 0 && file->update_status <= 2 update_file_1 # Implicit Rules # No implicit rules. # %u implicit rules, %u (%.1f%%) terminal. (%.o) BUG: num_pattern_rules wrong! %u != %u %s # of strings in strcache: %d %s strcache size: total = %d / max = %d / min = %d / avg = %d %s strcache free: total = %d / max = %d / min = %d / avg = %d %s # of strcache buffers: %d strcache.c best->bytesfree > len add_string environment under -e (from `%s', line %lu) define %s endef %s %s= $(subst ,,%s) # Variables %s : variable.c %s%s%s MAKE_VERSION MAKEFILES $(patsubst %/,%,$(dir $@)) $(patsubst %/,%,$(dir $%)) $(patsubst %/,%,$(dir $*)) $(patsubst %/,%,$(dir $<)) $(patsubst %/,%,$(dir $?)) $(patsubst %/,%,$(dir $^)) $(patsubst %/,%,$(dir $+)) $(notdir $@) $(notdir $%) $(notdir $*) $(notdir $<) $(notdir $?) $(notdir $^) $(notdir $+) pop_variable_scope # variable set hash-table stats: # Pattern-specific Variable Values # %u pattern-specific variable values # No pattern-specific variable values. current_variable_set_list->next != ((void *)0) 3.81 x86_64-unknown-linux-gnu # VPATH Search Paths vpath %s %s%c # No `vpath' search paths. # %u `vpath' search paths. $(strip $(VPATH)) $(strip $(GPATH)) # No general (`VPATH' variable) search path. # General (`VPATH' variable) search path: Load=%ld/%ld=%.0f%%, Rehash=%d, Collisions=%ld/%ld=%.0f%% can't allocate %ld bytes for hash table: memory exhausted .out .a .ln .o .c .cc .C .cpp .p .f .F .r .y .l .s .S .mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo .w .ch .web .sh .elc .el /bin/sh -c #;"*?[]&|<>(){}$`^~! Defined make macro "MAKE_IS_GNUMAKE" to "1" Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code [] Defined make rule "libcxx" with dependencies "${LIBNAME}(${OBJSCXX})" and code [] Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} ================================================================================ TEST configureMakeNP from config.packages.make(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/make.py:122) TESTING: configureMakeNP from config.packages.make(config/BuildSystem/config/packages/make.py:122) check no of cores on the build machine [perhaps to do make '-j ncores'] module multiprocessing found 32 cores: using make_np = 24 Defined make macro "MAKE_NP" to "24" Defined make macro "OMAKE_PRINTDIR " to "/usr/bin/gmake --print-directory" Defined make macro "OMAKE" to "/usr/bin/gmake --no-print-directory" Pushing language C ================================================================================ TEST configureLibrary from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:765) TESTING: configureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:765) Calls the regular package configureLibrary and then does an additional test needed by MPI ================================================================================== Checking for a functional MPI Checking for library in User specified root directory MPI: [] Contents: ['lib', 'include'] ================================================================================ TEST check from config.libraries(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/libraries.py:146) TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:146) Checks that the library "libName" contains "funcs", and if it does defines HAVE_LIB"libName" - libDir may be a list of directories - libName may be a list of library names Checking for functions [MPI_Init MPI_Comm_create] in library [] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_Init(); static void _check_MPI_Init() { MPI_Init(); } char MPI_Comm_create(); static void _check_MPI_Comm_create() { MPI_Comm_create(); } int main() { _check_MPI_Init(); _check_MPI_Comm_create();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language C Checking for headers User specified root directory MPI: ['/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include'] Pushing language C ================================================================================ TEST checkInclude from config.headers(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/headers.py:86) TESTING: checkInclude from config.headers(config/BuildSystem/config/headers.py:86) Checks if a particular include file can be found along particular include paths Checking for header files ['mpi.h'] in ['/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include'] Checking include with compiler flags var CPPFLAGS ['/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include'] Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 # 1 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" 1 # 98 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int MPI_Datatype; # 281 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int MPI_Comm; typedef int MPI_Group; typedef int MPI_Win; typedef struct ADIOI_FileD *MPI_File; typedef int MPI_Op; # 364 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef enum MPIR_Win_flavor { MPI_WIN_FLAVOR_CREATE = 1, MPI_WIN_FLAVOR_ALLOCATE = 2, MPI_WIN_FLAVOR_DYNAMIC = 3, MPI_WIN_FLAVOR_SHARED = 4 } MPIR_Win_flavor_t; typedef enum MPIR_Win_model { MPI_WIN_SEPARATE = 1, MPI_WIN_UNIFIED = 2 } MPIR_Win_model_t; typedef enum MPIR_Topo_type { MPI_GRAPH=1, MPI_CART=2, MPI_DIST_GRAPH=3 } MPIR_Topo_type; extern int * const MPI_UNWEIGHTED; extern int * const MPI_WEIGHTS_EMPTY; # 396 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef void (MPI_Handler_function) ( MPI_Comm *, int *, ... ); typedef int (MPI_Comm_copy_attr_function)(MPI_Comm, int, void *, void *, void *, int *); typedef int (MPI_Comm_delete_attr_function)(MPI_Comm, int, void *, void *); typedef int (MPI_Type_copy_attr_function)(MPI_Datatype, int, void *, void *, void *, int *); typedef int (MPI_Type_delete_attr_function)(MPI_Datatype, int, void *, void *); typedef int (MPI_Win_copy_attr_function)(MPI_Win, int, void *, void *, void *, int *); typedef int (MPI_Win_delete_attr_function)(MPI_Win, int, void *, void *); typedef void (MPI_Comm_errhandler_function)(MPI_Comm *, int *, ...); typedef void (MPI_File_errhandler_function)(MPI_File *, int *, ...); typedef void (MPI_Win_errhandler_function)(MPI_Win *, int *, ...); typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn; typedef MPI_File_errhandler_function MPI_File_errhandler_fn; typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn; # 424 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int MPI_Errhandler; # 445 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int MPI_Request; typedef int MPI_Message; typedef void (MPI_User_function) ( void *, void *, int *, MPI_Datatype * ); typedef int (MPI_Copy_function) ( MPI_Comm, int, void *, void *, void *, int * ); typedef int (MPI_Delete_function) ( MPI_Comm, int, void *, void * ); # 499 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" enum MPIR_Combiner_enum { MPI_COMBINER_NAMED = 1, MPI_COMBINER_DUP = 2, MPI_COMBINER_CONTIGUOUS = 3, MPI_COMBINER_VECTOR = 4, MPI_COMBINER_HVECTOR_INTEGER = 5, MPI_COMBINER_HVECTOR = 6, MPI_COMBINER_INDEXED = 7, MPI_COMBINER_HINDEXED_INTEGER = 8, MPI_COMBINER_HINDEXED = 9, MPI_COMBINER_INDEXED_BLOCK = 10, MPI_COMBINER_STRUCT_INTEGER = 11, MPI_COMBINER_STRUCT = 12, MPI_COMBINER_SUBARRAY = 13, MPI_COMBINER_DARRAY = 14, MPI_COMBINER_F90_REAL = 15, MPI_COMBINER_F90_COMPLEX = 16, MPI_COMBINER_F90_INTEGER = 17, MPI_COMBINER_RESIZED = 18, MPI_COMBINER_HINDEXED_BLOCK = 19 }; typedef int MPI_Info; # 549 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef long MPI_Aint; typedef int MPI_Fint; typedef long long MPI_Count; # 568 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef long long MPI_Offset; typedef struct MPI_Status { int count_lo; int count_hi_and_cancelled; int MPI_SOURCE; int MPI_TAG; int MPI_ERROR; } MPI_Status; struct MPIR_T_enum_s; struct MPIR_T_cvar_handle_s; struct MPIR_T_pvar_handle_s; struct MPIR_T_pvar_session_s; typedef struct MPIR_T_enum_s * MPI_T_enum; typedef struct MPIR_T_cvar_handle_s * MPI_T_cvar_handle; typedef struct MPIR_T_pvar_handle_s * MPI_T_pvar_handle; typedef struct MPIR_T_pvar_session_s * MPI_T_pvar_session; extern struct MPIR_T_pvar_handle_s * const MPI_T_PVAR_ALL_HANDLES; # 604 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef enum MPIR_T_verbosity_t { MPIX_T_VERBOSITY_INVALID = 0, MPI_T_VERBOSITY_USER_BASIC = 221, MPI_T_VERBOSITY_USER_DETAIL, MPI_T_VERBOSITY_USER_ALL, MPI_T_VERBOSITY_TUNER_BASIC, MPI_T_VERBOSITY_TUNER_DETAIL, MPI_T_VERBOSITY_TUNER_ALL, MPI_T_VERBOSITY_MPIDEV_BASIC, MPI_T_VERBOSITY_MPIDEV_DETAIL, MPI_T_VERBOSITY_MPIDEV_ALL } MPIR_T_verbosity_t; typedef enum MPIR_T_bind_t { MPIX_T_BIND_INVALID = 0, MPI_T_BIND_NO_OBJECT = 9700, MPI_T_BIND_MPI_COMM, MPI_T_BIND_MPI_DATATYPE, MPI_T_BIND_MPI_ERRHANDLER, MPI_T_BIND_MPI_FILE, MPI_T_BIND_MPI_GROUP, MPI_T_BIND_MPI_OP, MPI_T_BIND_MPI_REQUEST, MPI_T_BIND_MPI_WIN, MPI_T_BIND_MPI_MESSAGE, MPI_T_BIND_MPI_INFO } MPIR_T_bind_t; typedef enum MPIR_T_scope_t { MPIX_T_SCOPE_INVALID = 0, MPI_T_SCOPE_CONSTANT = 60438, MPI_T_SCOPE_READONLY, MPI_T_SCOPE_LOCAL, MPI_T_SCOPE_GROUP, MPI_T_SCOPE_GROUP_EQ, MPI_T_SCOPE_ALL, MPI_T_SCOPE_ALL_EQ } MPIR_T_scope_t; typedef enum MPIR_T_pvar_class_t { MPIX_T_PVAR_CLASS_INVALID = 0, MPIR_T_PVAR_CLASS_FIRST = 240, MPI_T_PVAR_CLASS_STATE = MPIR_T_PVAR_CLASS_FIRST, MPI_T_PVAR_CLASS_LEVEL, MPI_T_PVAR_CLASS_SIZE, MPI_T_PVAR_CLASS_PERCENTAGE, MPI_T_PVAR_CLASS_HIGHWATERMARK, MPI_T_PVAR_CLASS_LOWWATERMARK, MPI_T_PVAR_CLASS_COUNTER, MPI_T_PVAR_CLASS_AGGREGATE, MPI_T_PVAR_CLASS_TIMER, MPI_T_PVAR_CLASS_GENERIC, MPIR_T_PVAR_CLASS_LAST, MPIR_T_PVAR_CLASS_NUMBER = MPIR_T_PVAR_CLASS_LAST - MPIR_T_PVAR_CLASS_FIRST } MPIR_T_pvar_class_t; # 726 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" extern MPI_Fint * MPI_F_STATUS_IGNORE; extern MPI_Fint * MPI_F_STATUSES_IGNORE; # 745 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int (MPI_Grequest_cancel_function)(void *, int); typedef int (MPI_Grequest_free_function)(void *); typedef int (MPI_Grequest_query_function)(void *, MPI_Status *); typedef int (MPIX_Grequest_poll_function)(void *, MPI_Status *); typedef int (MPIX_Grequest_wait_function)(int, void **, double, MPI_Status *); # 860 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype, int, void *, MPI_Offset, void *); typedef int (MPI_Datarep_extent_function)(MPI_Datatype datatype, MPI_Aint *, void *); # 880 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" int MPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) ; int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count) ; int MPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int MPI_Ssend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int MPI_Rsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int MPI_Buffer_attach(void *buffer, int size) ; int MPI_Buffer_detach(void *buffer_addr, int *size) ; int MPI_Isend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Ibsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Irsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Wait(MPI_Request *request, MPI_Status *status) ; int MPI_Test(MPI_Request *request, int *flag, MPI_Status *status) ; int MPI_Request_free(MPI_Request *request) ; int MPI_Waitany(int count, MPI_Request array_of_requests[], int *indx, MPI_Status *status) ; int MPI_Testany(int count, MPI_Request array_of_requests[], int *indx, int *flag, MPI_Status *status) ; int MPI_Waitall(int count, MPI_Request array_of_requests[], MPI_Status array_of_statuses[]) ; int MPI_Testall(int count, MPI_Request array_of_requests[], int *flag, MPI_Status array_of_statuses[]) ; int MPI_Waitsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]) ; int MPI_Testsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]) ; int MPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status) ; int MPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status) ; int MPI_Cancel(MPI_Request *request) ; int MPI_Test_cancelled(const MPI_Status *status, int *flag) ; int MPI_Send_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Bsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Rsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) ; int MPI_Start(MPI_Request *request) ; int MPI_Startall(int count, MPI_Request array_of_requests[]) ; int MPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status) ; int MPI_Sendrecv_replace(void *buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status) ; int MPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_indexed(int count, const int *array_of_blocklengths, const int *array_of_displacements, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_hindexed(int count, const int *array_of_blocklengths, const MPI_Aint *array_of_displacements, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_struct(int count, const int *array_of_blocklengths, const MPI_Aint *array_of_displacements, const MPI_Datatype *array_of_types, MPI_Datatype *newtype) ; int MPI_Address(const void *location, MPI_Aint *address) ; int MPI_Type_extent(MPI_Datatype datatype, MPI_Aint *extent) ; int MPI_Type_size(MPI_Datatype datatype, int *size) ; int MPI_Type_lb(MPI_Datatype datatype, MPI_Aint *displacement) ; int MPI_Type_ub(MPI_Datatype datatype, MPI_Aint *displacement) ; int MPI_Type_commit(MPI_Datatype *datatype) ; int MPI_Type_free(MPI_Datatype *datatype) ; int MPI_Get_elements(const MPI_Status *status, MPI_Datatype datatype, int *count) ; int MPI_Pack(const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, int outsize, int *position, MPI_Comm comm) ; int MPI_Unpack(const void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype datatype, MPI_Comm comm) ; int MPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int *size) ; int MPI_Barrier(MPI_Comm comm) ; int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) ; int MPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int MPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int MPI_Scatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int MPI_Scatterv(const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int MPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Alltoallv(const void *sendbuf, const int *sendcounts, const int *sdispls, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Alltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm) ; int MPI_Exscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int MPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) ; int MPI_Op_create(MPI_User_function *user_fn, int commute, MPI_Op *op) ; int MPI_Op_free(MPI_Op *op) ; int MPI_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int MPI_Reduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int MPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int MPI_Group_size(MPI_Group group, int *size) ; int MPI_Group_rank(MPI_Group group, int *rank) ; int MPI_Group_translate_ranks(MPI_Group group1, int n, const int ranks1[], MPI_Group group2, int ranks2[]) ; int MPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result) ; int MPI_Comm_group(MPI_Comm comm, MPI_Group *group) ; int MPI_Group_union(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup) ; int MPI_Group_intersection(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup) ; int MPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup) ; int MPI_Group_incl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup) ; int MPI_Group_excl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup) ; int MPI_Group_range_incl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup) ; int MPI_Group_range_excl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup) ; int MPI_Group_free(MPI_Group *group) ; int MPI_Comm_size(MPI_Comm comm, int *size) ; int MPI_Comm_rank(MPI_Comm comm, int *rank) ; int MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result) ; int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm) ; int MPI_Comm_dup_with_info(MPI_Comm comm, MPI_Info info, MPI_Comm *newcomm) ; int MPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm) ; int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm) ; int MPI_Comm_free(MPI_Comm *comm) ; int MPI_Comm_test_inter(MPI_Comm comm, int *flag) ; int MPI_Comm_remote_size(MPI_Comm comm, int *size) ; int MPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group) ; int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm peer_comm, int remote_leader, int tag, MPI_Comm *newintercomm) ; int MPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintracomm) ; int MPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval, void *extra_state) ; int MPI_Keyval_free(int *keyval) ; int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val) ; int MPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag) ; int MPI_Attr_delete(MPI_Comm comm, int keyval) ; int MPI_Topo_test(MPI_Comm comm, int *status) ; int MPI_Cart_create(MPI_Comm comm_old, int ndims, const int dims[], const int periods[], int reorder, MPI_Comm *comm_cart) ; int MPI_Dims_create(int nnodes, int ndims, int dims[]) ; int MPI_Graph_create(MPI_Comm comm_old, int nnodes, const int indx[], const int edges[], int reorder, MPI_Comm *comm_graph) ; int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges) ; int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int indx[], int edges[]) ; int MPI_Cartdim_get(MPI_Comm comm, int *ndims) ; int MPI_Cart_get(MPI_Comm comm, int maxdims, int dims[], int periods[], int coords[]) ; int MPI_Cart_rank(MPI_Comm comm, const int coords[], int *rank) ; int MPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int coords[]) ; int MPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors) ; int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbors[]) ; int MPI_Cart_shift(MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest) ; int MPI_Cart_sub(MPI_Comm comm, const int remain_dims[], MPI_Comm *newcomm) ; int MPI_Cart_map(MPI_Comm comm, int ndims, const int dims[], const int periods[], int *newrank) ; int MPI_Graph_map(MPI_Comm comm, int nnodes, const int indx[], const int edges[], int *newrank) ; int MPI_Get_processor_name(char *name, int *resultlen) ; int MPI_Get_version(int *version, int *subversion) ; int MPI_Get_library_version(char *version, int *resultlen) ; int MPI_Errhandler_create(MPI_Handler_function *function, MPI_Errhandler *errhandler) ; int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler) ; int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler) ; int MPI_Errhandler_free(MPI_Errhandler *errhandler) ; int MPI_Error_string(int errorcode, char *string, int *resultlen) ; int MPI_Error_class(int errorcode, int *errorclass) ; double MPI_Wtime(void) ; double MPI_Wtick(void) ; int MPI_Init(int *argc, char ***argv) ; int MPI_Finalize(void) ; int MPI_Initialized(int *flag) ; int MPI_Abort(MPI_Comm comm, int errorcode) ; int MPI_Pcontrol(const int level, ...) ; int MPIR_Dup_fn(MPI_Comm oldcomm, int keyval, void *extra_state, void *attribute_val_in, void *attribute_val_out, int *flag); int MPI_Close_port(const char *port_name) ; int MPI_Comm_accept(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm) ; int MPI_Comm_connect(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm) ; int MPI_Comm_disconnect(MPI_Comm *comm) ; int MPI_Comm_get_parent(MPI_Comm *parent) ; int MPI_Comm_join(int fd, MPI_Comm *intercomm) ; int MPI_Comm_spawn(const char *command, char *argv[], int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]) ; int MPI_Comm_spawn_multiple(int count, char *array_of_commands[], char **array_of_argv[], const int array_of_maxprocs[], const MPI_Info array_of_info[], int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]) ; int MPI_Lookup_name(const char *service_name, MPI_Info info, char *port_name) ; int MPI_Open_port(MPI_Info info, char *port_name) ; int MPI_Publish_name(const char *service_name, MPI_Info info, const char *port_name) ; int MPI_Unpublish_name(const char *service_name, MPI_Info info, const char *port_name) ; int MPI_Comm_set_info(MPI_Comm comm, MPI_Info info) ; int MPI_Comm_get_info(MPI_Comm comm, MPI_Info *info) ; int MPI_Accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win) ; int MPI_Get(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win) ; int MPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win) ; int MPI_Win_complete(MPI_Win win) ; int MPI_Win_create(void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win) ; int MPI_Win_fence(int assert, MPI_Win win) ; int MPI_Win_free(MPI_Win *win) ; int MPI_Win_get_group(MPI_Win win, MPI_Group *group) ; int MPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win) ; int MPI_Win_post(MPI_Group group, int assert, MPI_Win win) ; int MPI_Win_start(MPI_Group group, int assert, MPI_Win win) ; int MPI_Win_test(MPI_Win win, int *flag) ; int MPI_Win_unlock(int rank, MPI_Win win) ; int MPI_Win_wait(MPI_Win win) ; int MPI_Win_allocate(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win) ; int MPI_Win_allocate_shared(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win) ; int MPI_Win_shared_query(MPI_Win win, int rank, MPI_Aint *size, int *disp_unit, void *baseptr) ; int MPI_Win_create_dynamic(MPI_Info info, MPI_Comm comm, MPI_Win *win) ; int MPI_Win_attach(MPI_Win win, void *base, MPI_Aint size) ; int MPI_Win_detach(MPI_Win win, const void *base) ; int MPI_Win_get_info(MPI_Win win, MPI_Info *info_used) ; int MPI_Win_set_info(MPI_Win win, MPI_Info info) ; int MPI_Get_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win) ; int MPI_Fetch_and_op(const void *origin_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Op op, MPI_Win win) ; int MPI_Compare_and_swap(const void *origin_addr, const void *compare_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Win win) ; int MPI_Rput(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request) ; int MPI_Rget(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request) ; int MPI_Raccumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request) ; int MPI_Rget_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request) ; int MPI_Win_lock_all(int assert, MPI_Win win) ; int MPI_Win_unlock_all(MPI_Win win) ; int MPI_Win_flush(int rank, MPI_Win win) ; int MPI_Win_flush_all(MPI_Win win) ; int MPI_Win_flush_local(int rank, MPI_Win win) ; int MPI_Win_flush_local_all(MPI_Win win) ; int MPI_Win_sync(MPI_Win win) ; int MPI_Add_error_class(int *errorclass) ; int MPI_Add_error_code(int errorclass, int *errorcode) ; int MPI_Add_error_string(int errorcode, const char *string) ; int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode) ; int MPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn, MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval, void *extra_state) ; int MPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval) ; int MPI_Comm_free_keyval(int *comm_keyval) ; int MPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag) ; int MPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen) ; int MPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val) ; int MPI_Comm_set_name(MPI_Comm comm, const char *comm_name) ; int MPI_File_call_errhandler(MPI_File fh, int errorcode) ; int MPI_Grequest_complete(MPI_Request request) ; int MPI_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request) ; int MPI_Init_thread(int *argc, char ***argv, int required, int *provided) ; int MPI_Is_thread_main(int *flag) ; int MPI_Query_thread(int *provided) ; int MPI_Status_set_cancelled(MPI_Status *status, int flag) ; int MPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count) ; int MPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn, MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval, void *extra_state) ; int MPI_Type_delete_attr(MPI_Datatype datatype, int type_keyval) ; int MPI_Type_dup(MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_free_keyval(int *type_keyval) ; int MPI_Type_get_attr(MPI_Datatype datatype, int type_keyval, void *attribute_val, int *flag) ; int MPI_Type_get_contents(MPI_Datatype datatype, int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[]) ; int MPI_Type_get_envelope(MPI_Datatype datatype, int *num_integers, int *num_addresses, int *num_datatypes, int *combiner) ; int MPI_Type_get_name(MPI_Datatype datatype, char *type_name, int *resultlen) ; int MPI_Type_set_attr(MPI_Datatype datatype, int type_keyval, void *attribute_val) ; int MPI_Type_set_name(MPI_Datatype datatype, const char *type_name) ; int MPI_Type_match_size(int typeclass, int size, MPI_Datatype *datatype) ; int MPI_Win_call_errhandler(MPI_Win win, int errorcode) ; int MPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_attr_fn, MPI_Win_delete_attr_function *win_delete_attr_fn, int *win_keyval, void *extra_state) ; int MPI_Win_delete_attr(MPI_Win win, int win_keyval) ; int MPI_Win_free_keyval(int *win_keyval) ; int MPI_Win_get_attr(MPI_Win win, int win_keyval, void *attribute_val, int *flag) ; int MPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen) ; int MPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val) ; int MPI_Win_set_name(MPI_Win win, const char *win_name) ; int MPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr) ; int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *comm_errhandler_fn, MPI_Errhandler *errhandler) ; int MPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *errhandler) ; int MPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler) ; int MPI_File_create_errhandler(MPI_File_errhandler_function *file_errhandler_fn, MPI_Errhandler *errhandler) ; int MPI_File_get_errhandler(MPI_File file, MPI_Errhandler *errhandler) ; int MPI_File_set_errhandler(MPI_File file, MPI_Errhandler errhandler) ; int MPI_Finalized(int *flag) ; int MPI_Free_mem(void *base) ; int MPI_Get_address(const void *location, MPI_Aint *address) ; int MPI_Info_create(MPI_Info *info) ; int MPI_Info_delete(MPI_Info info, const char *key) ; int MPI_Info_dup(MPI_Info info, MPI_Info *newinfo) ; int MPI_Info_free(MPI_Info *info) ; int MPI_Info_get(MPI_Info info, const char *key, int valuelen, char *value, int *flag) ; int MPI_Info_get_nkeys(MPI_Info info, int *nkeys) ; int MPI_Info_get_nthkey(MPI_Info info, int n, char *key) ; int MPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *flag) ; int MPI_Info_set(MPI_Info info, const char *key, const char *value) ; int MPI_Pack_external(const char datarep[], const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outsize, MPI_Aint *position) ; int MPI_Pack_external_size(const char datarep[], int incount, MPI_Datatype datatype, MPI_Aint *size) ; int MPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status) ; int MPI_Status_c2f(const MPI_Status *c_status, MPI_Fint *f_status) ; int MPI_Status_f2c(const MPI_Fint *f_status, MPI_Status *c_status) ; int MPI_Type_create_darray(int size, int rank, int ndims, const int array_of_gsizes[], const int array_of_distribs[], const int array_of_dargs[], const int array_of_psizes[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_create_hindexed(int count, const int array_of_blocklengths[], const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_create_indexed_block(int count, int blocklength, const int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_create_hindexed_block(int count, int blocklength, const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype) ; int MPI_Type_create_struct(int count, const int array_of_blocklengths[], const MPI_Aint array_of_displacements[], const MPI_Datatype array_of_types[], MPI_Datatype *newtype) ; int MPI_Type_create_subarray(int ndims, const int array_of_sizes[], const int array_of_subsizes[], const int array_of_starts[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype) ; int MPI_Type_get_extent(MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *extent) ; int MPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent) ; int MPI_Unpack_external(const char datarep[], const void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype) ; int MPI_Win_create_errhandler(MPI_Win_errhandler_function *win_errhandler_fn, MPI_Errhandler *errhandler) ; int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler) ; int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler) ; int MPI_Type_create_f90_integer(int range, MPI_Datatype *newtype) ; int MPI_Type_create_f90_real(int precision, int range, MPI_Datatype *newtype) ; int MPI_Type_create_f90_complex(int precision, int range, MPI_Datatype *newtype) ; int MPI_Reduce_local(const void *inbuf, void *inoutbuf, int count, MPI_Datatype datatype, MPI_Op op) ; int MPI_Op_commutative(MPI_Op op, int *commute) ; int MPI_Reduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int MPI_Dist_graph_create_adjacent(MPI_Comm comm_old, int indegree, const int sources[], const int sourceweights[], int outdegree, const int destinations[], const int destweights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph) ; int MPI_Dist_graph_create(MPI_Comm comm_old, int n, const int sources[], const int degrees[], const int destinations[], const int weights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph) ; int MPI_Dist_graph_neighbors_count(MPI_Comm comm, int *indegree, int *outdegree, int *weighted) ; int MPI_Dist_graph_neighbors(MPI_Comm comm, int maxindegree, int sources[], int sourceweights[], int maxoutdegree, int destinations[], int destweights[]) ; int MPI_Improbe(int source, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status) ; int MPI_Imrecv(void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Request *request) ; int MPI_Mprobe(int source, int tag, MPI_Comm comm, MPI_Message *message, MPI_Status *status) ; int MPI_Mrecv(void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Status *status) ; int MPI_Comm_idup(MPI_Comm comm, MPI_Comm *newcomm, MPI_Request *request) ; int MPI_Ibarrier(MPI_Comm comm, MPI_Request *request) ; int MPI_Ibcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm, MPI_Request *request) ; int MPI_Igather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int MPI_Igatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int MPI_Iscatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int MPI_Iscatterv(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int MPI_Iallgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Iallgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ialltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ialltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ialltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request) ; int MPI_Ireduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm, MPI_Request *request) ; int MPI_Iallreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int MPI_Ireduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int MPI_Ireduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int MPI_Iscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int MPI_Iexscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int MPI_Ineighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ineighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ineighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ineighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int MPI_Ineighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request) ; int MPI_Neighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Neighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Neighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Neighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm) ; int MPI_Neighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm) ; int MPI_Comm_split_type(MPI_Comm comm, int split_type, int key, MPI_Info info, MPI_Comm *newcomm) ; int MPI_Get_elements_x(const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count) ; int MPI_Status_set_elements_x(MPI_Status *status, MPI_Datatype datatype, MPI_Count count) ; int MPI_Type_get_extent_x(MPI_Datatype datatype, MPI_Count *lb, MPI_Count *extent) ; int MPI_Type_get_true_extent_x(MPI_Datatype datatype, MPI_Count *lb, MPI_Count *extent) ; int MPI_Type_size_x(MPI_Datatype datatype, MPI_Count *size) ; int MPI_Comm_create_group(MPI_Comm comm, MPI_Group group, int tag, MPI_Comm *newcomm) ; int MPIX_Comm_group_failed(MPI_Comm comm, MPI_Group *failed_group) ; int MPIX_Comm_remote_group_failed(MPI_Comm comm, MPI_Group *failed_group) ; int MPIX_Comm_reenable_anysource(MPI_Comm comm, MPI_Group *failed_group) ; int MPI_T_init_thread(int required, int *provided) ; int MPI_T_finalize(void) ; int MPI_T_enum_get_info(MPI_T_enum enumtype, int *num, char *name, int *name_len) ; int MPI_T_enum_get_item(MPI_T_enum enumtype, int indx, int *value, char *name, int *name_len) ; int MPI_T_cvar_get_num(int *num_cvar) ; int MPI_T_cvar_get_info(int cvar_index, char *name, int *name_len, int *verbosity, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *binding, int *scope) ; int MPI_T_cvar_handle_alloc(int cvar_index, void *obj_handle, MPI_T_cvar_handle *handle, int *count) ; int MPI_T_cvar_handle_free(MPI_T_cvar_handle *handle) ; int MPI_T_cvar_read(MPI_T_cvar_handle handle, void *buf) ; int MPI_T_cvar_write(MPI_T_cvar_handle handle, void *buf) ; int MPI_T_pvar_get_num(int *num_pvar) ; int MPI_T_pvar_get_info(int pvar_index, char *name, int *name_len, int *verbosity, int *var_class, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *binding, int *readonly, int *continuous, int *atomic) ; int MPI_T_pvar_session_create(MPI_T_pvar_session *session) ; int MPI_T_pvar_session_free(MPI_T_pvar_session *session) ; int MPI_T_pvar_handle_alloc(MPI_T_pvar_session session, int pvar_index, void *obj_handle, MPI_T_pvar_handle *handle, int *count) ; int MPI_T_pvar_handle_free(MPI_T_pvar_session session, MPI_T_pvar_handle *handle) ; int MPI_T_pvar_start(MPI_T_pvar_session session, MPI_T_pvar_handle handle) ; int MPI_T_pvar_stop(MPI_T_pvar_session session, MPI_T_pvar_handle handle) ; int MPI_T_pvar_read(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf) ; int MPI_T_pvar_write(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf) ; int MPI_T_pvar_reset(MPI_T_pvar_session session, MPI_T_pvar_handle handle) ; int MPI_T_pvar_readreset(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf) ; int MPI_T_category_get_num(int *num_cat) ; int MPI_T_category_get_info(int cat_index, char *name, int *name_len, char *desc, int *desc_len, int *num_cvars, int *num_pvars, int *num_categories) ; int MPI_T_category_get_cvars(int cat_index, int len, int indices[]) ; int MPI_T_category_get_pvars(int cat_index, int len, int indices[]) ; int MPI_T_category_get_categories(int cat_index, int len, int indices[]) ; int MPI_T_category_changed(int *stamp) ; int PMPI_Send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int PMPI_Recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) ; int PMPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count); int PMPI_Bsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int PMPI_Ssend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int PMPI_Rsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) ; int PMPI_Buffer_attach(void *buffer, int size); int PMPI_Buffer_detach(void *buffer_addr, int *size); int PMPI_Isend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ibsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Irsend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Wait(MPI_Request *request, MPI_Status *status); int PMPI_Test(MPI_Request *request, int *flag, MPI_Status *status); int PMPI_Request_free(MPI_Request *request); int PMPI_Waitany(int count, MPI_Request array_of_requests[], int *indx, MPI_Status *status); int PMPI_Testany(int count, MPI_Request array_of_requests[], int *indx, int *flag, MPI_Status *status); int PMPI_Waitall(int count, MPI_Request array_of_requests[], MPI_Status array_of_statuses[]); int PMPI_Testall(int count, MPI_Request array_of_requests[], int *flag, MPI_Status array_of_statuses[]); int PMPI_Waitsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]); int PMPI_Testsome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]); int PMPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag, MPI_Status *status); int PMPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status); int PMPI_Cancel(MPI_Request *request); int PMPI_Test_cancelled(const MPI_Status *status, int *flag); int PMPI_Send_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Bsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ssend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Rsend_init(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) ; int PMPI_Start(MPI_Request *request); int PMPI_Startall(int count, MPI_Request array_of_requests[]); int PMPI_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status) ; int PMPI_Sendrecv_replace(void *buf, int count, MPI_Datatype datatype, int dest, int sendtag, int source, int recvtag, MPI_Comm comm, MPI_Status *status) ; int PMPI_Type_contiguous(int count, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_indexed(int count, const int *array_of_blocklengths, const int *array_of_displacements, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_hindexed(int count, const int *array_of_blocklengths, const MPI_Aint *array_of_displacements, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_struct(int count, const int *array_of_blocklengths, const MPI_Aint *array_of_displacements, const MPI_Datatype *array_of_types, MPI_Datatype *newtype); int PMPI_Address(const void *location, MPI_Aint *address); int PMPI_Type_extent(MPI_Datatype datatype, MPI_Aint *extent); int PMPI_Type_size(MPI_Datatype datatype, int *size); int PMPI_Type_lb(MPI_Datatype datatype, MPI_Aint *displacement); int PMPI_Type_ub(MPI_Datatype datatype, MPI_Aint *displacement); int PMPI_Type_commit(MPI_Datatype *datatype); int PMPI_Type_free(MPI_Datatype *datatype); int PMPI_Get_elements(const MPI_Status *status, MPI_Datatype datatype, int *count); int PMPI_Pack(const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, int outsize, int *position, MPI_Comm comm) ; int PMPI_Unpack(const void *inbuf, int insize, int *position, void *outbuf, int outcount, MPI_Datatype datatype, MPI_Comm comm) ; int PMPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm, int *size); int PMPI_Barrier(MPI_Comm comm); int PMPI_Bcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) ; int PMPI_Gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int PMPI_Gatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int PMPI_Scatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int PMPI_Scatterv(const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) ; int PMPI_Allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Alltoallv(const void *sendbuf, const int *sendcounts, const int *sdispls, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Alltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm); int PMPI_Exscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int PMPI_Reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) ; int PMPI_Op_create(MPI_User_function *user_fn, int commute, MPI_Op *op); int PMPI_Op_free(MPI_Op *op); int PMPI_Allreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int PMPI_Reduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int PMPI_Scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int PMPI_Group_size(MPI_Group group, int *size); int PMPI_Group_rank(MPI_Group group, int *rank); int PMPI_Group_translate_ranks(MPI_Group group1, int n, const int ranks1[], MPI_Group group2, int ranks2[]); int PMPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result); int PMPI_Comm_group(MPI_Comm comm, MPI_Group *group); int PMPI_Group_union(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); int PMPI_Group_intersection(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); int PMPI_Group_difference(MPI_Group group1, MPI_Group group2, MPI_Group *newgroup); int PMPI_Group_incl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup); int PMPI_Group_excl(MPI_Group group, int n, const int ranks[], MPI_Group *newgroup); int PMPI_Group_range_incl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup); int PMPI_Group_range_excl(MPI_Group group, int n, int ranges[][3], MPI_Group *newgroup); int PMPI_Group_free(MPI_Group *group); int PMPI_Comm_size(MPI_Comm comm, int *size); int PMPI_Comm_rank(MPI_Comm comm, int *rank); int PMPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result); int PMPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm); int PMPI_Comm_dup_with_info(MPI_Comm comm, MPI_Info info, MPI_Comm *newcomm); int PMPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm); int PMPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm); int PMPI_Comm_free(MPI_Comm *comm); int PMPI_Comm_test_inter(MPI_Comm comm, int *flag); int PMPI_Comm_remote_size(MPI_Comm comm, int *size); int PMPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group); int PMPI_Intercomm_create(MPI_Comm local_comm, int local_leader, MPI_Comm peer_comm, int remote_leader, int tag, MPI_Comm *newintercomm); int PMPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintracomm); int PMPI_Keyval_create(MPI_Copy_function *copy_fn, MPI_Delete_function *delete_fn, int *keyval, void *extra_state); int PMPI_Keyval_free(int *keyval); int PMPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val); int PMPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag); int PMPI_Attr_delete(MPI_Comm comm, int keyval); int PMPI_Topo_test(MPI_Comm comm, int *status); int PMPI_Cart_create(MPI_Comm comm_old, int ndims, const int dims[], const int periods[], int reorder, MPI_Comm *comm_cart); int PMPI_Dims_create(int nnodes, int ndims, int dims[]); int PMPI_Graph_create(MPI_Comm comm_old, int nnodes, const int indx[], const int edges[], int reorder, MPI_Comm *comm_graph); int PMPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges); int PMPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int indx[], int edges[]); int PMPI_Cartdim_get(MPI_Comm comm, int *ndims); int PMPI_Cart_get(MPI_Comm comm, int maxdims, int dims[], int periods[], int coords[]); int PMPI_Cart_rank(MPI_Comm comm, const int coords[], int *rank); int PMPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int coords[]); int PMPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors); int PMPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors, int neighbors[]); int PMPI_Cart_shift(MPI_Comm comm, int direction, int disp, int *rank_source, int *rank_dest); int PMPI_Cart_sub(MPI_Comm comm, const int remain_dims[], MPI_Comm *newcomm); int PMPI_Cart_map(MPI_Comm comm, int ndims, const int dims[], const int periods[], int *newrank); int PMPI_Graph_map(MPI_Comm comm, int nnodes, const int indx[], const int edges[], int *newrank); int PMPI_Get_processor_name(char *name, int *resultlen); int PMPI_Get_version(int *version, int *subversion); int PMPI_Get_library_version(char *version, int *resultlen); int PMPI_Errhandler_create(MPI_Handler_function *function, MPI_Errhandler *errhandler); int PMPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler); int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler); int PMPI_Errhandler_free(MPI_Errhandler *errhandler); int PMPI_Error_string(int errorcode, char *string, int *resultlen); int PMPI_Error_class(int errorcode, int *errorclass); double PMPI_Wtime(void); double PMPI_Wtick(void); int PMPI_Init(int *argc, char ***argv); int PMPI_Finalize(void); int PMPI_Initialized(int *flag); int PMPI_Abort(MPI_Comm comm, int errorcode); int PMPI_Pcontrol(const int level, ...); int PMPI_Close_port(const char *port_name); int PMPI_Comm_accept(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm); int PMPI_Comm_connect(const char *port_name, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *newcomm); int PMPI_Comm_disconnect(MPI_Comm *comm); int PMPI_Comm_get_parent(MPI_Comm *parent); int PMPI_Comm_join(int fd, MPI_Comm *intercomm); int PMPI_Comm_spawn(const char *command, char *argv[], int maxprocs, MPI_Info info, int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]); int PMPI_Comm_spawn_multiple(int count, char *array_of_commands[], char **array_of_argv[], const int array_of_maxprocs[], const MPI_Info array_of_info[], int root, MPI_Comm comm, MPI_Comm *intercomm, int array_of_errcodes[]); int PMPI_Lookup_name(const char *service_name, MPI_Info info, char *port_name); int PMPI_Open_port(MPI_Info info, char *port_name); int PMPI_Publish_name(const char *service_name, MPI_Info info, const char *port_name); int PMPI_Unpublish_name(const char *service_name, MPI_Info info, const char *port_name); int PMPI_Comm_set_info(MPI_Comm comm, MPI_Info info); int PMPI_Comm_get_info(MPI_Comm comm, MPI_Info *info); int PMPI_Accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win) ; int PMPI_Get(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win) ; int PMPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win) ; int PMPI_Win_complete(MPI_Win win); int PMPI_Win_create(void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win); int PMPI_Win_fence(int assert, MPI_Win win); int PMPI_Win_free(MPI_Win *win); int PMPI_Win_get_group(MPI_Win win, MPI_Group *group); int PMPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win); int PMPI_Win_post(MPI_Group group, int assert, MPI_Win win); int PMPI_Win_start(MPI_Group group, int assert, MPI_Win win); int PMPI_Win_test(MPI_Win win, int *flag); int PMPI_Win_unlock(int rank, MPI_Win win); int PMPI_Win_wait(MPI_Win win); int PMPI_Win_allocate(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win); int PMPI_Win_allocate_shared(MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, void *baseptr, MPI_Win *win); int PMPI_Win_shared_query(MPI_Win win, int rank, MPI_Aint *size, int *disp_unit, void *baseptr); int PMPI_Win_create_dynamic(MPI_Info info, MPI_Comm comm, MPI_Win *win); int PMPI_Win_attach(MPI_Win win, void *base, MPI_Aint size); int PMPI_Win_detach(MPI_Win win, const void *base); int PMPI_Win_get_info(MPI_Win win, MPI_Info *info_used); int PMPI_Win_set_info(MPI_Win win, MPI_Info info); int PMPI_Get_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win) ; int PMPI_Fetch_and_op(const void *origin_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Op op, MPI_Win win) ; int PMPI_Compare_and_swap(const void *origin_addr, const void *compare_addr, void *result_addr, MPI_Datatype datatype, int target_rank, MPI_Aint target_disp, MPI_Win win) ; int PMPI_Rput(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request) ; int PMPI_Rget(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win, MPI_Request *request) ; int PMPI_Raccumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request) ; int PMPI_Rget_accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, void *result_addr, int result_count, MPI_Datatype result_datatype, int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win, MPI_Request *request) ; int PMPI_Win_lock_all(int assert, MPI_Win win); int PMPI_Win_unlock_all(MPI_Win win); int PMPI_Win_flush(int rank, MPI_Win win); int PMPI_Win_flush_all(MPI_Win win); int PMPI_Win_flush_local(int rank, MPI_Win win); int PMPI_Win_flush_local_all(MPI_Win win); int PMPI_Win_sync(MPI_Win win); int PMPI_Add_error_class(int *errorclass); int PMPI_Add_error_code(int errorclass, int *errorcode); int PMPI_Add_error_string(int errorcode, const char *string); int PMPI_Comm_call_errhandler(MPI_Comm comm, int errorcode); int PMPI_Comm_create_keyval(MPI_Comm_copy_attr_function *comm_copy_attr_fn, MPI_Comm_delete_attr_function *comm_delete_attr_fn, int *comm_keyval, void *extra_state); int PMPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval); int PMPI_Comm_free_keyval(int *comm_keyval); int PMPI_Comm_get_attr(MPI_Comm comm, int comm_keyval, void *attribute_val, int *flag); int PMPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen); int PMPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val); int PMPI_Comm_set_name(MPI_Comm comm, const char *comm_name); int PMPI_File_call_errhandler(MPI_File fh, int errorcode); int PMPI_Grequest_complete(MPI_Request request); int PMPI_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, void *extra_state, MPI_Request *request); int PMPI_Init_thread(int *argc, char ***argv, int required, int *provided); int PMPI_Is_thread_main(int *flag); int PMPI_Query_thread(int *provided); int PMPI_Status_set_cancelled(MPI_Status *status, int flag); int PMPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype, int count); int PMPI_Type_create_keyval(MPI_Type_copy_attr_function *type_copy_attr_fn, MPI_Type_delete_attr_function *type_delete_attr_fn, int *type_keyval, void *extra_state); int PMPI_Type_delete_attr(MPI_Datatype datatype, int type_keyval); int PMPI_Type_dup(MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_free_keyval(int *type_keyval); int PMPI_Type_get_attr(MPI_Datatype datatype, int type_keyval, void *attribute_val, int *flag); int PMPI_Type_get_contents(MPI_Datatype datatype, int max_integers, int max_addresses, int max_datatypes, int array_of_integers[], MPI_Aint array_of_addresses[], MPI_Datatype array_of_datatypes[]); int PMPI_Type_get_envelope(MPI_Datatype datatype, int *num_integers, int *num_addresses, int *num_datatypes, int *combiner); int PMPI_Type_get_name(MPI_Datatype datatype, char *type_name, int *resultlen); int PMPI_Type_set_attr(MPI_Datatype datatype, int type_keyval, void *attribute_val); int PMPI_Type_set_name(MPI_Datatype datatype, const char *type_name); int PMPI_Type_match_size(int typeclass, int size, MPI_Datatype *datatype); int PMPI_Win_call_errhandler(MPI_Win win, int errorcode); int PMPI_Win_create_keyval(MPI_Win_copy_attr_function *win_copy_attr_fn, MPI_Win_delete_attr_function *win_delete_attr_fn, int *win_keyval, void *extra_state); int PMPI_Win_delete_attr(MPI_Win win, int win_keyval); int PMPI_Win_free_keyval(int *win_keyval); int PMPI_Win_get_attr(MPI_Win win, int win_keyval, void *attribute_val, int *flag); int PMPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen); int PMPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val); int PMPI_Win_set_name(MPI_Win win, const char *win_name); int PMPI_Alloc_mem(MPI_Aint size, MPI_Info info, void *baseptr); int PMPI_Comm_create_errhandler(MPI_Comm_errhandler_function *comm_errhandler_fn, MPI_Errhandler *errhandler); int PMPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *errhandler); int PMPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler); int PMPI_File_create_errhandler(MPI_File_errhandler_function *file_errhandler_fn, MPI_Errhandler *errhandler); int PMPI_File_get_errhandler(MPI_File file, MPI_Errhandler *errhandler); int PMPI_File_set_errhandler(MPI_File file, MPI_Errhandler errhandler); int PMPI_Finalized(int *flag); int PMPI_Free_mem(void *base); int PMPI_Get_address(const void *location, MPI_Aint *address); int PMPI_Info_create(MPI_Info *info); int PMPI_Info_delete(MPI_Info info, const char *key); int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo); int PMPI_Info_free(MPI_Info *info); int PMPI_Info_get(MPI_Info info, const char *key, int valuelen, char *value, int *flag); int PMPI_Info_get_nkeys(MPI_Info info, int *nkeys); int PMPI_Info_get_nthkey(MPI_Info info, int n, char *key); int PMPI_Info_get_valuelen(MPI_Info info, const char *key, int *valuelen, int *flag); int PMPI_Info_set(MPI_Info info, const char *key, const char *value); int PMPI_Pack_external(const char datarep[], const void *inbuf, int incount, MPI_Datatype datatype, void *outbuf, MPI_Aint outsize, MPI_Aint *position) ; int PMPI_Pack_external_size(const char datarep[], int incount, MPI_Datatype datatype, MPI_Aint *size); int PMPI_Request_get_status(MPI_Request request, int *flag, MPI_Status *status); int PMPI_Status_c2f(const MPI_Status *c_status, MPI_Fint *f_status); int PMPI_Status_f2c(const MPI_Fint *f_status, MPI_Status *c_status); int PMPI_Type_create_darray(int size, int rank, int ndims, const int array_of_gsizes[], const int array_of_distribs[], const int array_of_dargs[], const int array_of_psizes[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_create_hindexed(int count, const int array_of_blocklengths[], const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_create_indexed_block(int count, int blocklength, const int array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_create_hindexed_block(int count, int blocklength, const MPI_Aint array_of_displacements[], MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb, MPI_Aint extent, MPI_Datatype *newtype); int PMPI_Type_create_struct(int count, const int array_of_blocklengths[], const MPI_Aint array_of_displacements[], const MPI_Datatype array_of_types[], MPI_Datatype *newtype); int PMPI_Type_create_subarray(int ndims, const int array_of_sizes[], const int array_of_subsizes[], const int array_of_starts[], int order, MPI_Datatype oldtype, MPI_Datatype *newtype); int PMPI_Type_get_extent(MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *extent); int PMPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent); int PMPI_Unpack_external(const char datarep[], const void *inbuf, MPI_Aint insize, MPI_Aint *position, void *outbuf, int outcount, MPI_Datatype datatype) ; int PMPI_Win_create_errhandler(MPI_Win_errhandler_function *win_errhandler_fn, MPI_Errhandler *errhandler); int PMPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler); int PMPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler); int PMPI_Type_create_f90_integer(int r, MPI_Datatype *newtype); int PMPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype); int PMPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype); int PMPI_Reduce_local(const void *inbuf, void *inoutbuf, int count, MPI_Datatype datatype, MPI_Op op) ; int PMPI_Op_commutative(MPI_Op op, int *commute); int PMPI_Reduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) ; int PMPI_Dist_graph_create_adjacent(MPI_Comm comm_old, int indegree, const int sources[], const int sourceweights[], int outdegree, const int destinations[], const int destweights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph); int PMPI_Dist_graph_create(MPI_Comm comm_old, int n, const int sources[], const int degrees[], const int destinations[], const int weights[], MPI_Info info, int reorder, MPI_Comm *comm_dist_graph); int PMPI_Dist_graph_neighbors_count(MPI_Comm comm, int *indegree, int *outdegree, int *weighted); int PMPI_Dist_graph_neighbors(MPI_Comm comm, int maxindegree, int sources[], int sourceweights[], int maxoutdegree, int destinations[], int destweights[]); int PMPI_Improbe(int source, int tag, MPI_Comm comm, int *flag, MPI_Message *message, MPI_Status *status); int PMPI_Imrecv(void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Request *request) ; int PMPI_Mprobe(int source, int tag, MPI_Comm comm, MPI_Message *message, MPI_Status *status); int PMPI_Mrecv(void *buf, int count, MPI_Datatype datatype, MPI_Message *message, MPI_Status *status) ; int PMPI_Comm_idup(MPI_Comm comm, MPI_Comm *newcomm, MPI_Request *request); int PMPI_Ibarrier(MPI_Comm comm, MPI_Request *request); int PMPI_Ibcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm, MPI_Request *request) ; int PMPI_Igather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int PMPI_Igatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iscatter(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iscatterv(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iallgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iallgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ialltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ialltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ialltoallw(const void *sendbuf, const int sendcounts[], const int sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const int rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request); int PMPI_Ireduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iallreduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ireduce_scatter(const void *sendbuf, void *recvbuf, const int recvcounts[], MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ireduce_scatter_block(const void *sendbuf, void *recvbuf, int recvcount, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int PMPI_Iexscan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ineighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ineighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ineighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ineighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm, MPI_Request *request) ; int PMPI_Ineighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm, MPI_Request *request); int PMPI_Neighbor_allgather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Neighbor_allgatherv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int displs[], MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Neighbor_alltoall(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Neighbor_alltoallv(const void *sendbuf, const int sendcounts[], const int sdispls[], MPI_Datatype sendtype, void *recvbuf, const int recvcounts[], const int rdispls[], MPI_Datatype recvtype, MPI_Comm comm) ; int PMPI_Neighbor_alltoallw(const void *sendbuf, const int sendcounts[], const MPI_Aint sdispls[], const MPI_Datatype sendtypes[], void *recvbuf, const int recvcounts[], const MPI_Aint rdispls[], const MPI_Datatype recvtypes[], MPI_Comm comm); int PMPI_Comm_split_type(MPI_Comm comm, int split_type, int key, MPI_Info info, MPI_Comm *newcomm); int PMPI_Comm_create_group(MPI_Comm comm, MPI_Group group, int tag, MPI_Comm *newcomm); int PMPI_Get_elements_x(const MPI_Status *status, MPI_Datatype datatype, MPI_Count *count); int PMPI_Status_set_elements_x(MPI_Status *status, MPI_Datatype datatype, MPI_Count count); int PMPI_Type_get_extent_x(MPI_Datatype datatype, MPI_Count *lb, MPI_Count *extent); int PMPI_Type_get_true_extent_x(MPI_Datatype datatype, MPI_Count *lb, MPI_Count *extent); int PMPI_Type_size_x(MPI_Datatype datatype, MPI_Count *size); int PMPIX_Comm_group_failed(MPI_Comm comm, MPI_Group *failed_group); int PMPIX_Comm_remote_group_failed(MPI_Comm comm, MPI_Group *failed_group); int PMPIX_Comm_reenable_anysource(MPI_Comm comm, MPI_Group *failed_group); int PMPI_T_init_thread(int required, int *provided); int PMPI_T_finalize(void); int PMPI_T_enum_get_info(MPI_T_enum enumtype, int *num, char *name, int *name_len); int PMPI_T_enum_get_item(MPI_T_enum enumtype, int indx, int *value, char *name, int *name_len); int PMPI_T_cvar_get_num(int *num_cvar); int PMPI_T_cvar_get_info(int cvar_index, char *name, int *name_len, int *verbosity, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *binding, int *scope); int PMPI_T_cvar_handle_alloc(int cvar_index, void *obj_handle, MPI_T_cvar_handle *handle, int *count); int PMPI_T_cvar_handle_free(MPI_T_cvar_handle *handle); int PMPI_T_cvar_read(MPI_T_cvar_handle handle, void *buf); int PMPI_T_cvar_write(MPI_T_cvar_handle handle, void *buf); int PMPI_T_pvar_get_num(int *num_pvar); int PMPI_T_pvar_get_info(int pvar_index, char *name, int *name_len, int *verbosity, int *var_class, MPI_Datatype *datatype, MPI_T_enum *enumtype, char *desc, int *desc_len, int *binding, int *readonly, int *continuous, int *atomic); int PMPI_T_pvar_session_create(MPI_T_pvar_session *session); int PMPI_T_pvar_session_free(MPI_T_pvar_session *session); int PMPI_T_pvar_handle_alloc(MPI_T_pvar_session session, int pvar_index, void *obj_handle, MPI_T_pvar_handle *handle, int *count); int PMPI_T_pvar_handle_free(MPI_T_pvar_session session, MPI_T_pvar_handle *handle); int PMPI_T_pvar_start(MPI_T_pvar_session session, MPI_T_pvar_handle handle); int PMPI_T_pvar_stop(MPI_T_pvar_session session, MPI_T_pvar_handle handle); int PMPI_T_pvar_read(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); int PMPI_T_pvar_write(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); int PMPI_T_pvar_reset(MPI_T_pvar_session session, MPI_T_pvar_handle handle); int PMPI_T_pvar_readreset(MPI_T_pvar_session session, MPI_T_pvar_handle handle, void *buf); int PMPI_T_category_get_num(int *num_cat); int PMPI_T_category_get_info(int cat_index, char *name, int *name_len, char *desc, int *desc_len, int *num_cvars, int *num_pvars, int *num_categories); int PMPI_T_category_get_cvars(int cat_index, int len, int indices[]); int PMPI_T_category_get_pvars(int cat_index, int len, int indices[]); int PMPI_T_category_get_categories(int cat_index, int len, int indices[]); int PMPI_T_category_changed(int *stamp); # 2159 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" # 1 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" 1 # 13 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" # 1 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" 1 # 14 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" 2 # 119 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" int MPI_File_open(MPI_Comm comm, const char *filename, int amode, MPI_Info info, MPI_File *fh) ; int MPI_File_close(MPI_File *fh) ; int MPI_File_delete(const char *filename, MPI_Info info) ; int MPI_File_set_size(MPI_File fh, MPI_Offset size) ; int MPI_File_preallocate(MPI_File fh, MPI_Offset size) ; int MPI_File_get_size(MPI_File fh, MPI_Offset *size) ; int MPI_File_get_group(MPI_File fh, MPI_Group *group) ; int MPI_File_get_amode(MPI_File fh, int *amode) ; int MPI_File_set_info(MPI_File fh, MPI_Info info) ; int MPI_File_get_info(MPI_File fh, MPI_Info *info_used) ; int MPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype, MPI_Datatype filetype, const char *datarep, MPI_Info info) ; int MPI_File_get_view(MPI_File fh, MPI_Offset *disp, MPI_Datatype *etype, MPI_Datatype *filetype, char *datarep) ; int MPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void * buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_write_at(MPI_File fh, MPI_Offset offset, const void * buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_write_at_all(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype, MPI_Request *request) ; int MPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request) ; int MPI_File_read(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_read_all(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_write(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_write_all(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_iread(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request) ; int MPI_File_iwrite(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request) ; int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence) ; int MPI_File_get_position(MPI_File fh, MPI_Offset *offset) ; int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset, MPI_Offset *disp) ; int MPI_File_read_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_write_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_iread_shared(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Request *request) ; int MPI_File_iwrite_shared(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Request *request) ; int MPI_File_read_ordered(MPI_File fh, void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_write_ordered(MPI_File fh, const void *buf, int count, MPI_Datatype datatype, MPI_Status *status) ; int MPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence) ; int MPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset) ; int MPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf, int count, MPI_Datatype datatype) ; int MPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status) ; int MPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, const void *buf, int count, MPI_Datatype datatype) ; int MPI_File_write_at_all_end(MPI_File fh, const void *buf, MPI_Status *status) ; int MPI_File_read_all_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype) ; int MPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status) ; int MPI_File_write_all_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype) ; int MPI_File_write_all_end(MPI_File fh, const void *buf, MPI_Status *status) ; int MPI_File_read_ordered_begin(MPI_File fh, void *buf, int count, MPI_Datatype datatype) ; int MPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status) ; int MPI_File_write_ordered_begin(MPI_File fh, const void *buf, int count, MPI_Datatype datatype) ; int MPI_File_write_ordered_end(MPI_File fh, const void *buf, MPI_Status *status) ; int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype, MPI_Aint *extent) ; int MPI_Register_datarep(const char *datarep, MPI_Datarep_conversion_function *read_conversion_fn, MPI_Datarep_conversion_function *write_conversion_fn, MPI_Datarep_extent_function *dtype_file_extent_fn, void *extra_state) ; int MPI_File_set_atomicity(MPI_File fh, int flag) ; int MPI_File_get_atomicity(MPI_File fh, int *flag) ; int MPI_File_sync(MPI_File fh) ; # 264 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" MPI_File MPI_File_f2c(MPI_Fint file) ; MPI_Fint MPI_File_c2f(MPI_File file) ; # 325 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" int PMPI_File_open(MPI_Comm, const char *, int, MPI_Info, MPI_File *); int PMPI_File_close(MPI_File *); int PMPI_File_delete(const char *, MPI_Info); int PMPI_File_set_size(MPI_File, MPI_Offset); int PMPI_File_preallocate(MPI_File, MPI_Offset); int PMPI_File_get_size(MPI_File, MPI_Offset *); int PMPI_File_get_group(MPI_File, MPI_Group *); int PMPI_File_get_amode(MPI_File, int *); int PMPI_File_set_info(MPI_File, MPI_Info); int PMPI_File_get_info(MPI_File, MPI_Info *); int PMPI_File_set_view(MPI_File, MPI_Offset, MPI_Datatype, MPI_Datatype, const char *, MPI_Info); int PMPI_File_get_view(MPI_File, MPI_Offset *, MPI_Datatype *, MPI_Datatype *, char *); int PMPI_File_read_at(MPI_File, MPI_Offset, void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_read_at_all(MPI_File, MPI_Offset, void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_write_at(MPI_File, MPI_Offset, const void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_write_at_all(MPI_File, MPI_Offset, const void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_iread_at(MPI_File, MPI_Offset, void *, int, MPI_Datatype, MPI_Request *) ; int PMPI_File_iwrite_at(MPI_File, MPI_Offset, const void *, int, MPI_Datatype, MPI_Request *) ; int PMPI_File_read(MPI_File, void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_read_all(MPI_File, void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_write(MPI_File, const void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_write_all(MPI_File, const void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_iread(MPI_File, void *, int, MPI_Datatype, MPI_Request *) ; int PMPI_File_iwrite(MPI_File, const void *, int, MPI_Datatype, MPI_Request *) ; int PMPI_File_seek(MPI_File, MPI_Offset, int); int PMPI_File_get_position(MPI_File, MPI_Offset *); int PMPI_File_get_byte_offset(MPI_File, MPI_Offset, MPI_Offset *); int PMPI_File_read_shared(MPI_File, void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_write_shared(MPI_File, const void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_iread_shared(MPI_File, void *, int, MPI_Datatype, MPI_Request *) ; int PMPI_File_iwrite_shared(MPI_File, const void *, int, MPI_Datatype, MPI_Request *) ; int PMPI_File_read_ordered(MPI_File, void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_write_ordered(MPI_File, const void *, int, MPI_Datatype, MPI_Status *) ; int PMPI_File_seek_shared(MPI_File, MPI_Offset, int); int PMPI_File_get_position_shared(MPI_File, MPI_Offset *); int PMPI_File_read_at_all_begin(MPI_File, MPI_Offset, void *, int, MPI_Datatype) ; int PMPI_File_read_at_all_end(MPI_File, void *, MPI_Status *); int PMPI_File_write_at_all_begin(MPI_File, MPI_Offset, const void *, int, MPI_Datatype) ; int PMPI_File_write_at_all_end(MPI_File, const void *, MPI_Status *); int PMPI_File_read_all_begin(MPI_File, void *, int, MPI_Datatype) ; int PMPI_File_read_all_end(MPI_File, void *, MPI_Status *); int PMPI_File_write_all_begin(MPI_File, const void *, int, MPI_Datatype) ; int PMPI_File_write_all_end(MPI_File, const void *, MPI_Status *); int PMPI_File_read_ordered_begin(MPI_File, void *, int, MPI_Datatype) ; int PMPI_File_read_ordered_end(MPI_File, void *, MPI_Status *); int PMPI_File_write_ordered_begin(MPI_File, const void *, int, MPI_Datatype) ; int PMPI_File_write_ordered_end(MPI_File, const void *, MPI_Status *); int PMPI_File_get_type_extent(MPI_File, MPI_Datatype, MPI_Aint *); int PMPI_Register_datarep(const char *, MPI_Datarep_conversion_function *, MPI_Datarep_conversion_function *, MPI_Datarep_extent_function *, void *); int PMPI_File_set_atomicity(MPI_File, int); int PMPI_File_get_atomicity(MPI_File, int *); int PMPI_File_sync(MPI_File); # 463 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpio.h" MPI_File PMPI_File_f2c(MPI_Fint); MPI_Fint PMPI_File_c2f(MPI_File); # 2160 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" 2 # 2181 "/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include/mpi.h" typedef int MPIX_Grequest_class; int MPIX_Grequest_class_create(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, MPIX_Grequest_poll_function *poll_fn, MPIX_Grequest_wait_function *wait_fn, MPIX_Grequest_class *greq_class); int MPIX_Grequest_class_allocate(MPIX_Grequest_class greq_class, void *extra_state, MPI_Request *request); int MPIX_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, MPIX_Grequest_poll_function *poll_fn, MPIX_Grequest_wait_function *wait_fn, void *extra_state, MPI_Request *request); struct mpixi_mutex_s; typedef struct mpixi_mutex_s * MPIX_Mutex; int MPIX_Mutex_create(int count, MPI_Comm comm, MPIX_Mutex *hdl); int MPIX_Mutex_free(MPIX_Mutex *hdl); int MPIX_Mutex_lock(MPIX_Mutex hdl, int mutex, int proc); int MPIX_Mutex_unlock(MPIX_Mutex hdl, int mutex, int proc); int PMPIX_Grequest_class_create(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, MPIX_Grequest_poll_function *poll_fn, MPIX_Grequest_wait_function *wait_fn, MPIX_Grequest_class *greq_class); int PMPIX_Grequest_class_allocate(MPIX_Grequest_class greq_class, void *extra_state, MPI_Request *request); int PMPIX_Grequest_start(MPI_Grequest_query_function *query_fn, MPI_Grequest_free_function *free_fn, MPI_Grequest_cancel_function *cancel_fn, MPIX_Grequest_poll_function *poll_fn, MPIX_Grequest_wait_function *wait_fn, void *extra_state, MPI_Request *request); int PMPIX_Mutex_create(int count, MPI_Comm comm, MPIX_Mutex *hdl); int PMPIX_Mutex_free(MPIX_Mutex *hdl); int PMPIX_Mutex_lock(MPIX_Mutex hdl, int mutex, int proc); int PMPIX_Mutex_unlock(MPIX_Mutex hdl, int mutex, int proc); # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers/conftest.c" 2 Found header files ['mpi.h'] in ['/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include'] Popping language C ================================================================================ TEST configureConversion from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:214) TESTING: configureConversion from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:214) Check for the functions which convert communicators between C and Fortran - Define HAVE_MPI_COMM_F2C and HAVE_MPI_COMM_C2F if they are present - Some older MPI 1 implementations are missing these All intermediate test results are stored in /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_f2c((MPI_Fint)0)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_COMM_F2C" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_c2f(MPI_COMM_WORLD)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_COMM_C2F" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Fint a; ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_FINT" to "1" ================================================================================ TEST configureMPI2 from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:182) TESTING: configureMPI2 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:182) Check for functions added to the interface in MPI-2 Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int flag;if (MPI_Finalized(&flag)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_FINALIZED" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Allreduce(MPI_IN_PLACE,0, 1, MPI_INT, MPI_SUM, MPI_COMM_SELF)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPI_IN_PLACE" to "1" Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { int count=2; int blocklens[2]={0,1}; MPI_Aint indices[2]={0,1}; MPI_Datatype old_types[2]={0,1}; MPI_Datatype *newtype = 0; if (MPI_Type_create_struct(count, blocklens, indices, old_types, newtype)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Comm_errhandler_fn * p_err_fun = 0; MPI_Errhandler * p_errhandler = 0; if (MPI_Comm_create_errhandler(p_err_fun,p_errhandler)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl ================================================================================ TEST configureTypes from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:234) TESTING: configureTypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:234) Checking for MPI types Checking for size of type: MPI_Comm Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif #define MPICH_IGNORE_CXX_SEEK #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(MPI_Comm)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_MPI_COMM" to "4" Checking for size of type: MPI_Fint Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include #if STDC_HEADERS #include #include #include #endif #define MPICH_IGNORE_CXX_SEEK #define MPICH_SKIP_MPICXX 1 #define OMPI_SKIP_MPICXX 1 #include int main() { FILE *f = fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%lu\n", (unsigned long)sizeof(MPI_Fint)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types/conftest Popping language C Defined "SIZEOF_MPI_FINT" to "4" ================================================================================ TEST configureMPITypes from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:246) TESTING: configureMPITypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:246) Checking for MPI Datatype handles Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_LONG_DOUBLE, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest ERROR while running executable: Could not execute "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest": [Fri Aug 1 13:44:00 2014] [unknown] Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(483): MPID_Init(192).......: channel initialization failed MPID_Init(569).......: PMI2 init failed: 1 Popping language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_INT64_T, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest ERROR while running executable: Could not execute "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest": [Fri Aug 1 13:44:09 2014] [unknown] Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(483): MPID_Init(192).......: channel initialization failed MPID_Init(569).......: PMI2 init failed: 1 Popping language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_C_DOUBLE_COMPLEX, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #ifdef PETSC_HAVE_STDLIB_H #include #endif #include int main() { MPI_Aint size; int ierr; MPI_Init(0,0); ierr = MPI_Type_extent(MPI_C_DOUBLE_COMPLEX, &size); if(ierr || (size == 0)) exit(1); MPI_Finalize(); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest Executing: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest ERROR while running executable: Could not execute "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest": [Fri Aug 1 13:44:17 2014] [unknown] Fatal error in MPI_Init: Other MPI error, error stack: MPIR_Init_thread(483): MPID_Init(192).......: channel initialization failed MPID_Init(569).......: PMI2 init failed: 1 Popping language C ================================================================================ TEST configureMissingPrototypes from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:320) TESTING: configureMissingPrototypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:320) Checks for missing prototypes, which it adds to petscfix.h ================================================================================ TEST SGIMPICheck from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:633) TESTING: SGIMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:633) Returns true if SGI MPI is used Checking for functions [MPI_SGI_barrier] in library [] [] Pushing language C Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char MPI_SGI_barrier(); static void _check_MPI_SGI_barrier() { MPI_SGI_barrier(); } int main() { _check_MPI_SGI_barrier();; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Possible ERROR while running linker: exit code 256 stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o: In function `_check_MPI_SGI_barrier': conftest.c:(.text+0xa): undefined reference to `MPI_SGI_barrier' collect2: error: ld returned 1 exit status Popping language C SGI MPI test failure ================================================================================ TEST CxxMPICheck from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:643) TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:643) Make sure C++ can compile and link Pushing language Cxx Checking for header mpi.h Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -O -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { ; return 0; } Checking for C++ MPI_Finalize() Checking for functions [MPI_Finalize] in library [] [] Pushing language Cxx Executing: CC -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -O -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ #include static void _check_MPI_Finalize() { int ierr; ierr = MPI_Finalize();; } int main() { _check_MPI_Finalize();; return 0; } Pushing language CXX Popping language CXX Executing: CC -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest -O /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language Cxx Popping language Cxx ================================================================================ TEST FortranMPICheck from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:661) TESTING: FortranMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:661) Make sure fortran include [mpif.h] and library symbols are found Pushing language FC Checking for header mpif.h Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.F Successful compile: Source: program main include 'mpif.h' end Checking for fortran mpi_init() Checking for functions [] in library [] [] Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.F Successful compile: Source: program main include 'mpif.h' integer ierr call mpi_init(ierr) end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language FC Checking for mpi.mod Checking for functions [] in library [] [] Pushing language FC Executing: ftn -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.F Successful compile: Source: program main use mpi integer ierr,rank call mpi_init(ierr) call mpi_comm_rank(MPI_COMM_WORLD,rank,ierr) end Pushing language FC Popping language FC Executing: ftn -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries/conftest.o -ldl Popping language FC Defined "HAVE_MPI_F90MODULE" to "1" Popping language FC ================================================================================ TEST configureIO from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:686) TESTING: configureIO from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:686) Check for the functions in MPI/IO - Define HAVE_MPIIO if they are present - Some older MPI 1 implementations are missing these Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_Aint lb, extent; if (MPI_Type_get_extent(MPI_INT, &lb, &extent)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; void *buf; MPI_Status status; if (MPI_File_write_all(fh, buf, 1, MPI_INT, &status)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; void *buf; MPI_Status status; if (MPI_File_read_all(fh, buf, 1, MPI_INT, &status)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; MPI_Offset disp; MPI_Info info; if (MPI_File_set_view(fh, disp, MPI_INT, MPI_INT, "", info)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; MPI_Info info; if (MPI_File_open(MPI_COMM_SELF, "", 0, info, &fh)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries -I/opt/cray/mpt/7.0.0/gni/mpich2-gnu/49/include /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int main() { MPI_File fh; MPI_Info info; if (MPI_File_close(&fh)); ; return 0; } Pushing language C Popping language C Executing: cc -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -ldl Defined "HAVE_MPIIO" to "1" ================================================================================ TEST findMPIInc from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:741) TESTING: findMPIInc from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:741) Find MPI include paths from "mpicc -show" Executing: cc -show ================================================================================ TEST checkMPICHorOpenMPI from config.packages.MPI(/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py:723) TESTING: checkMPICHorOpenMPI from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:723) Determine if MPICH_NUMVERSION or OMPI_MAJOR_VERSION exist in mpi.h Used for consistency checking of MPI installation at compile time Executing: cc -c -o /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.o -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.compilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.cacheDetails -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.featureTestMacros -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/PETSc.utilities.missing -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.functions -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.atomics -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.libraries /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; int main() { ; return 0; } Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; Executing: cpp -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.setCompilers -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.types -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI -I/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.headers /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" 2 Possible ERROR while running preprocessor: exit code 256 stdout: # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" # 1 "" # 1 "" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/confdefs.h" 1 # 2 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" 2 # 1 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conffix.h" 1 # 3 "/scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c" 2stderr: /scratch2/scratchdirs/gbisht/petsc-fh9JM8/config.packages.MPI/conftest.c:3:17: fatal error: mpi.h: No such file or directory #include ^ compilation terminated. Source: #include "confdefs.h" #include "conffix.h" #include int mpich_ver = MPICH_NUMVERSION; **** Configure header /scratch2/scratchdirs/gbisht/petsc-fh9JM8/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef STDC_HEADERS #define STDC_HEADERS 1 #endif #ifndef PETSC_HAVE_GZIP #define PETSC_HAVE_GZIP 1 #endif #ifndef PETSC_HAVE_STRING_H #define PETSC_HAVE_STRING_H 1 #endif #ifndef PETSC_HAVE_SYS_TYPES_H #define PETSC_HAVE_SYS_TYPES_H 1 #endif #ifndef PETSC_HAVE_ENDIAN_H #define PETSC_HAVE_ENDIAN_H 1 #endif #ifndef PETSC_HAVE_SYS_PROCFS_H #define PETSC_HAVE_SYS_PROCFS_H 1 #endif #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_SCHED_H #define PETSC_HAVE_SCHED_H 1 #endif #ifndef PETSC_HAVE_STDINT_H #define PETSC_HAVE_STDINT_H 1 #endif #ifndef PETSC_HAVE_LINUX_KERNEL_H #define PETSC_HAVE_LINUX_KERNEL_H 1 #endif #ifndef PETSC_HAVE_TIME_H #define PETSC_HAVE_TIME_H 1 #endif #ifndef PETSC_HAVE_MATH_H #define PETSC_HAVE_MATH_H 1 #endif #ifndef PETSC_TIME_WITH_SYS_TIME #define PETSC_TIME_WITH_SYS_TIME 1 #endif #ifndef PETSC_HAVE_SYS_PARAM_H #define PETSC_HAVE_SYS_PARAM_H 1 #endif #ifndef PETSC_HAVE_PTHREAD_H #define PETSC_HAVE_PTHREAD_H 1 #endif #ifndef PETSC_HAVE_UNISTD_H #define PETSC_HAVE_UNISTD_H 1 #endif #ifndef PETSC_HAVE_STDLIB_H #define PETSC_HAVE_STDLIB_H 1 #endif #ifndef PETSC_HAVE_SYS_WAIT_H #define PETSC_HAVE_SYS_WAIT_H 1 #endif #ifndef PETSC_HAVE_SETJMP_H #define PETSC_HAVE_SETJMP_H 1 #endif #ifndef PETSC_HAVE_LIMITS_H #define PETSC_HAVE_LIMITS_H 1 #endif #ifndef PETSC_HAVE_SYS_UTSNAME_H #define PETSC_HAVE_SYS_UTSNAME_H 1 #endif #ifndef PETSC_HAVE_NETINET_IN_H #define PETSC_HAVE_NETINET_IN_H 1 #endif #ifndef PETSC_HAVE_SYS_SOCKET_H #define PETSC_HAVE_SYS_SOCKET_H 1 #endif #ifndef PETSC_HAVE_FLOAT_H #define PETSC_HAVE_FLOAT_H 1 #endif #ifndef PETSC_HAVE_SEARCH_H #define PETSC_HAVE_SEARCH_H 1 #endif #ifndef PETSC_HAVE_SYS_RESOURCE_H #define PETSC_HAVE_SYS_RESOURCE_H 1 #endif #ifndef PETSC_HAVE_SYS_TIMES_H #define PETSC_HAVE_SYS_TIMES_H 1 #endif #ifndef PETSC_HAVE_NETDB_H #define PETSC_HAVE_NETDB_H 1 #endif #ifndef PETSC_HAVE_MALLOC_H #define PETSC_HAVE_MALLOC_H 1 #endif #ifndef PETSC_HAVE_PWD_H #define PETSC_HAVE_PWD_H 1 #endif #ifndef PETSC_HAVE_FCNTL_H #define PETSC_HAVE_FCNTL_H 1 #endif #ifndef PETSC_HAVE_STRINGS_H #define PETSC_HAVE_STRINGS_H 1 #endif #ifndef PETSC_HAVE_SYS_SYSINFO_H #define PETSC_HAVE_SYS_SYSINFO_H 1 #endif #ifndef PETSC_HAVE_SYS_TIME_H #define PETSC_HAVE_SYS_TIME_H 1 #endif #ifndef PETSC_USING_F90 #define PETSC_USING_F90 1 #endif #ifndef PETSC_USING_F2003 #define PETSC_USING_F2003 1 #endif #ifndef PETSC_HAVE_RTLD_NOW #define PETSC_HAVE_RTLD_NOW 1 #endif #ifndef PETSC_HAVE_RTLD_LOCAL #define PETSC_HAVE_RTLD_LOCAL 1 #endif #ifndef PETSC_HAVE_RTLD_LAZY #define PETSC_HAVE_RTLD_LAZY 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FORTRAN_UNDERSCORE #define PETSC_HAVE_FORTRAN_UNDERSCORE 1 #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_FENV_H #define PETSC_HAVE_FENV_H 1 #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_HAVE_TGAMMA #define PETSC_HAVE_TGAMMA 1 #endif #ifndef PETSC_HAVE_ERF #define PETSC_HAVE_ERF 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "edison-gnu-4.9.0-debug" #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_MISSING_DREAL #define PETSC_MISSING_DREAL 1 #endif #ifndef PETSC_SIZEOF_MPI_COMM #define PETSC_SIZEOF_MPI_COMM 4 #endif #ifndef PETSC_BITS_PER_BYTE #define PETSC_BITS_PER_BYTE 8 #endif #ifndef PETSC_SIZEOF_MPI_FINT #define PETSC_SIZEOF_MPI_FINT 4 #endif #ifndef PETSC_SIZEOF_VOID_P #define PETSC_SIZEOF_VOID_P 8 #endif #ifndef PETSC_RETSIGTYPE #define PETSC_RETSIGTYPE void #endif #ifndef PETSC_HAVE_CXX_COMPLEX #define PETSC_HAVE_CXX_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_LONG #define PETSC_SIZEOF_LONG 8 #endif #ifndef PETSC_USE_FORTRANKIND #define PETSC_USE_FORTRANKIND 1 #endif #ifndef PETSC_SIZEOF_SIZE_T #define PETSC_SIZEOF_SIZE_T 8 #endif #ifndef PETSC_HAVE_SIGINFO_T #define PETSC_HAVE_SIGINFO_T 1 #endif #ifndef PETSC_SIZEOF_CHAR #define PETSC_SIZEOF_CHAR 1 #endif #ifndef PETSC_SIZEOF_DOUBLE #define PETSC_SIZEOF_DOUBLE 8 #endif #ifndef PETSC_SIZEOF_FLOAT #define PETSC_SIZEOF_FLOAT 4 #endif #ifndef PETSC_HAVE_C99_COMPLEX #define PETSC_HAVE_C99_COMPLEX 1 #endif #ifndef PETSC_SIZEOF_INT #define PETSC_SIZEOF_INT 4 #endif #ifndef PETSC_SIZEOF_LONG_LONG #define PETSC_SIZEOF_LONG_LONG 8 #endif #ifndef PETSC_SIZEOF_SHORT #define PETSC_SIZEOF_SHORT 2 #endif #ifndef PETSC_HAVE_STRCASECMP #define PETSC_HAVE_STRCASECMP 1 #endif #ifndef PETSC_HAVE_GET_NPROCS #define PETSC_HAVE_GET_NPROCS 1 #endif #ifndef PETSC_HAVE_POPEN #define PETSC_HAVE_POPEN 1 #endif #ifndef PETSC_HAVE_SIGSET #define PETSC_HAVE_SIGSET 1 #endif #ifndef PETSC_HAVE_GETWD #define PETSC_HAVE_GETWD 1 #endif #ifndef PETSC_HAVE_VSNPRINTF #define PETSC_HAVE_VSNPRINTF 1 #endif #ifndef PETSC_HAVE_TIMES #define PETSC_HAVE_TIMES 1 #endif #ifndef PETSC_HAVE_DLSYM #define PETSC_HAVE_DLSYM 1 #endif #ifndef PETSC_HAVE_SNPRINTF #define PETSC_HAVE_SNPRINTF 1 #endif #ifndef PETSC_HAVE_GETHOSTBYNAME #define PETSC_HAVE_GETHOSTBYNAME 1 #endif #ifndef PETSC_HAVE_GETCWD #define PETSC_HAVE_GETCWD 1 #endif #ifndef PETSC_HAVE_DLERROR #define PETSC_HAVE_DLERROR 1 #endif #ifndef PETSC_HAVE_FORK #define PETSC_HAVE_FORK 1 #endif #ifndef PETSC_HAVE_RAND #define PETSC_HAVE_RAND 1 #endif #ifndef PETSC_HAVE_GETTIMEOFDAY #define PETSC_HAVE_GETTIMEOFDAY 1 #endif #ifndef PETSC_HAVE_DLCLOSE #define PETSC_HAVE_DLCLOSE 1 #endif #ifndef PETSC_HAVE_UNAME #define PETSC_HAVE_UNAME 1 #endif #ifndef PETSC_HAVE_GETHOSTNAME #define PETSC_HAVE_GETHOSTNAME 1 #endif #ifndef PETSC_HAVE_MKSTEMP #define PETSC_HAVE_MKSTEMP 1 #endif #ifndef PETSC_HAVE_SIGACTION #define PETSC_HAVE_SIGACTION 1 #endif #ifndef PETSC_HAVE_DRAND48 #define PETSC_HAVE_DRAND48 1 #endif #ifndef PETSC_HAVE_MEMALIGN #define PETSC_HAVE_MEMALIGN 1 #endif #ifndef PETSC_HAVE_VA_COPY #define PETSC_HAVE_VA_COPY 1 #endif #ifndef PETSC_HAVE_CLOCK #define PETSC_HAVE_CLOCK 1 #endif #ifndef PETSC_HAVE_ACCESS #define PETSC_HAVE_ACCESS 1 #endif #ifndef PETSC_HAVE_SIGNAL #define PETSC_HAVE_SIGNAL 1 #endif #ifndef PETSC_HAVE_USLEEP #define PETSC_HAVE_USLEEP 1 #endif #ifndef PETSC_HAVE_GETRUSAGE #define PETSC_HAVE_GETRUSAGE 1 #endif #ifndef PETSC_HAVE_VFPRINTF #define PETSC_HAVE_VFPRINTF 1 #endif #ifndef PETSC_HAVE_NANOSLEEP #define PETSC_HAVE_NANOSLEEP 1 #endif #ifndef PETSC_HAVE_GETDOMAINNAME #define PETSC_HAVE_GETDOMAINNAME 1 #endif #ifndef PETSC_HAVE_TIME #define PETSC_HAVE_TIME 1 #endif #ifndef PETSC_HAVE_LSEEK #define PETSC_HAVE_LSEEK 1 #endif #ifndef PETSC_HAVE_SOCKET #define PETSC_HAVE_SOCKET 1 #endif #ifndef PETSC_HAVE_SYSINFO #define PETSC_HAVE_SYSINFO 1 #endif #ifndef PETSC_HAVE_READLINK #define PETSC_HAVE_READLINK 1 #endif #ifndef PETSC_HAVE_REALPATH #define PETSC_HAVE_REALPATH 1 #endif #ifndef PETSC_HAVE_DLOPEN #define PETSC_HAVE_DLOPEN 1 #endif #ifndef PETSC_HAVE_MEMMOVE #define PETSC_HAVE_MEMMOVE 1 #endif #ifndef PETSC_HAVE__GFORTRAN_IARGC #define PETSC_HAVE__GFORTRAN_IARGC 1 #endif #ifndef PETSC_SIGNAL_CAST #define PETSC_SIGNAL_CAST #endif #ifndef PETSC_HAVE_SLEEP #define PETSC_HAVE_SLEEP 1 #endif #ifndef PETSC_HAVE_VPRINTF #define PETSC_HAVE_VPRINTF 1 #endif #ifndef PETSC_HAVE_BZERO #define PETSC_HAVE_BZERO 1 #endif #ifndef PETSC_HAVE_GETPAGESIZE #define PETSC_HAVE_GETPAGESIZE 1 #endif #ifndef PETSC_WRITE_MEMORY_BARRIER #define PETSC_WRITE_MEMORY_BARRIER() asm volatile("sfence":::"memory") #endif #ifndef PETSC_MEMORY_BARRIER #define PETSC_MEMORY_BARRIER() asm volatile("mfence":::"memory") #endif #ifndef PETSC_READ_MEMORY_BARRIER #define PETSC_READ_MEMORY_BARRIER() asm volatile("lfence":::"memory") #endif #ifndef PETSC_CPU_RELAX #define PETSC_CPU_RELAX() asm volatile("rep; nop" ::: "memory") #endif #ifndef PETSC_HAVE_MPI_COMM_C2F #define PETSC_HAVE_MPI_COMM_C2F 1 #endif #ifndef PETSC_HAVE_MPI_COMM_F2C #define PETSC_HAVE_MPI_COMM_F2C 1 #endif #ifndef PETSC_HAVE_MPI_FINT #define PETSC_HAVE_MPI_FINT 1 #endif #ifndef PETSC_HAVE_MPI_F90MODULE #define PETSC_HAVE_MPI_F90MODULE 1 #endif #ifndef PETSC_HAVE_MPI_FINALIZED #define PETSC_HAVE_MPI_FINALIZED 1 #endif #ifndef PETSC_HAVE_MPIIO #define PETSC_HAVE_MPIIO 1 #endif #ifndef PETSC_HAVE_MPI_IN_PLACE #define PETSC_HAVE_MPI_IN_PLACE 1 #endif #ifndef PETSC_VERSION_DATE_GIT #define PETSC_VERSION_DATE_GIT "2014-07-30 23:18:43 -0500" #endif #ifndef PETSC_VERSION_GIT #define PETSC_VERSION_GIT "v3.5.1-44-g501695b" #endif #ifndef PETSC_LEVEL1_DCACHE_LINESIZE #define PETSC_LEVEL1_DCACHE_LINESIZE 32 #endif #ifndef PETSC_LEVEL1_DCACHE_SIZE #define PETSC_LEVEL1_DCACHE_SIZE 32768 #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC__GNU_SOURCE #define PETSC__GNU_SOURCE 1 #endif #ifndef PETSC__BSD_SOURCE #define PETSC__BSD_SOURCE 1 #endif #ifndef PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT #define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1 #endif #ifndef PETSC_HAVE_GFORTRAN_IARGC #define PETSC_HAVE_GFORTRAN_IARGC 1 #endif #ifndef PETSC_USE_PROC_FOR_SIZE #define PETSC_USE_PROC_FOR_SIZE 1 #endif #ifndef PETSC_MEMALIGN #define PETSC_MEMALIGN 16 #endif #ifndef PETSC_HAVE_DYNAMIC_LIBRARIES #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #endif #ifndef PETSC_HAVE_SHARED_LIBRARIES #define PETSC_HAVE_SHARED_LIBRARIES 1 #endif #endif **** C specific Configure header /scratch2/scratchdirs/gbisht/petsc-fh9JM8/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ******************************************************************************* CONFIGURATION CRASH (Please send configure.log to petsc-maint@mcs.anl.gov) ******************************************************************************* 'NoneType' object has no attribute 'group' File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/configure.py", line 272, in petsc_configure framework.configure(out = sys.stdout) File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/framework.py", line 935, in configure child.configure() File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/package.py", line 602, in configure self.executeTest(self.configureLibrary) File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py", line 780, in configureLibrary self.executeTest(self.checkMPICHorOpenMPI) File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/global/project/projectdirs/m1952/gbisht/petsc/petsc.0c8c14c5/config/BuildSystem/config/packages/MPI.py", line 731, in checkMPICHorOpenMPI mpich_numversion = re.compile('\nint mpich_ver = *([0-9]*) *;').search(buf).group(1) ================================================================================ Finishing Configure Run at Fri Aug 1 13:46:01 2014 ================================================================================