[petsc-dev] [petsc-maint] problem installing petsc 3.4

Borazjani, Iman iman at buffalo.edu
Wed Apr 16 13:43:49 CDT 2014


Guys,

I tested with all the options but in all the configure crashes:
./configure PETSC_ARCH=linux-gnu-debug 
--with-mpi-dir=/share/apps/openmpi-1.5.1-open64/ 
--with-blas-lapack-dir=/share/apps/acml4.4.0/open64/open64_64 
--download-hypre=1 --with-debugging=1 
--prefix=/opt/software/petsc/3.5.0-ompi-1.5.1-open64-debug 
--with-shared-libraries=0

./configure PETSC_ARCH=linux-gnu-debug 
--with-mpi-dir=/share/apps/openmpi-1.5.1-open64/ 
--with-blas-lapack-dir=/share/apps/acml4.4.0/open64/open64_64 
--download-hypre=1 --with-debugging=1 
--prefix=/opt/software/petsc/3.5.0-ompi-1.5.1-open64-debug 
--with-shared-libraries=1 --with-clib-autodetect=0 
--with-fortranlib-autodetect=0 LIBS='-lfortran -lmv -lffio' 
--with-cxx-autodetect=0

./configure PETSC_ARCH=linux-gnu-debug 
--with-mpi-dir=/share/apps/openmpi-1.5.1-open64/ 
--with-blas-lapack-dir=/share/apps/acml4.4.0/open64/open64_64 
--download-hypre=1 --with-debugging=1 
--prefix=/opt/software/petsc/3.5.0-ompi-1.5.1-open64-debug 
--with-shared-libraries=1 --with-clib-autodetect=0 
--with-fortranlib-autodetect=0 LIBS='-lfortran -lmv -lffio'

Iman

On 4/16/2014 2:07 PM, Jed Brown wrote:
> Satish Balay <balay at mcs.anl.gov> writes:
>
>> On Wed, 16 Apr 2014, Jed Brown wrote:
>>
>>> "Borazjani, Iman" <iman at buffalo.edu> writes:
>>>
>>>> Hi Jed,
>>>>
>>>> I tried both ways and still get a compiler error, but this time I think
>>>> it is the -g option:
>>>>     CLINKER
>>>> /share/apps/petsc-petsc-7cd361a5361c/linux-gnu-debug/lib/libpetsc.so.3.04.4
>>>> /usr/bin/ld:
>>>> /share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4/libopen64rt.a(cacheinfo.o):
>>>> relocation R_X86_64_32S against `a local symbol' can not be used when
>>>> making a shared object; recompile with -fPIC
>>>> /share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4/libopen64rt.a:
>>>> could not read symbols: Bad value
>>> Looks like this compiler claims to be able to link with shared
>>> libraries, but in fact cannot (since no shared version of libopen64rt.a
>>> is available).  Configure --with-shared-libraries=0 to get a static
>>> build of PETSc.
>> There was a discussion about this on petsc-maint a couple of years ago with a reference to
>>
>> http://devgurus.amd.com/thread/159277
>>
>> i.e the compiler links to libopen64rt_shared.a when -shared options is specified.
>>
>> But we detect the compiler libraries libraries without using '-shared'
>>
>>
>> Workarround discussed at that time:
>>
>> --with-shared-libraries=1 --with-clib-autodetect=0 --with-fortranlib-autodetect=0 LIBS='-lfortran -lmv -lffio'
>>
>> [but we mignt need --with-cxx-autodetect=0 aswell [with -lstdc++ in LIBS]
> Would we have more or less failures if we used the Fortran linker and
> passed -lstdc++ when needed (with no other autodetect)?  I hate
> second-guessing the compilers.
>
>>> This is something we should be able to detect in our configure tests.
>>>

-- 
Iman Borazjani, Ph.D.
Assistant Professor
Mechanical and Aerospace Engineering Department
SUNY University at Buffalo
Tel. 716-645-1468
Web. http://www.eng.buffalo.edu/~iman/

-------------- next part --------------
                              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 Wed Apr 16 14:31:28 2014
Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions PETSC_ARCH=linux-gnu-debug --with-mpi-dir=/share/apps/openmpi-1.5.1-open64/ --with-blas-lapack-dir=/share/apps/acml4.4.0/open64/open64_64 --download-hypre=1 --with-debugging=1 --prefix=/opt/software/petsc/3.5.0-ompi-1.5.1-open64-debug --with-shared-libraries=1 --with-clib-autodetect=0 --with-fortranlib-autodetect=0 LIBS="-lfortran -lmv -lffio" --with-cxx-autodetect=0
Working directory: /share/apps/petsc-petsc-7cd361a5361c
Machine platform:
('Linux', 'nami.eng.buffalo.edu', '2.6.18-194.17.4.el5', '#1 SMP Mon Oct 25 15:50:53 EDT 2010', 'x86_64', 'x86_64')
Python version:
2.4.3 (#1, Sep  3 2009, 15:37:37) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
================================================================================
          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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/framework.py:823)
TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:823)
================================================================================
TEST configureDebuggers from PETSc.utilities.debuggers(/share/apps/petsc-petsc-7cd361a5361c/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 /opt/Pointwise/GridgenV15/gdb...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gdb...not found
Checking for program /share/apps/hwloc/bin/gdb...not found
Checking for program /share/apps/open64/bin/gdb...not found
Checking for program /usr/java/latest/bin/gdb...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gdb...not found
Checking for program /share/apps/hwloc/bin/gdb...not found
Checking for program /share/apps/open64/bin/gdb...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gdb...not found
Checking for program /usr/kerberos/bin/gdb...not found
Checking for program /usr/java/latest/bin/gdb...not found
Checking for program /usr/local/bin/gdb...not found
Checking for program /bin/gdb...not found
Checking for program /usr/bin/gdb...found
            Defined make macro "GDB" to "/usr/bin/gdb"
Checking for program /opt/Pointwise/GridgenV15/dbx...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/dbx...not found
Checking for program /share/apps/hwloc/bin/dbx...not found
Checking for program /share/apps/open64/bin/dbx...not found
Checking for program /usr/java/latest/bin/dbx...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/dbx...not found
Checking for program /share/apps/hwloc/bin/dbx...not found
Checking for program /share/apps/open64/bin/dbx...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/dbx...not found
Checking for program /usr/kerberos/bin/dbx...not found
Checking for program /usr/java/latest/bin/dbx...not found
Checking for program /usr/local/bin/dbx...not found
Checking for program /bin/dbx...not found
Checking for program /usr/bin/dbx...not found
Checking for program /opt/eclipse/dbx...not found
Checking for program /opt/ganglia/bin/dbx...not found
Checking for program /opt/ganglia/sbin/dbx...not found
Checking for program /opt/maui/bin/dbx...not found
Checking for program /opt/torque/bin/dbx...not found
Checking for program /opt/torque/sbin/dbx...not found
Checking for program /opt/rocks/bin/dbx...not found
Checking for program /opt/rocks/sbin/dbx...not found
Checking for program /opt/eclipse/dbx...not found
Checking for program /opt/ganglia/bin/dbx...not found
Checking for program /opt/ganglia/sbin/dbx...not found
Checking for program /opt/maui/bin/dbx...not found
Checking for program /opt/torque/bin/dbx...not found
Checking for program /opt/torque/sbin/dbx...not found
Checking for program /opt/rocks/bin/dbx...not found
Checking for program /opt/rocks/sbin/dbx...not found
Checking for program /home/iman/bin/dbx...not found
Checking for program /home/iman/dbx...not found
Checking for program /opt/Pointwise/GridgenV15/xdb...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/xdb...not found
Checking for program /share/apps/hwloc/bin/xdb...not found
Checking for program /share/apps/open64/bin/xdb...not found
Checking for program /usr/java/latest/bin/xdb...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/xdb...not found
Checking for program /share/apps/hwloc/bin/xdb...not found
Checking for program /share/apps/open64/bin/xdb...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/xdb...not found
Checking for program /usr/kerberos/bin/xdb...not found
Checking for program /usr/java/latest/bin/xdb...not found
Checking for program /usr/local/bin/xdb...not found
Checking for program /bin/xdb...not found
Checking for program /usr/bin/xdb...not found
Checking for program /opt/eclipse/xdb...not found
Checking for program /opt/ganglia/bin/xdb...not found
Checking for program /opt/ganglia/sbin/xdb...not found
Checking for program /opt/maui/bin/xdb...not found
Checking for program /opt/torque/bin/xdb...not found
Checking for program /opt/torque/sbin/xdb...not found
Checking for program /opt/rocks/bin/xdb...not found
Checking for program /opt/rocks/sbin/xdb...not found
Checking for program /opt/eclipse/xdb...not found
Checking for program /opt/ganglia/bin/xdb...not found
Checking for program /opt/ganglia/sbin/xdb...not found
Checking for program /opt/maui/bin/xdb...not found
Checking for program /opt/torque/bin/xdb...not found
Checking for program /opt/torque/sbin/xdb...not found
Checking for program /opt/rocks/bin/xdb...not found
Checking for program /opt/rocks/sbin/xdb...not found
Checking for program /home/iman/bin/xdb...not found
Checking for program /home/iman/xdb...not found
Checking for program /opt/Pointwise/GridgenV15/dsymutil...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/dsymutil...not found
Checking for program /share/apps/hwloc/bin/dsymutil...not found
Checking for program /share/apps/open64/bin/dsymutil...not found
Checking for program /usr/java/latest/bin/dsymutil...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/dsymutil...not found
Checking for program /share/apps/hwloc/bin/dsymutil...not found
Checking for program /share/apps/open64/bin/dsymutil...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/dsymutil...not found
Checking for program /usr/kerberos/bin/dsymutil...not found
Checking for program /usr/java/latest/bin/dsymutil...not found
Checking for program /usr/local/bin/dsymutil...not found
Checking for program /bin/dsymutil...not found
Checking for program /usr/bin/dsymutil...not found
Checking for program /opt/eclipse/dsymutil...not found
Checking for program /opt/ganglia/bin/dsymutil...not found
Checking for program /opt/ganglia/sbin/dsymutil...not found
Checking for program /opt/maui/bin/dsymutil...not found
Checking for program /opt/torque/bin/dsymutil...not found
Checking for program /opt/torque/sbin/dsymutil...not found
Checking for program /opt/rocks/bin/dsymutil...not found
Checking for program /opt/rocks/sbin/dsymutil...not found
Checking for program /opt/eclipse/dsymutil...not found
Checking for program /opt/ganglia/bin/dsymutil...not found
Checking for program /opt/ganglia/sbin/dsymutil...not found
Checking for program /opt/maui/bin/dsymutil...not found
Checking for program /opt/torque/bin/dsymutil...not found
Checking for program /opt/torque/sbin/dsymutil...not found
Checking for program /opt/rocks/bin/dsymutil...not found
Checking for program /opt/rocks/sbin/dsymutil...not found
Checking for program /home/iman/bin/dsymutil...not found
Checking for program /home/iman/dsymutil...not found
          Defined make macro "DSYMUTIL" to "true"
          Defined "USE_GDB_DEBUGGER" to "1"
================================================================================
TEST configureGit from config.sourceControl(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/sourceControl.py:24)
TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24)
  Find the Git executable
Checking for program /opt/Pointwise/GridgenV15/git...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/git...not found
Checking for program /share/apps/hwloc/bin/git...not found
Checking for program /share/apps/open64/bin/git...not found
Checking for program /usr/java/latest/bin/git...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/git...not found
Checking for program /share/apps/hwloc/bin/git...not found
Checking for program /share/apps/open64/bin/git...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/git...not found
Checking for program /usr/kerberos/bin/git...not found
Checking for program /usr/java/latest/bin/git...not found
Checking for program /usr/local/bin/git...not found
Checking for program /bin/git...not found
Checking for program /usr/bin/git...not found
Checking for program /opt/eclipse/git...not found
Checking for program /opt/ganglia/bin/git...not found
Checking for program /opt/ganglia/sbin/git...not found
Checking for program /opt/maui/bin/git...not found
Checking for program /opt/torque/bin/git...not found
Checking for program /opt/torque/sbin/git...not found
Checking for program /opt/rocks/bin/git...not found
Checking for program /opt/rocks/sbin/git...not found
Checking for program /opt/eclipse/git...not found
Checking for program /opt/ganglia/bin/git...not found
Checking for program /opt/ganglia/sbin/git...not found
Checking for program /opt/maui/bin/git...not found
Checking for program /opt/torque/bin/git...not found
Checking for program /opt/torque/sbin/git...not found
Checking for program /opt/rocks/bin/git...not found
Checking for program /opt/rocks/sbin/git...not found
Checking for program /home/iman/bin/git...not found
Checking for program /home/iman/git...not found
================================================================================
TEST configureMercurial from config.sourceControl(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/sourceControl.py:35)
TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35)
  Find the Mercurial executable
Checking for program /opt/Pointwise/GridgenV15/hg...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/hg...not found
Checking for program /share/apps/hwloc/bin/hg...not found
Checking for program /share/apps/open64/bin/hg...not found
Checking for program /usr/java/latest/bin/hg...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/hg...not found
Checking for program /share/apps/hwloc/bin/hg...not found
Checking for program /share/apps/open64/bin/hg...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/hg...not found
Checking for program /usr/kerberos/bin/hg...not found
Checking for program /usr/java/latest/bin/hg...not found
Checking for program /usr/local/bin/hg...not found
Checking for program /bin/hg...not found
Checking for program /usr/bin/hg...not found
Checking for program /opt/eclipse/hg...not found
Checking for program /opt/ganglia/bin/hg...not found
Checking for program /opt/ganglia/sbin/hg...not found
Checking for program /opt/maui/bin/hg...not found
Checking for program /opt/torque/bin/hg...not found
Checking for program /opt/torque/sbin/hg...not found
Checking for program /opt/rocks/bin/hg...found
            Defined make macro "HG" to "hg"
Executing: hg version -q
stdout: Mercurial Distributed SCM (version 0.9.5)
================================================================================
TEST configureCVS from config.sourceControl(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/sourceControl.py:46)
TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46)
  Find the CVS executable
Checking for program /opt/Pointwise/GridgenV15/cvs...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/cvs...not found
Checking for program /share/apps/hwloc/bin/cvs...not found
Checking for program /share/apps/open64/bin/cvs...not found
Checking for program /usr/java/latest/bin/cvs...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/cvs...not found
Checking for program /share/apps/hwloc/bin/cvs...not found
Checking for program /share/apps/open64/bin/cvs...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/cvs...not found
Checking for program /usr/kerberos/bin/cvs...not found
Checking for program /usr/java/latest/bin/cvs...not found
Checking for program /usr/local/bin/cvs...not found
Checking for program /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.11.22 (client/server)
Copyright (C) 2006 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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/sourceControl.py:55)
TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55)
  Find the Subversion executable
Checking for program /opt/Pointwise/GridgenV15/svn...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/svn...not found
Checking for program /share/apps/hwloc/bin/svn...not found
Checking for program /share/apps/open64/bin/svn...not found
Checking for program /usr/java/latest/bin/svn...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/svn...not found
Checking for program /share/apps/hwloc/bin/svn...not found
Checking for program /share/apps/open64/bin/svn...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/svn...not found
Checking for program /usr/kerberos/bin/svn...not found
Checking for program /usr/java/latest/bin/svn...not found
Checking for program /usr/local/bin/svn...not found
Checking for program /bin/svn...not found
Checking for program /usr/bin/svn...not found
Checking for program /opt/eclipse/svn...not found
Checking for program /opt/ganglia/bin/svn...not found
Checking for program /opt/ganglia/sbin/svn...not found
Checking for program /opt/maui/bin/svn...not found
Checking for program /opt/torque/bin/svn...not found
Checking for program /opt/torque/sbin/svn...not found
Checking for program /opt/rocks/bin/svn...not found
Checking for program /opt/rocks/sbin/svn...not found
Checking for program /opt/eclipse/svn...not found
Checking for program /opt/ganglia/bin/svn...not found
Checking for program /opt/ganglia/sbin/svn...not found
Checking for program /opt/maui/bin/svn...not found
Checking for program /opt/torque/bin/svn...not found
Checking for program /opt/torque/sbin/svn...not found
Checking for program /opt/rocks/bin/svn...not found
Checking for program /opt/rocks/sbin/svn...not found
Checking for program /home/iman/bin/svn...not found
Checking for program /home/iman/svn...not found
================================================================================
TEST configureMkdir from config.programs(/share/apps/petsc-petsc-7cd361a5361c/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 /opt/Pointwise/GridgenV15/mkdir...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mkdir...not found
Checking for program /share/apps/hwloc/bin/mkdir...not found
Checking for program /share/apps/open64/bin/mkdir...not found
Checking for program /usr/java/latest/bin/mkdir...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mkdir...not found
Checking for program /share/apps/hwloc/bin/mkdir...not found
Checking for program /share/apps/open64/bin/mkdir...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mkdir...not found
Checking for program /usr/kerberos/bin/mkdir...not found
Checking for program /usr/java/latest/bin/mkdir...not found
Checking for program /usr/local/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/programs.py:44)
TESTING: configureAutoreconf from config.programs(config/BuildSystem/config/programs.py:44)
  Check for autoreconf
Checking for program /opt/Pointwise/GridgenV15/autoreconf...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/autoreconf...not found
Checking for program /share/apps/hwloc/bin/autoreconf...not found
Checking for program /share/apps/open64/bin/autoreconf...not found
Checking for program /usr/java/latest/bin/autoreconf...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/autoreconf...not found
Checking for program /share/apps/hwloc/bin/autoreconf...not found
Checking for program /share/apps/open64/bin/autoreconf...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/autoreconf...not found
Checking for program /usr/kerberos/bin/autoreconf...not found
Checking for program /usr/java/latest/bin/autoreconf...not found
Checking for program /usr/local/bin/autoreconf...not found
Checking for program /bin/autoreconf...not found
Checking for program /usr/bin/autoreconf...found
            All intermediate test results are stored in /tmp/petsc-QpUpak
          All intermediate test results are stored in /tmp/petsc-QpUpak/config.programs
Executing: cd /tmp/petsc-QpUpak/config.programs/autoconfdir&&/usr/bin/autoreconf
================================================================================
TEST configurePrograms from config.programs(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/programs.py:65)
TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:65)
  Check for the programs needed to build and run PETSc
Checking for program /opt/Pointwise/GridgenV15/sh...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/sh...not found
Checking for program /share/apps/hwloc/bin/sh...not found
Checking for program /share/apps/open64/bin/sh...not found
Checking for program /usr/java/latest/bin/sh...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/sh...not found
Checking for program /share/apps/hwloc/bin/sh...not found
Checking for program /share/apps/open64/bin/sh...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/sh...not found
Checking for program /usr/kerberos/bin/sh...not found
Checking for program /usr/java/latest/bin/sh...not found
Checking for program /usr/local/bin/sh...not found
Checking for program /bin/sh...found
            Defined make macro "SHELL" to "/bin/sh"
Checking for program /opt/Pointwise/GridgenV15/sed...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/sed...not found
Checking for program /share/apps/hwloc/bin/sed...not found
Checking for program /share/apps/open64/bin/sed...not found
Checking for program /usr/java/latest/bin/sed...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/sed...not found
Checking for program /share/apps/hwloc/bin/sed...not found
Checking for program /share/apps/open64/bin/sed...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/sed...not found
Checking for program /usr/kerberos/bin/sed...not found
Checking for program /usr/java/latest/bin/sed...not found
Checking for program /usr/local/bin/sed...not found
Checking for program /bin/sed...found
            Defined make macro "SED" to "/bin/sed"
Executing: /bin/sed -i s/sed/sd/g "/tmp/petsc-QpUpak/config.programs/sed1"
        Adding SEDINPLACE cmd: /bin/sed -i
          Defined make macro "SEDINPLACE" to "/bin/sed -i"
Checking for program /opt/Pointwise/GridgenV15/mv...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mv...not found
Checking for program /share/apps/hwloc/bin/mv...not found
Checking for program /share/apps/open64/bin/mv...not found
Checking for program /usr/java/latest/bin/mv...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mv...not found
Checking for program /share/apps/hwloc/bin/mv...not found
Checking for program /share/apps/open64/bin/mv...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mv...not found
Checking for program /usr/kerberos/bin/mv...not found
Checking for program /usr/java/latest/bin/mv...not found
Checking for program /usr/local/bin/mv...not found
Checking for program /bin/mv...found
            Defined make macro "MV" to "/bin/mv"
Checking for program /opt/Pointwise/GridgenV15/cp...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/cp...not found
Checking for program /share/apps/hwloc/bin/cp...not found
Checking for program /share/apps/open64/bin/cp...not found
Checking for program /usr/java/latest/bin/cp...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/cp...not found
Checking for program /share/apps/hwloc/bin/cp...not found
Checking for program /share/apps/open64/bin/cp...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/cp...not found
Checking for program /usr/kerberos/bin/cp...not found
Checking for program /usr/java/latest/bin/cp...not found
Checking for program /usr/local/bin/cp...not found
Checking for program /bin/cp...found
            Defined make macro "CP" to "/bin/cp"
Checking for program /opt/Pointwise/GridgenV15/grep...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/grep...not found
Checking for program /share/apps/hwloc/bin/grep...not found
Checking for program /share/apps/open64/bin/grep...not found
Checking for program /usr/java/latest/bin/grep...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/grep...not found
Checking for program /share/apps/hwloc/bin/grep...not found
Checking for program /share/apps/open64/bin/grep...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/grep...not found
Checking for program /usr/kerberos/bin/grep...not found
Checking for program /usr/java/latest/bin/grep...not found
Checking for program /usr/local/bin/grep...not found
Checking for program /bin/grep...found
            Defined make macro "GREP" to "/bin/grep"
Checking for program /opt/Pointwise/GridgenV15/rm...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/rm...not found
Checking for program /share/apps/hwloc/bin/rm...not found
Checking for program /share/apps/open64/bin/rm...not found
Checking for program /usr/java/latest/bin/rm...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/rm...not found
Checking for program /share/apps/hwloc/bin/rm...not found
Checking for program /share/apps/open64/bin/rm...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/rm...not found
Checking for program /usr/kerberos/bin/rm...not found
Checking for program /usr/java/latest/bin/rm...not found
Checking for program /usr/local/bin/rm...not found
Checking for program /bin/rm...found
            Defined make macro "RM" to "/bin/rm -f"
Checking for program /opt/Pointwise/GridgenV15/diff...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/diff...not found
Checking for program /share/apps/hwloc/bin/diff...not found
Checking for program /share/apps/open64/bin/diff...not found
Checking for program /usr/java/latest/bin/diff...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/diff...not found
Checking for program /share/apps/hwloc/bin/diff...not found
Checking for program /share/apps/open64/bin/diff...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/diff...not found
Checking for program /usr/kerberos/bin/diff...not found
Checking for program /usr/java/latest/bin/diff...not found
Checking for program /usr/local/bin/diff...not found
Checking for program /bin/diff...not found
Checking for program /usr/bin/diff...found
Executing: "/usr/bin/diff" -w "/tmp/petsc-QpUpak/config.programs/diff1" "/tmp/petsc-QpUpak/config.programs/diff2"
          Defined make macro "DIFF" to "/usr/bin/diff -w"
Checking for program /usr/ucb/ps...not found
Checking for program /usr/usb/ps...not found
Checking for program /home/iman/ps...not found
Checking for program /opt/Pointwise/GridgenV15/gzip...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gzip...not found
Checking for program /share/apps/hwloc/bin/gzip...not found
Checking for program /share/apps/open64/bin/gzip...not found
Checking for program /usr/java/latest/bin/gzip...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gzip...not found
Checking for program /share/apps/hwloc/bin/gzip...not found
Checking for program /share/apps/open64/bin/gzip...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gzip...not found
Checking for program /usr/kerberos/bin/gzip...not found
Checking for program /usr/java/latest/bin/gzip...not found
Checking for program /usr/local/bin/gzip...not found
Checking for program /bin/gzip...found
            Defined make macro "GZIP" to "/bin/gzip"
          Defined "HAVE_GZIP" to "1"
          Defined make macro "PYTHON" to "/usr/bin/python"
================================================================================
TEST configureCLanguage from PETSc.utilities.languages(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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      4
        #define PETSC_VERSION_SUBMINOR   4
        #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 "/share/apps/petsc-petsc-7cd361a5361c"
================================================================================
TEST configureETags from PETSc.utilities.Etags(/share/apps/petsc-petsc-7cd361a5361c/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
WARNING: ETags files have not been created
Checking for program /opt/Pointwise/GridgenV15/etags...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/etags...not found
Checking for program /share/apps/hwloc/bin/etags...not found
Checking for program /share/apps/open64/bin/etags...not found
Checking for program /usr/java/latest/bin/etags...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/etags...not found
Checking for program /share/apps/hwloc/bin/etags...not found
Checking for program /share/apps/open64/bin/etags...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/etags...not found
Checking for program /usr/kerberos/bin/etags...not found
Checking for program /usr/java/latest/bin/etags...not found
Checking for program /usr/local/bin/etags...not found
Checking for program /bin/etags...not found
Checking for program /usr/bin/etags...found
            Defined make macro "ETAGS" to "/usr/bin/etags"
           Running /usr/bin/etags to generate TAGS files
Executing: /share/apps/petsc-petsc-7cd361a5361c/bin/maint/generateetags.py
*******Error generating etags files: Could not execute "/share/apps/petsc-petsc-7cd361a5361c/bin/maint/generateetags.py":
Traceback (most recent call last):
  File "/share/apps/petsc-petsc-7cd361a5361c/bin/maint/generateetags.py", line 154, in ?
    main(ctags)
  File "/share/apps/petsc-petsc-7cd361a5361c/bin/maint/generateetags.py", line 143, in main
    os.path.walk(os.getcwd(),processDir,[etagfile,ctagfile])
  File "/usr/lib64/python2.4/posixpath.py", line 298, in walk
    walk(name, func, arg)
  File "/usr/lib64/python2.4/posixpath.py", line 298, in walk
    walk(name, func, arg)
  File "/usr/lib64/python2.4/posixpath.py", line 298, in walk
    walk(name, func, arg)
  File "/usr/lib64/python2.4/posixpath.py", line 290, in walk
    func(arg, top, names)
  File "/share/apps/petsc-petsc-7cd361a5361c/bin/maint/generateetags.py", line 94, in processDir
    if newls: createTags(etagfile,ctagfile,dirname,newls)
  File "/share/apps/petsc-petsc-7cd361a5361c/bin/maint/generateetags.py", line 62, in createTags
    raise RuntimeError("Error running ctags "+output)
RuntimeError: Error running ctags sh: ctags: command not found
*******
================================================================================
TEST configureInstallationMethod from PETSc.utilities.petscclone(/share/apps/petsc-petsc-7cd361a5361c/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
        This repository clone is obtained as a tarball as neither .hg nor .git dirs exist!
================================================================================
TEST getDatafilespath from PETSc.utilities.dataFilesPath(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/dataFilesPath.py:29)
TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29)
  Checks what DATAFILESPATH should be
================================================================================
TEST configureArchitecture from PETSc.utilities.arch(/share/apps/petsc-petsc-7cd361a5361c/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
          Defined "ARCH" to ""linux-gnu-debug""
================================================================================
TEST setInstallDir from PETSc.utilities.installDir(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/installDir.py:53)
TESTING: saveReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:53)
================================================================================
TEST cleanInstallDir from PETSc.utilities.installDir(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/installDir.py:46)
TESTING: cleanInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:46)
================================================================================
TEST configureInstallDir from PETSc.utilities.installDir(/share/apps/petsc-petsc-7cd361a5361c/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 /share/apps/petsc-petsc-7cd361a5361c/linux-gnu-debug/conf
================================================================================
TEST restoreReconfigure from PETSc.utilities.installDir(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/installDir.py:66)
TESTING: restoreReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:66)
================================================================================
TEST setExternalPackagesDir from PETSc.utilities.externalpackagesdir(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/externalpackagesdir.py:15)
TESTING: setExternalPackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:15)
================================================================================
TEST cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/externalpackagesdir.py:22)
TESTING: cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:22)
================================================================================
TEST printEnvVariables from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/setCompilers.py:1515)
TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1515)
        **** printenv ****
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
MODULE_VERSION=3.2.6
ANSYS_ELMHOST=tyche.sens.buffalo.edu
XTERM_SHELL=/bin/bash
LESSOPEN=|/usr/bin/lesspipe.sh %s
SSH_CLIENT=128.205.24.28 55858 22
CVS_RSH=ssh
LOGNAME=iman
USER=iman
INPUTRC=/etc/inputrc
HOME=/home/iman
PATH=/opt/Pointwise/GridgenV15/:/share/apps/openmpi-1.5.1-open64/bin:/share/apps/hwloc/bin:/share/apps/open64/bin:/usr/java/latest/bin:/share/apps/openmpi-1.5.1-open64/bin:/share/apps/hwloc/bin:/share/apps/open64/bin:/share/apps/openmpi-1.5.1-open64/bin:/usr/kerberos/bin:/usr/java/latest/bin:/usr/local/bin:/bin:/usr/bin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/opt/maui/bin:/opt/torque/bin:/opt/torque/sbin:/opt/rocks/bin:/opt/rocks/sbin:/opt/eclipse:/opt/ganglia/bin:/opt/ganglia/sbin:/opt/maui/bin:/opt/torque/bin:/opt/torque/sbin:/opt/rocks/bin:/opt/rocks/sbin:/home/iman/bin
ROCKS_ROOT=/opt/rocks
LD_LIBRARY_PATH=/share/apps/openmpi-1.5.1-open64/lib:/share/apps/hwloc/lib:/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4:/export/home/user/acml4.4.0/gfortran_64/lib:/share/apps/openmpi-1.5.1-open64/lib:/share/apps/hwloc/lib:/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4:/export/home/user/acml4.4.0/gfortran_64/lib:/share/apps/openmpi-1.5.1-open64/lib64
LOADEDMODULES=gridgen/15.18
LANG=en_US.UTF-8
TERM=xterm
SHELL=/bin/bash
SHLVL=2
G_BROKEN_FILENAMES=1
ANSYSLMD_LICENSE_FILE=1095 at tyche.sens.buffalo.edu
HISTSIZE=1000
WINDOWID=8388646
MANPATH=/share/apps/openmpi-1.5.1-open64/share/man:/share/apps/hwloc/share/man:/opt/torque/man:/share/apps/openmpi-1.5.1-open64/share/man:/share/apps/hwloc/share/man:/opt/torque/man:/share/apps/openmpi-1.5.1-open64/share/man:
JAVA_HOME=/usr/java/latest
MODULESHOME=/opt/modules/
MODULE_VERSION_STACK=3.2.6
XTERM_VERSION=XTerm(215)
ROLLSROOT=/opt/rocks/share/devel/src/roll
_=./configure
MODULEPATH=/share/apps/modules/modulefiles:
ECLIPSE_HOME=/opt/eclipse
_LMFILES_=/share/apps/modules/modulefiles/gridgen/15.18
DISPLAY=localhost:16.0
ANT_HOME=/opt/rocks
OLDPWD=/home/iman/Pointwise/LicenseServer/linux/lmadmin
HOSTNAME=nami.eng.buffalo.edu
SSH_CONNECTION=128.205.24.28 55858 128.205.25.42 22
PWD=/share/apps/petsc-petsc-7cd361a5361c
ROCKSROOT=/opt/rocks/share/devel
MAIL=/var/spool/mail/iman
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
================================================================================
TEST resetEnvCompilers from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/setCompilers.py:1522)
TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1522)
================================================================================
TEST checkMPICompilerOverride from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/setCompilers.py:1506)
TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1506)
  OpenMPI wrappers require LD_LIBRARY_PATH set
        Adding to LD_LIBRARY_PATH /share/apps/openmpi-1.5.1-open64/lib
================================================================================
TEST checkVendor from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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 /share/apps/openmpi-1.5.1-open64/bin/mpicc...found
            Defined make macro "CC" to "/share/apps/openmpi-1.5.1-open64/bin/mpicc"
            Pushing language C
                      All intermediate test results are stored in /tmp/petsc-QpUpak/config.setCompilers
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                        Pushing language C
                        Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
            Popping language C
================================================================================
TEST checkCPreprocessor from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 /share/apps/openmpi-1.5.1-open64/bin/mpicc...found
            Defined make macro "CPP" to "/share/apps/openmpi-1.5.1-open64/bin/mpicc -E"
          Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.setCompilers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.setCompilers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.setCompilers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.setCompilers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.setCompilers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 326 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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;
# 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))) ;
# 182 "/usr/include/stdlib.h" 3 4
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))) ;
# 279 "/usr/include/stdlib.h" 3 4
extern double __strtod_internal (__const char *__restrict __nptr,
     char **__restrict __endptr, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern float __strtof_internal (__const char *__restrict __nptr,
    char **__restrict __endptr, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern long double __strtold_internal (__const char *__restrict __nptr,
           char **__restrict __endptr,
           int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern long int __strtol_internal (__const char *__restrict __nptr,
       char **__restrict __endptr,
       int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
          char **__restrict __endptr,
          int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern long long int __strtoll_internal (__const char *__restrict __nptr,
      char **__restrict __endptr,
      int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern unsigned long long int __strtoull_internal (__const char *
         __restrict __nptr,
         char **__restrict __endptr,
         int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern __inline double
__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
{
  return __strtod_internal (__nptr, __endptr, 0);
}
extern __inline long int
__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtol_internal (__nptr, __endptr, __base, 0);
}
extern __inline unsigned long int
__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoul_internal (__nptr, __endptr, __base, 0);
}
# 364 "/usr/include/stdlib.h" 3 4
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
extern __inline double
__attribute__ ((__nothrow__)) atof (__const char *__nptr)
{
  return strtod (__nptr, (char **) ((void *)0));
}
extern __inline int
__attribute__ ((__nothrow__)) atoi (__const char *__nptr)
{
  return (int) strtol (__nptr, (char **) ((void *)0), 10);
}
extern __inline long int
__attribute__ ((__nothrow__)) atol (__const char *__nptr)
{
  return strtol (__nptr, (char **) ((void *)0), 10);
}
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) atoll (__const char *__nptr)
{
  return strtoll (__nptr, (char **) ((void *)0), 10);
}
# 429 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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
# 439 "/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__ ((__malloc__)) __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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 26 "/usr/include/alloca.h" 2 3 4
extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
# 613 "/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)));
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__));
# 658 "/usr/include/stdlib.h" 3 4
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__));
# 698 "/usr/include/stdlib.h" 3 4
extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
# 709 "/usr/include/stdlib.h" 3 4
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 729 "/usr/include/stdlib.h" 3 4
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern int system (__const char *__command) ;
# 756 "/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 *);
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 int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
extern long int labs (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__)) ;
# 821 "/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))) ;
# 926 "/usr/include/stdlib.h" 3 4
extern int posix_openpt (int __oflag) ;
# 961 "/usr/include/stdlib.h" 3 4
extern int getloadavg (double __loadavg[], int __nelem)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 977 "/usr/include/stdlib.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.setCompilers/conftest.c" 2
          Popping language C
================================================================================
TEST checkCUDACompiler from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 /opt/Pointwise/GridgenV15/nvcc...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/nvcc...not found
Checking for program /share/apps/hwloc/bin/nvcc...not found
Checking for program /share/apps/open64/bin/nvcc...not found
Checking for program /usr/java/latest/bin/nvcc...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/nvcc...not found
Checking for program /share/apps/hwloc/bin/nvcc...not found
Checking for program /share/apps/open64/bin/nvcc...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/nvcc...not found
Checking for program /usr/kerberos/bin/nvcc...not found
Checking for program /usr/java/latest/bin/nvcc...not found
Checking for program /usr/local/bin/nvcc...not found
Checking for program /bin/nvcc...not found
Checking for program /usr/bin/nvcc...not found
Checking for program /opt/eclipse/nvcc...not found
Checking for program /opt/ganglia/bin/nvcc...not found
Checking for program /opt/ganglia/sbin/nvcc...not found
Checking for program /opt/maui/bin/nvcc...not found
Checking for program /opt/torque/bin/nvcc...not found
Checking for program /opt/torque/sbin/nvcc...not found
Checking for program /opt/rocks/bin/nvcc...not found
Checking for program /opt/rocks/sbin/nvcc...not found
Checking for program /opt/eclipse/nvcc...not found
Checking for program /opt/ganglia/bin/nvcc...not found
Checking for program /opt/ganglia/sbin/nvcc...not found
Checking for program /opt/maui/bin/nvcc...not found
Checking for program /opt/torque/bin/nvcc...not found
Checking for program /opt/torque/sbin/nvcc...not found
Checking for program /opt/rocks/bin/nvcc...not found
Checking for program /opt/rocks/sbin/nvcc...not found
Checking for program /home/iman/bin/nvcc...not found
Checking for program /home/iman/nvcc...not found
Checking for program /share/apps/petsc-petsc-7cd361a5361c/bin/win32fe/nvcc...not found
Checking for program /opt/Pointwise/GridgenV15/nvcc...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/nvcc...not found
Checking for program /share/apps/hwloc/bin/nvcc...not found
Checking for program /share/apps/open64/bin/nvcc...not found
Checking for program /usr/java/latest/bin/nvcc...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/nvcc...not found
Checking for program /share/apps/hwloc/bin/nvcc...not found
Checking for program /share/apps/open64/bin/nvcc...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/nvcc...not found
Checking for program /usr/kerberos/bin/nvcc...not found
Checking for program /usr/java/latest/bin/nvcc...not found
Checking for program /usr/local/bin/nvcc...not found
Checking for program /bin/nvcc...not found
Checking for program /usr/bin/nvcc...not found
Checking for program /opt/eclipse/nvcc...not found
Checking for program /opt/ganglia/bin/nvcc...not found
Checking for program /opt/ganglia/sbin/nvcc...not found
Checking for program /opt/maui/bin/nvcc...not found
Checking for program /opt/torque/bin/nvcc...not found
Checking for program /opt/torque/sbin/nvcc...not found
Checking for program /opt/rocks/bin/nvcc...not found
Checking for program /opt/rocks/sbin/nvcc...not found
Checking for program /opt/eclipse/nvcc...not found
Checking for program /opt/ganglia/bin/nvcc...not found
Checking for program /opt/ganglia/sbin/nvcc...not found
Checking for program /opt/maui/bin/nvcc...not found
Checking for program /opt/torque/bin/nvcc...not found
Checking for program /opt/torque/sbin/nvcc...not found
Checking for program /opt/rocks/bin/nvcc...not found
Checking for program /opt/rocks/sbin/nvcc...not found
Checking for program /home/iman/bin/nvcc...not found
Checking for program /home/iman/nvcc...not found
Checking for program /share/apps/petsc-petsc-7cd361a5361c/bin/win32fe/nvcc...not found
================================================================================
TEST checkCUDAPreprocessor from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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 /share/apps/openmpi-1.5.1-open64/bin/mpicxx...found
            Defined make macro "CXX" to "/share/apps/openmpi-1.5.1-open64/bin/mpicxx"
            Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers     /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers     /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers     /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                        Pushing language CXX
                        Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
            Popping language Cxx
================================================================================
TEST checkCxxPreprocessor from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 /share/apps/openmpi-1.5.1-open64/bin/mpicxx...found
            Defined make macro "CXXCPP" to "/share/apps/openmpi-1.5.1-open64/bin/mpicxx -E"
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -E  -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
stdout:
# 1 "/tmp/petsc-QpUpak/config.setCompilers/conftest.cc"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.setCompilers/conftest.cc"
# 1 "/tmp/petsc-QpUpak/config.setCompilers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.setCompilers/conftest.cc" 2
# 1 "/tmp/petsc-QpUpak/config.setCompilers/conffix.h" 1
extern "C" {
}
# 3 "/tmp/petsc-QpUpak/config.setCompilers/conftest.cc" 2
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 1 3
# 48 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 3
       
# 49 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 3
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/c++config.h" 1 3
# 41 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/c++config.h" 3
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/os_defines.h" 1 3
# 44 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/os_defines.h" 3
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 45 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/os_defines.h" 2 3
# 42 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/c++config.h" 2 3
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/cpu_defines.h" 1 3
# 45 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/c++config.h" 2 3
# 149 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/c++config.h" 3
namespace std __attribute__ ((__visibility__ ("default"))) {
# 161 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/x86_64-redhat-linux/bits/c++config.h" 3
}
# 51 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 2 3
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstddef" 1 3
# 48 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstddef" 3
       
# 49 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstddef" 3
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 152 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long int ptrdiff_t;
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 52 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstddef" 2 3
namespace std __attribute__ ((__visibility__ ("default"))) {
  using ::ptrdiff_t;
  using ::size_t;
}
# 52 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 2 3
# 72 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 3
# 1 "/usr/include/stdlib.h" 1 3 4
# 33 "/usr/include/stdlib.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 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
# 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;
# 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))) ;
extern double __strtod_internal (__const char *__restrict __nptr,
     char **__restrict __endptr, int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
extern float __strtof_internal (__const char *__restrict __nptr,
    char **__restrict __endptr, int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
extern long double __strtold_internal (__const char *__restrict __nptr,
           char **__restrict __endptr,
           int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
extern long int __strtol_internal (__const char *__restrict __nptr,
       char **__restrict __endptr,
       int __base, int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
          char **__restrict __endptr,
          int __base, int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
__extension__
extern long long int __strtoll_internal (__const char *__restrict __nptr,
      char **__restrict __endptr,
      int __base, int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
__extension__
extern unsigned long long int __strtoull_internal (__const char *
         __restrict __nptr,
         char **__restrict __endptr,
         int __base, int __group)
     throw () __attribute__ ((__nonnull__ (1))) ;
extern __inline double
strtod (__const char *__restrict __nptr, char **__restrict __endptr) throw ()
{
  return __strtod_internal (__nptr, __endptr, 0);
}
extern __inline long int
strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw ()
{
  return __strtol_internal (__nptr, __endptr, __base, 0);
}
extern __inline unsigned long int
strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw ()
{
  return __strtoul_internal (__nptr, __endptr, __base, 0);
}
extern __inline float
strtof (__const char *__restrict __nptr, char **__restrict __endptr) throw ()
{
  return __strtof_internal (__nptr, __endptr, 0);
}
extern __inline long double
strtold (__const char *__restrict __nptr, char **__restrict __endptr) throw ()
{
  return __strtold_internal (__nptr, __endptr, 0);
}
__extension__ extern __inline long long int
strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw ()
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw ()
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline long long int
strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) throw ()
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base) throw ()
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
extern __inline double
atof (__const char *__nptr) throw ()
{
  return strtod (__nptr, (char **) __null);
}
extern __inline int
atoi (__const char *__nptr) throw ()
{
  return (int) strtol (__nptr, (char **) __null, 10);
}
extern __inline long int
atol (__const char *__nptr) throw ()
{
  return strtol (__nptr, (char **) __null, 10);
}
__extension__ extern __inline long long int
atoll (__const char *__nptr) throw ()
{
  return strtoll (__nptr, (char **) __null, 10);
}
# 429 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 59 "/usr/include/time.h" 3 4
typedef __clock_t clock_t;
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     throw ();
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     throw ();
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     throw ();
__extension__ extern __inline unsigned int
gnu_dev_major (unsigned long long int __dev) throw ()
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
gnu_dev_minor (unsigned long long int __dev) throw ()
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw ()
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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
}
# 439 "/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__ ((__malloc__)) __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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 26 "/usr/include/alloca.h" 2 3 4
extern "C" {
extern void *alloca (size_t __size) throw ();
}
# 613 "/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 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 _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 ();
# 698 "/usr/include/stdlib.h" 3 4
extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
# 709 "/usr/include/stdlib.h" 3 4
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 719 "/usr/include/stdlib.h" 3 4
extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 729 "/usr/include/stdlib.h" 3 4
extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
extern int system (__const char *__command) ;
extern char *canonicalize_file_name (__const char *__name)
     throw () __attribute__ ((__nonnull__ (1))) ;
# 756 "/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;
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 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__)) ;
# 821 "/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))) ;
# 909 "/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)));
# 977 "/usr/include/stdlib.h" 3 4
}
# 73 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 2 3
# 104 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/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 labs(__i); }
  inline ldiv_t
  div(long __i, long __j) { return ldiv(__i, __j); }
}
# 161 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 3
namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) {
  using ::lldiv_t;
  using ::_Exit;
  inline long long
  abs(long long __x) { return __x >= 0 ? __x : -__x; }
  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;
# 194 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../include/c++/4.2.0/cstdlib" 3
  using ::atoll;
  using ::strtoll;
  using ::strtoull;
  using ::strtof;
  using ::strtold;
}
namespace std __attribute__ ((__visibility__ ("default"))) {
  using ::__gnu_cxx::lldiv_t;
  using ::__gnu_cxx::_Exit;
  using ::__gnu_cxx::abs;
  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 "/tmp/petsc-QpUpak/config.setCompilers/conftest.cc" 2
          Popping language Cxx
================================================================================
TEST checkFortranCompiler from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 /share/apps/openmpi-1.5.1-open64/bin/mpif90...found
            Defined make macro "FC" to "/share/apps/openmpi-1.5.1-open64/bin/mpif90"
            Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
                        Pushing language FC
                        Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
            Popping language FC
================================================================================
TEST checkFortranComments from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/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
          Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc --help
        Trying C compiler flag -PIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -PIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 512
stderr:
opencc ERROR parsing -PIC: unknown flag
          Rejecting linker flag -PIC due to nonzero status from link
          Rejecting C linker flag -PIC due to 

opencc ERROR parsing -PIC: unknown flag

        Rejected C compiler flag -PIC because linker cannot handle it
        Trying C compiler flag -fPIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid C linker flag -fPIC
        Adding C compiler flag -fPIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Added C compiler flag -fPIC
          Popping language C
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx --help
        Trying Cxx compiler flag -PIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers     /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language CXX
                  Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -PIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 512
stderr:
openCC ERROR parsing -PIC: unknown flag
          Rejecting linker flag -PIC due to nonzero status from link
          Rejecting Cxx linker flag -PIC due to 

openCC ERROR parsing -PIC: unknown flag

        Rejected Cxx compiler flag -PIC because linker cannot handle it
        Trying Cxx compiler flag -fPIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers     /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language CXX
                  Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid Cxx linker flag -fPIC
        Adding Cxx compiler flag -fPIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   -fPIC    /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Added Cxx compiler flag -fPIC
          Popping language Cxx
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 --help
        Trying FC compiler flag -PIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
                  Pushing language FC
                  Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -PIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 512
stderr:
openf90 ERROR parsing -PIC: unknown flag
          Rejecting linker flag -PIC due to nonzero status from link
          Rejecting FC linker flag -PIC due to 

openf90 ERROR parsing -PIC: unknown flag

        Rejected FC compiler flag -PIC because linker cannot handle it
        Trying FC compiler flag -fPIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
                  Pushing language FC
                  Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid FC linker flag -fPIC
        Adding FC compiler flag -fPIC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
Added FC compiler flag -fPIC
          Popping language FC
================================================================================
TEST checkLargeFileIO from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/setCompilers.py:1013)
TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1013)
================================================================================
TEST checkArchiver from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 2.17.50.0.6-14.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
Executing: ar -V
stdout:
GNU ar 2.17.50.0.6-14.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
              Defined make macro "FAST_AR_FLAGS" to "Scq"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int foo(int a) {
  return a+1;
}

Checking for program /opt/Pointwise/GridgenV15/ar...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ar...not found
Checking for program /share/apps/hwloc/bin/ar...not found
Checking for program /share/apps/open64/bin/ar...not found
Checking for program /usr/java/latest/bin/ar...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ar...not found
Checking for program /share/apps/hwloc/bin/ar...not found
Checking for program /share/apps/open64/bin/ar...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ar...not found
Checking for program /usr/kerberos/bin/ar...not found
Checking for program /usr/java/latest/bin/ar...not found
Checking for program /usr/local/bin/ar...not found
Checking for program /bin/ar...not found
Checking for program /usr/bin/ar...found
            Defined make macro "AR" to "/usr/bin/ar"
Checking for program /opt/Pointwise/GridgenV15/ranlib...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ranlib...not found
Checking for program /share/apps/hwloc/bin/ranlib...not found
Checking for program /share/apps/open64/bin/ranlib...not found
Checking for program /usr/java/latest/bin/ranlib...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ranlib...not found
Checking for program /share/apps/hwloc/bin/ranlib...not found
Checking for program /share/apps/open64/bin/ranlib...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ranlib...not found
Checking for program /usr/kerberos/bin/ranlib...not found
Checking for program /usr/java/latest/bin/ranlib...not found
Checking for program /usr/local/bin/ranlib...not found
Checking for program /bin/ranlib...not found
Checking for program /usr/bin/ranlib...found
            Defined make macro "RANLIB" to "/usr/bin/ranlib -c"
Executing: /usr/bin/ar cr /tmp/petsc-QpUpak/config.setCompilers/libconf1.a /tmp/petsc-QpUpak/config.setCompilers/conf1.o
Executing: /usr/bin/ranlib -c /tmp/petsc-QpUpak/config.setCompilers/libconf1.a
Possible ERROR while running ranlib: exit code 256
stderr:
/usr/bin/ranlib: '-c': No such file
        Ranlib is not functional with your archiver.  Try --with-ranlib=true if ranlib is unnecessary.
Executing: ar -V
stdout:
GNU ar 2.17.50.0.6-14.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
Executing: ar -V
stdout:
GNU ar 2.17.50.0.6-14.el5 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
              Defined make macro "FAST_AR_FLAGS" to "Scq"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int foo(int a) {
  return a+1;
}

Checking for program /opt/Pointwise/GridgenV15/ar...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ar...not found
Checking for program /share/apps/hwloc/bin/ar...not found
Checking for program /share/apps/open64/bin/ar...not found
Checking for program /usr/java/latest/bin/ar...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ar...not found
Checking for program /share/apps/hwloc/bin/ar...not found
Checking for program /share/apps/open64/bin/ar...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ar...not found
Checking for program /usr/kerberos/bin/ar...not found
Checking for program /usr/java/latest/bin/ar...not found
Checking for program /usr/local/bin/ar...not found
Checking for program /bin/ar...not found
Checking for program /usr/bin/ar...found
            Defined make macro "AR" to "/usr/bin/ar"
Checking for program /opt/Pointwise/GridgenV15/ranlib...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ranlib...not found
Checking for program /share/apps/hwloc/bin/ranlib...not found
Checking for program /share/apps/open64/bin/ranlib...not found
Checking for program /usr/java/latest/bin/ranlib...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ranlib...not found
Checking for program /share/apps/hwloc/bin/ranlib...not found
Checking for program /share/apps/open64/bin/ranlib...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/ranlib...not found
Checking for program /usr/kerberos/bin/ranlib...not found
Checking for program /usr/java/latest/bin/ranlib...not found
Checking for program /usr/local/bin/ranlib...not found
Checking for program /bin/ranlib...not found
Checking for program /usr/bin/ranlib...found
            Defined make macro "RANLIB" to "/usr/bin/ranlib"
Executing: /usr/bin/ar cr /tmp/petsc-QpUpak/config.setCompilers/libconf1.a /tmp/petsc-QpUpak/config.setCompilers/conf1.o
Executing: /usr/bin/ranlib /tmp/petsc-QpUpak/config.setCompilers/libconf1.a
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -L/tmp/petsc-QpUpak/config.setCompilers -lconf1 -lfortran -lmv -lffio
          Defined make macro "AR_FLAGS" to "cr"
          Defined make macro "AR_LIB_SUFFIX" to "a"
          Popping language C
================================================================================
TEST checkSharedLinker from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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
Executing: uname -s
stdout: Linux
        Checking shared linker /share/apps/openmpi-1.5.1-open64/bin/mpicc using flags ['-shared']
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mpicc...found
            Defined make macro "LD_SHARED" to "/share/apps/openmpi-1.5.1-open64/bin/mpicc"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -shared   -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid C linker flag -shared
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
int foo(void) {printf("hello");
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/libconftest.so  -shared  -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio -L/tmp/petsc-QpUpak/config.setCompilers -lconftest
        Using shared linker /share/apps/openmpi-1.5.1-open64/bin/mpicc with flags ['-shared'] and library extension so
Executing: uname -s
stdout: Linux
================================================================================
TEST checkSharedLinkerPaths from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -V
        Trying C linker flag -Wl,-rpath,
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -Wl,-rpath,/share/apps/petsc-petsc-7cd361a5361c   -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid C linker flag -Wl,-rpath,/share/apps/petsc-petsc-7cd361a5361c
          Popping language C
          Pushing language Cxx
Executing: uname -s
stdout: Linux
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -V
        Trying Cxx linker flag -Wl,-rpath,
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers   -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language CXX
                  Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -Wl,-rpath,/share/apps/petsc-petsc-7cd361a5361c   /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid Cxx linker flag -Wl,-rpath,/share/apps/petsc-petsc-7cd361a5361c
          Popping language Cxx
          Pushing language FC
Executing: uname -s
stdout: Linux
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -V
        Trying FC linker flag -Wl,-rpath,
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
                  Pushing language FC
                  Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -Wl,-rpath,/share/apps/petsc-petsc-7cd361a5361c   -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
          Valid FC linker flag -Wl,-rpath,/share/apps/petsc-petsc-7cd361a5361c
          Popping language FC
================================================================================
TEST checkLibC from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdlib.h> 
int foo(void) {void *chunk = malloc(31); free(chunk); return 0;}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/libconftest.so  -shared  -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -lfortran -lmv -lffio
        Shared linking does not require an explicit libc reference
================================================================================
TEST checkDynamicLinker from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/config.headers
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/dlfcn.h" 1 3 4
# 24 "/usr/include/dlfcn.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 25 "/usr/include/dlfcn.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 27 "/usr/include/dlfcn.h" 2 3 4
# 1 "/usr/include/bits/dlfcn.h" 1 3 4
# 30 "/usr/include/dlfcn.h" 2 3 4
# 54 "/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)));
# 84 "/usr/include/dlfcn.h" 3 4
extern char *dlerror (void) __attribute__ ((__nothrow__));
# 190 "/usr/include/dlfcn.h" 3 4
# 3 "/tmp/petsc-QpUpak/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 /tmp/petsc-QpUpak/config.libraries
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC /tmp/petsc-QpUpak/config.libraries/conftest.o  -ldl -lfortran -lmv -lffio
              Defined "HAVE_LIBDL" to "1"
              Popping language C
          Adding ['dl'] to LIBS
Executing: uname -s
stdout: Linux
        Checking dynamic linker /share/apps/openmpi-1.5.1-open64/bin/mpicc using flags ['-shared']
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mpicc...found
            Defined make macro "DYNAMICLINKER" to "/share/apps/openmpi-1.5.1-open64/bin/mpicc"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest  -shared   -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -ldl -lfortran -lmv -lffio
          Valid C linker flag -shared
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/libconftest.so  -shared  -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.setCompilers/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.setCompilers/conftest.c:11: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/petsc-QpUpak/config.setCompilers/conftest.c:15: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/petsc-QpUpak/config.setCompilers/conftest.c:19: warning: incompatible implicit declaration of built-in function 'printf'
Source:
#include "confdefs.h"
#include "conffix.h"
#include<dlfcn.h>

int main() {

void *handle = dlopen("/tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC /tmp/petsc-QpUpak/config.setCompilers/conftest.o -ldl -lfortran -lmv -lffio
        Using dynamic linker /share/apps/openmpi-1.5.1-open64/bin/mpicc with flags ['-shared'] and library extension so
================================================================================
TEST output from config.setCompilers(/share/apps/petsc-petsc-7cd361a5361c/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 "/share/apps/openmpi-1.5.1-open64/bin/mpicc"
          Substituting "CFLAGS" with " -fPIC"
          Defined make macro "CC_LINKER_SLFLAG" to "-Wl,-rpath,"
          Substituting "CPP" with "/share/apps/openmpi-1.5.1-open64/bin/mpicc -E"
          Substituting "CPPFLAGS" with ""
          Substituting "CXX" with "/share/apps/openmpi-1.5.1-open64/bin/mpicxx"
          Substituting "CXX_CXXFLAGS" with " -fPIC"
          Substituting "CXXFLAGS" with ""
          Substituting "CXX_LINKER_SLFLAG" with "-Wl,-rpath,"
          Substituting "CXXCPP" with "/share/apps/openmpi-1.5.1-open64/bin/mpicxx -E"
          Substituting "CXXCPPFLAGS" with ""
          Substituting "FC" with "/share/apps/openmpi-1.5.1-open64/bin/mpif90"
          Substituting "FFLAGS" with " -fPIC"
          Defined make macro "FC_LINKER_SLFLAG" to "-Wl,-rpath,"
          Substituting "LDFLAGS" with ""
          Substituting "LIBS" with "-ldl -lfortran -lmv -lffio"
          Substituting "SHARED_LIBRARY_FLAG" with "-shared"
Executing: uname -s
stdout: Linux
================================================================================
TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/sharedLibraries.py:37)
TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:37)
================================================================================
TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/share/apps/petsc-petsc-7cd361a5361c/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 "shared_linux" and code []
          Defined make macro "SONAME_FUNCTION" to "$(1).so.$(2)"
          Defined make macro "SL_LINKER_FUNCTION" to "-shared -Wl,-soname,$(call SONAME_FUNCTION,$(notdir $(1)),$(2))"
          Defined make macro "BUILDSHAREDLIB" to "yes"
          Defined "HAVE_SHARED_LIBRARIES" to "1"
          Defined "USE_SHARED_LIBRARIES" to "1"
================================================================================
TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilerFlags.py:65)
TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:65)
  Get the default compiler flags
          Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc --version
getCompilerVersion: /share/apps/openmpi-1.5.1-open64/bin/mpicc 
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -show
stdout: opencc -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
              Defined make macro "MPICC_SHOW" to "opencc -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
Executing: opencc --help
Executing: opencc --help
Executing: opencc --help
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -show
stdout: opencc -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
              Defined make macro "MPICC_SHOW" to "opencc -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
Executing: opencc --help
Executing: opencc --help
        Trying C compiler flag -g
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Added C compiler flag -g
          Popping language C
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx --version
getCompilerVersion: /share/apps/openmpi-1.5.1-open64/bin/mpicxx 
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -show
stdout: openCC -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_cxx -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
              Defined make macro "MPICXX_SHOW" to "openCC -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_cxx -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
Executing: openCC --help
Executing: openCC --help
Executing: openCC --help
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -show
stdout: openCC -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_cxx -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
              Defined make macro "MPICXX_SHOW" to "openCC -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_cxx -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
Executing: openCC --help
Executing: openCC --help
        Trying Cxx compiler flag -g
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -g   -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Added Cxx compiler flag -g
          Popping language Cxx
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 --version
getCompilerVersion: /share/apps/openmpi-1.5.1-open64/bin/mpif90 
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -show
stdout: openf90 -I/share/apps/openmpi-1.5.1-open64/include -pthread -I/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
              Defined make macro "MPIFC_SHOW" to "openf90 -I/share/apps/openmpi-1.5.1-open64/include -pthread -I/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
Executing: openf90 --help
Executing: openf90 --help
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -show
stdout: openf90 -I/share/apps/openmpi-1.5.1-open64/include -pthread -I/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
              Defined make macro "MPIFC_SHOW" to "openf90 -I/share/apps/openmpi-1.5.1-open64/include -pthread -I/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -lmpi_f90 -lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
Executing: openf90 --help
        Trying FC compiler flag -g
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
Added FC compiler flag -g
          Popping language FC
================================================================================
TEST configureDebugging from PETSc.utilities.debugging(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/debugging.py:25)
TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25)
          Defined "USE_ERRORCHECKING" to "1"
================================================================================
TEST checkRestrict from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/config.compilers
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.compilers/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.compilers/conftest.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x'
/tmp/petsc-QpUpak/config.compilers/conftest.c:5: error: 'x' undeclared (first use in this function)
/tmp/petsc-QpUpak/config.compilers/conftest.c:5: error: (Each undeclared identifier is reported only once
/tmp/petsc-QpUpak/config.compilers/conftest.c:5: error: for each function it appears in.)
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
float * restrict x;;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:308)
TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:308)
  Activate format string checking if using the GNU compilers
================================================================================
TEST checkCStaticInline from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:319)
TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:319)
  Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;

int main() {
dlopen(libname, RTLD_LAZY);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio
          Defined "HAVE_RTLD_LAZY" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;

int main() {
dlopen(libname, RTLD_NOW);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio
          Defined "HAVE_RTLD_NOW" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;

int main() {
dlopen(libname, RTLD_LOCAL);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio
          Defined "HAVE_RTLD_LOCAL" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;

int main() {
dlopen(libname, RTLD_GLOBAL);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio
          Defined "HAVE_RTLD_GLOBAL" to "1"
================================================================================
TEST checkDependencyGenerationFlag from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1321)
TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1321)
  Check if -MMD works for dependency generation, and add it if it does
          Pushing language C
        Trying C compiler flag -MMD -MP
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g -MMD -MP  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -g  -fPIC -MMD -MP   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g -MMD -MP  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
        Rejected FC compiler flag -MMD -MP because no dependency file (/tmp/petsc-QpUpak/config.setCompilers/conftest.d) was generated
        Trying FC compiler flag -MMD
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g -MMD  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
        Rejected FC compiler flag -MMD because no dependency file (/tmp/petsc-QpUpak/config.setCompilers/conftest.d) was generated
        Trying FC compiler flag -xMMD
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g -xMMD  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Possible ERROR while running compiler: exit code 256
stderr:
openf90 ERROR parsing MMD: Unknown language
Source:
      program main

      end
          Rejecting compiler flag -xMMD due to nonzero status from link
          Rejecting compiler flag -xMMD due to 
openf90 ERROR parsing MMD: Unknown language

PETSc Error: No output file produced
        Rejected FC compiler flag -xMMD
        Trying FC compiler flag -qmakedep=gcc
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g -qmakedep=gcc  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Possible ERROR while running compiler: exit code 512
stderr:
openf90 ERROR parsing -qmakedep=gcc: unknown flag
Source:
      program main

      end
          Rejecting compiler flag -qmakedep=gcc due to nonzero status from link
          Rejecting compiler flag -qmakedep=gcc due to 
openf90 ERROR parsing -qmakedep=gcc: unknown flag

PETSc Error: No output file produced
        Rejected FC compiler flag -qmakedep=gcc
        Trying FC compiler flag -MD
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g -MD  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
        Rejected FC compiler flag -MD because no dependency file (/tmp/petsc-QpUpak/config.setCompilers/conftest.d) was generated
          Popping language FC
================================================================================
TEST checkRestrict from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g  -fPIC   /tmp/petsc-QpUpak/config.compilers/conftest.cc 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.compilers/conftest.cc: In function 'int main()':
/tmp/petsc-QpUpak/config.compilers/conftest.cc:5: error: expected initializer before 'x'
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
float * restrict x;;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -g  -fPIC   /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:357)
TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:357)
  Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -g  -fPIC   /tmp/petsc-QpUpak/config.compilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
namespace petsc {int dummy;}

int main() {
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -g  -fPIC   /tmp/petsc-QpUpak/config.compilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
template <class dummy> struct a {};
namespace trouble{
template <class dummy> struct a : public ::a<dummy> {};
}
trouble::a<int> uugh;

int main() {
;
  return 0;
}
          Popping language Cxx
        compilers: C++ has namespaces
          Defined "HAVE_CXX_NAMESPACE" to "1"
================================================================================
TEST checkCxxOptionalExtensions from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:332)
TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:332)
  Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g    -fPIC   /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g   -fPIC   /tmp/petsc-QpUpak/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 checkCxxLibraries from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:408)
TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:408)
  Determines the libraries needed to link with C++
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g   -fPIC   /tmp/petsc-QpUpak/config.compilers/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                Pushing language CXX
                Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.compilers/conftest  -v   -g  /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio
Possible ERROR while running linker:
stderr:
Open64 Compiler Suite: Version 4.2.4
Built on: 2011-01-27 14:59:23 -0600
Thread model: posix
GNU gcc version 4.2.0 (Open64 4.2.4 driver)
openCC WARNING: -g changes optimization to -O0 since no optimization level is specified
/share/apps/open64/open64-gcc-4.2.0/bin/g++ -demangle -v -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath-link,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath-link,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -Wl,-rpath,/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -Wl,-rpath-link,/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -o /tmp/petsc-QpUpak/config.compilers/conftest /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lacml_mv -lmv -lm -lacml_mv -lm -ldl -lpthread -lopen64rt -lacml_mv -lm -lmv -lm 
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/open64-gcc-4.2.0 --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-bootstrap --disable-libmudflap --disable-libssp --enable-threads=posix --disable-checking --enable-tls --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.2.0
 /share/apps/open64/open64-gcc-4.2.0/bin/../libexec/gcc/x86_64-redhat-linux/4.2.0/collect2 --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o /tmp/petsc-QpUpak/config.compilers/conftest /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/crtbegin.o -L/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../.. -rpath-link /share/apps/openmpi-1.5.1-open64/lib -rpath-link /share/apps/openmpi-1.5.1-open64/lib -rpath /share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4 -rpath-link /share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4 /tmp/petsc-QpUpak/config.compilers/conftest.o -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -ldl --export-dynamic -lnsl -lutil -lacml_mv -lmv -lacml_mv -lm -ldl -lpthread -lopen64rt -lacml_mv -lm -lmv -lm -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/crtend.o /usr/lib/../lib64/crtn.o
          Popping language Cxx
        compilers: Checking arg Open64
        compilers: Unknown arg Open64
        compilers: Checking arg Compiler
        compilers: Unknown arg Compiler
        compilers: Checking arg Suite:
        compilers: Unknown arg Suite:
        compilers: Checking arg Version
        compilers: Unknown arg Version
        compilers: Checking arg 4.2.4
        compilers: Unknown arg 4.2.4
        compilers: Checking arg Built
        compilers: Unknown arg Built
        compilers: Checking arg on:
        compilers: Unknown arg on:
        compilers: Checking arg 2011-01-27
        compilers: Unknown arg 2011-01-27
        compilers: Checking arg 14:59:23
        compilers: Unknown arg 14:59:23
        compilers: Checking arg -0600
        compilers: Unknown arg -0600
        compilers: Checking arg Thread
        compilers: Unknown arg Thread
        compilers: Checking arg model:
        compilers: Unknown arg model:
        compilers: Checking arg posix
        compilers: Unknown arg posix
        compilers: Checking arg GNU
        compilers: Unknown arg GNU
        compilers: Checking arg gcc
        compilers: Unknown arg gcc
        compilers: Checking arg version
        compilers: Unknown arg version
        compilers: Checking arg 4.2.0
        compilers: Unknown arg 4.2.0
        compilers: Checking arg (Open64
        compilers: Unknown arg (Open64
        compilers: Checking arg 4.2.4
        compilers: Unknown arg 4.2.4
        compilers: Checking arg driver)
        compilers: Unknown arg driver)
        compilers: Checking arg openCC
        compilers: Unknown arg openCC
        compilers: Checking arg WARNING:
        compilers: Unknown arg WARNING:
        compilers: Checking arg -g
        compilers: Unknown arg -g
        compilers: Checking arg changes
        compilers: Unknown arg changes
        compilers: Checking arg optimization
        compilers: Unknown arg optimization
        compilers: Checking arg to
        compilers: Unknown arg to
        compilers: Checking arg -O0
        compilers: Unknown arg -O0
        compilers: Checking arg since
        compilers: Unknown arg since
        compilers: Checking arg no
        compilers: Unknown arg no
        compilers: Checking arg optimization
        compilers: Unknown arg optimization
        compilers: Checking arg level
        compilers: Unknown arg level
        compilers: Checking arg is
        compilers: Unknown arg is
        compilers: Checking arg specified
        compilers: Unknown arg specified
        compilers: Checking arg /share/apps/open64/open64-gcc-4.2.0/bin/g++
        compilers: Unknown arg /share/apps/open64/open64-gcc-4.2.0/bin/g++
        compilers: Checking arg -demangle
        compilers: Unknown arg -demangle
        compilers: Checking arg -v
        compilers: Unknown arg -v
        compilers: Checking arg -L/share/apps/openmpi-1.5.1-open64/lib
        compilers: Found library directory: -L/share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -Wl,-rpath-link,/share/apps/openmpi-1.5.1-open64/lib
        compilers: Unknown arg -Wl,-rpath-link,/share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -L/share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -Wl,-rpath-link,/share/apps/openmpi-1.5.1-open64/lib
        compilers: Unknown arg -Wl,-rpath-link,/share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -L/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Found library directory: -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Checking arg -Wl,-rpath,/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Unknown arg -Wl,-rpath,/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Checking arg -Wl,-rpath-link,/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Unknown arg -Wl,-rpath-link,/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Checking arg -o
        compilers: Unknown arg -o
        compilers: Checking arg /tmp/petsc-QpUpak/config.compilers/conftest
        compilers: Unknown arg /tmp/petsc-QpUpak/config.compilers/conftest
        compilers: Checking arg /tmp/petsc-QpUpak/config.compilers/conftest.o
        compilers: Unknown arg /tmp/petsc-QpUpak/config.compilers/conftest.o
        compilers: Checking arg -ldl
        compilers: Found library: -ldl
        compilers: Checking arg -lfortran
        compilers: Found library: -lfortran
        compilers: Checking arg -lmv
        compilers: Found library: -lmv
        compilers: Checking arg -lffio
        compilers: Found library: -lffio
        compilers: Checking arg -lmpi_cxx
        compilers: Found library: -lmpi_cxx
        compilers: Checking arg -lmpi
        compilers: Found library: -lmpi
        compilers: Checking arg -ldl
        compilers: Checking arg -Wl,--export-dynamic
        compilers: Unknown arg -Wl,--export-dynamic
        compilers: Checking arg -lnsl
        compilers: Found library: -lnsl
        compilers: Checking arg -lutil
        compilers: Found library: -lutil
        compilers: Checking arg -lacml_mv
        compilers: Found library: -lacml_mv
        compilers: Checking arg -lmv
        compilers: Checking arg -lm
        compilers: Checking arg -lacml_mv
        compilers: Checking arg -lm
        compilers: Checking arg -ldl
        compilers: Checking arg -lpthread
        compilers: Found library: -lpthread
        compilers: Checking arg -lopen64rt
        compilers: Found library: -lopen64rt
        compilers: Checking arg -lacml_mv
        compilers: Checking arg -lm
        compilers: Checking arg -lmv
        compilers: Checking arg -lm
        compilers: Checking arg Using
        compilers: Unknown arg Using
        compilers: Checking arg built-in
        compilers: Unknown arg built-in
        compilers: Checking arg specs.
        compilers: Unknown arg specs.
        compilers: Checking arg Target:
        compilers: Unknown arg Target:
        compilers: Checking arg x86_64-redhat-linux
        compilers: Unknown arg x86_64-redhat-linux
        compilers: Checking arg Configured
        compilers: Unknown arg Configured
        compilers: Checking arg with:
        compilers: Unknown arg with:
        compilers: Checking arg ../configure
        compilers: Unknown arg ../configure
        compilers: Checking arg --prefix=/open64-gcc-4.2.0
        compilers: Unknown arg --prefix=/open64-gcc-4.2.0
        compilers: Checking arg --with-gnu-as
        compilers: Unknown arg --with-gnu-as
        compilers: Checking arg --with-gnu-ld
        compilers: Unknown arg --with-gnu-ld
        compilers: Checking arg --enable-languages=c,c++
        compilers: Unknown arg --enable-languages=c,c++
        compilers: Checking arg --disable-bootstrap
        compilers: Unknown arg --disable-bootstrap
        compilers: Checking arg --disable-libmudflap
        compilers: Unknown arg --disable-libmudflap
        compilers: Checking arg --disable-libssp
        compilers: Unknown arg --disable-libssp
        compilers: Checking arg --enable-threads=posix
        compilers: Unknown arg --enable-threads=posix
        compilers: Checking arg --disable-checking
        compilers: Unknown arg --disable-checking
        compilers: Checking arg --enable-tls
        compilers: Unknown arg --enable-tls
        compilers: Checking arg --with-system-zlib
        compilers: Unknown arg --with-system-zlib
        compilers: Checking arg --enable-__cxa_atexit
        compilers: Unknown arg --enable-__cxa_atexit
        compilers: Checking arg --host=x86_64-redhat-linux
        compilers: Unknown arg --host=x86_64-redhat-linux
        compilers: Checking arg Thread
        compilers: Unknown arg Thread
        compilers: Checking arg model:
        compilers: Unknown arg model:
        compilers: Checking arg posix
        compilers: Unknown arg posix
        compilers: Checking arg gcc
        compilers: Unknown arg gcc
        compilers: Checking arg version
        compilers: Unknown arg version
        compilers: Checking arg 4.2.0
        compilers: Unknown arg 4.2.0
        compilers: Checking arg /share/apps/open64/open64-gcc-4.2.0/bin/../libexec/gcc/x86_64-redhat-linux/4.2.0/collect2
        compilers: Unknown arg /share/apps/open64/open64-gcc-4.2.0/bin/../libexec/gcc/x86_64-redhat-linux/4.2.0/collect2
        compilers: Checking arg --eh-frame-hdr
        compilers: Unknown arg --eh-frame-hdr
        compilers: Checking arg -m
        compilers: Unknown arg -m
        compilers: Checking arg elf_x86_64
        compilers: Unknown arg elf_x86_64
        compilers: Checking arg -dynamic-linker
        compilers: Unknown arg -dynamic-linker
        compilers: Checking arg /lib64/ld-linux-x86-64.so.2
        compilers: Unknown arg /lib64/ld-linux-x86-64.so.2
        compilers: Checking arg -o
        compilers: Unknown arg -o
        compilers: Checking arg /tmp/petsc-QpUpak/config.compilers/conftest
        compilers: Unknown arg /tmp/petsc-QpUpak/config.compilers/conftest
        compilers: Checking arg /usr/lib/../lib64/crt1.o
        compilers: Unknown arg /usr/lib/../lib64/crt1.o
        compilers: Checking arg /usr/lib/../lib64/crti.o
        compilers: Unknown arg /usr/lib/../lib64/crti.o
        compilers: Checking arg /share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/crtbegin.o
        compilers: Unknown arg /share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/crtbegin.o
        compilers: Checking arg -L/share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -L/share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -L/share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Checking arg -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0
        compilers: Found library directory: -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0
        compilers: Checking arg -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc
        compilers: Found library directory: -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc
        compilers: Checking arg -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../lib64
        compilers: Found library directory: -L/share/apps/open64/open64-gcc-4.2.0/lib64
        compilers: Checking arg -L/lib/../lib64
        compilers: Checking arg -L/usr/lib/../lib64
        compilers: Checking arg -L/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../..
        compilers: Found library directory: -L/share/apps/open64/open64-gcc-4.2.0/lib
        compilers: Checking arg -rpath-link
        compilers: Unknown arg -rpath-link
        compilers: Checking arg /share/apps/openmpi-1.5.1-open64/lib
        compilers: Unknown arg /share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -rpath-link
        compilers: Unknown arg -rpath-link
        compilers: Checking arg /share/apps/openmpi-1.5.1-open64/lib
        compilers: Unknown arg /share/apps/openmpi-1.5.1-open64/lib
        compilers: Checking arg -rpath
        compilers: Found -rpath library: /share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Checking arg -rpath-link
        compilers: Unknown arg -rpath-link
        compilers: Checking arg /share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Unknown arg /share/apps/open64//lib/gcc-lib/x86_64-open64-linux/4.2.4
        compilers: Checking arg /tmp/petsc-QpUpak/config.compilers/conftest.o
        compilers: Unknown arg /tmp/petsc-QpUpak/config.compilers/conftest.o
        compilers: Checking arg -ldl
        compilers: Checking arg -lfortran
        compilers: Checking arg -lmv
        compilers: Checking arg -lffio
        compilers: Checking arg -lmpi_cxx
        compilers: Checking arg -lmpi
        compilers: Checking arg -ldl
        compilers: Checking arg --export-dynamic
        compilers: Unknown arg --export-dynamic
        compilers: Checking arg -lnsl
        compilers: Checking arg -lutil
        compilers: Checking arg -lacml_mv
        compilers: Checking arg -lmv
        compilers: Checking arg -lacml_mv
        compilers: Checking arg -lm
        compilers: Checking arg -ldl
        compilers: Checking arg -lpthread
        compilers: Checking arg -lopen64rt
        compilers: Checking arg -lacml_mv
        compilers: Checking arg -lm
        compilers: Checking arg -lmv
        compilers: Checking arg -lm
        compilers: Checking arg -lstdc++
        compilers: Found library: -lstdc++
        compilers: Checking arg -lm
        compilers: Checking arg -lgcc_s
        compilers: Found library: -lgcc_s
        compilers: Checking arg -lgcc
        compilers: Skipping system library: -lgcc
        compilers: Checking arg -lc
        compilers: Skipping system library: -lc
        compilers: Checking arg -lgcc_s
        compilers: Checking arg -lgcc
        compilers: Skipping system library: -lgcc
        compilers: Checking arg /share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/crtend.o
        compilers: Unknown arg /share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/crtend.o
        compilers: Checking arg /usr/lib/../lib64/crtn.o
        compilers: Unknown arg /usr/lib/../lib64/crtn.o
        compilers: Libraries needed to link Cxx code with another linker: ['-Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib', '-L/share/apps/openmpi-1.5.1-open64/lib', '-Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4', '-L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4', '-ldl', '-lfortran', '-lmv', '-lffio', '-lmpi_cxx', '-lmpi', '-lnsl', '-lutil', '-lacml_mv', '-lpthread', '-lopen64rt', '-Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0', '-L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0', '-Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc', '-L/share/apps/open64/open64-gcc-4.2.0/lib/gcc', '-Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64', '-L/share/apps/open64/open64-gcc-4.2.0/lib64', '-Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib', '-L/share/apps/open64/open64-gcc-4.2.0/lib', '-Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4', '-lstdc++', '-lgcc_s']
        compilers: Check that Cxx libraries can be used from C
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.setCompilers/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.setCompilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

int main() {
;
  return 0;
}
                        Pushing language C
                        Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.setCompilers/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
            Popping language C
        compilers: Check that Cxx libraries can be used from Fortran
            Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
                    Pushing language FC
                    Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.setCompilers/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.setCompilers/conftest.F 
Successful compile:
Source:
      program main

      end
                        Pushing language FC
                        Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.setCompilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.setCompilers/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
Executing: /tmp/petsc-QpUpak/config.setCompilers/conftest
            Popping language FC
================================================================================
TEST checkCxx11 from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:372)
TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:372)
  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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g    -fPIC   /tmp/petsc-QpUpak/config.setCompilers/conftest.cc 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.setCompilers/conftest.cc:3:18: error: random: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <random>

int main() {

          std::random_device rd;
          std::mt19937 mt(rd());
          std::normal_distribution<double> dist(0,1);
          const double x = dist(mt);
          ;
  return 0;
}
          Rejecting compiler flag  due to nonzero status from link
          Rejecting compiler flag  due to 
/tmp/petsc-QpUpak/config.setCompilers/conftest.cc:3:18: error: random: No such file or directory

PETSc Error: No output file produced
          Popping language Cxx
================================================================================
TEST checkFortranTypeSizes from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:566)
TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:566)
  Check whether real*8 is supported and suggest flags which will allow support
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      program main
      real*8 variable
      end
          Popping language FC
================================================================================
TEST checkFortranNameMangling from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:625)
TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:625)
  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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
void d1chk_(void){return;}
            Popping language C
            Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      program main
       call d1chk()

      end
                    Pushing language FC
                    Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.compilers/conftest.o /tmp/petsc-QpUpak/config.compilers/confc.o  -ldl -lfortran -lmv -lffio
            Popping language FC
        compilers: Fortran name mangling is underscore
          Defined "HAVE_FORTRAN_UNDERSCORE" to "1"
================================================================================
TEST checkFortranNameManglingDouble from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:662)
TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:662)
  Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      program main
       call d1_chk()

      end
                    Pushing language FC
                    Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.compilers/conftest.o /tmp/petsc-QpUpak/config.compilers/confc.o  -ldl -lfortran -lmv -lffio
            Popping language FC
        compilers: Fortran appends an extra underscore to names containing underscores
          Defined "HAVE_FORTRAN_UNDERSCORE_UNDERSCORE" to "1"
================================================================================
TEST checkFortranPreprocessor from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:672)
TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:672)
  Determine if Fortran handles preprocessing properly
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g    /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:693)
TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:693)
  Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.setCompilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  -DTesting  /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1055)
TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1055)
  Check that Fortran can be linked against C++
          Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g   -fPIC   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g   -fPIC   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      program main
       call d1chk()

      end
                    Pushing language FC
                    Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.o /tmp/petsc-QpUpak/config.compilers/cxxobj.o  /tmp/petsc-QpUpak/config.compilers/confc.o  -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.compilers/cxxobj.o:(.gnu.linkonce.d.DW.ref.__gxx_personality_v0+0x0): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
            Popping language FC
            Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -g   -fPIC   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      program main
       call d1chk()

      end
                    Pushing language FC
                    Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.o /tmp/petsc-QpUpak/config.compilers/cxxobj.o  /tmp/petsc-QpUpak/config.compilers/confc.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language FC
        compilers: Fortran can link C++ functions using the C++ compiler libraries
================================================================================
TEST checkFortran90 from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1090)
TESTING: checkFortran90 from config.compilers(config/BuildSystem/config/compilers.py:1090)
  Determine whether the Fortran compiler handles F90
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "USING_F90" to "1"
        Fortran compiler supports F90
          Popping language FC
================================================================================
TEST checkFortran2003 from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1103)
TESTING: checkFortran2003 from config.compilers(config/BuildSystem/config/compilers.py:1103)
  Determine whether the Fortran compiler handles F2003
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/config.compilers/conftest.F 
Possible ERROR while running compiler: exit code 256
stderr:

openf95-3 openf90: INTERNAL MAIN, File = /tmp/petsc-QpUpak/config.compilers/conftest.F, Line = 9 
  Message system failed trying to issue message 1692
openf90 INTERNAL ERROR: /share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4/mfef95 returned non-zero status 1
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
            Compile failed inside link

        Fortran compiler does not support F2003
          Popping language FC
================================================================================
TEST checkFortran90Array from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1123)
TESTING: checkFortran90Array from config.compilers(config/BuildSystem/config/compilers.py:1123)
  Check for F90 array interfaces
Executing: uname -s
stdout: Linux
          Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include<stdio.h>
#include <stdlib.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.o /tmp/petsc-QpUpak/config.compilers/fooobj.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.compilers/conftest
Executing: /tmp/petsc-QpUpak/config.compilers/conftest
stdout:
arrays [0x7fff5ae20430 0x7fff5ae20430 0x7fff5ae20430]
arrays [0x7fff5ae20540 0x7fff5ae204e0 0x7fff5ae20540]
pointers do not match! [0xffffffff (nil)] [0xffffffff]
ERROR while running executable: Could not execute "/tmp/petsc-QpUpak/config.compilers/conftest":
arrays [0x7fff5ae20430 0x7fff5ae20430 0x7fff5ae20430]
arrays [0x7fff5ae20540 0x7fff5ae204e0 0x7fff5ae20540]
pointers do not match! [0xffffffff (nil)] [0xffffffff]
          Popping language FC
        compilers: F90 uses a single argument for array pointers
================================================================================
TEST checkFortranModuleInclude from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1210)
TESTING: checkFortranModuleInclude from config.compilers(config/BuildSystem/config/compilers.py:1210)
  Figures out what flag is used to specify the include path for Fortran modules
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g   /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      module configtest
      integer testint
      parameter (testint = 42)
      end module configtest
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers/confdir  -fPIC -g   /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      program main
      use configtest

      write(*,*) testint

      end
                  Pushing language FC
                  Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.compilers/conftest   -I/tmp/petsc-QpUpak/config.compilers/confdir  -fPIC -g  /tmp/petsc-QpUpak/config.compilers/conftest.o /tmp/petsc-QpUpak/config.compilers/configtest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
        compilers: Fortran module include flag -I found
          Popping language FC
================================================================================
TEST checkFortranModuleOutput from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1276)
TESTING: checkFortranModuleOutput from config.compilers(config/BuildSystem/config/compilers.py:1276)
  Figures out what flag is used to specify the include path for Fortran modules
          Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.compilers/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -module /tmp/petsc-QpUpak/config.compilers/confdir  -fPIC -g   /tmp/petsc-QpUpak/config.compilers/conftest.F 
Successful compile:
Source:
      module configtest
      integer testint
      parameter (testint = 42)
      end module configtest
        compilers: Fortran module output flag -module  found
          Popping language FC
================================================================================
TEST setupFrameworkCompilers from config.compilers(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/compilers.py:1407)
TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1407)
================================================================================
TEST configureFortranCPP from PETSc.utilities.fortranCPP(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/headers.py:105)
TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:105)
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.headers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers  -fPIC -g  /tmp/petsc-QpUpak/config.headers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>

int main() {
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 27 "/usr/include/string.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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)));
extern void *memchr (__const void *__s, int __c, size_t __n)
      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 82 "/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)));
# 130 "/usr/include/string.h" 3 4
extern char *strdup (__const char *__s)
     __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
# 165 "/usr/include/string.h" 3 4
extern char *strchr (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
extern char *strrchr (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 181 "/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)));
extern char *strpbrk (__const char *__s, __const char *__accept)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
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)));
# 240 "/usr/include/string.h" 3 4
extern size_t strlen (__const char *__s)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 254 "/usr/include/string.h" 3 4
extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
# 270 "/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)));
# 288 "/usr/include/string.h" 3 4
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)));
extern char *index (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
extern char *rindex (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
# 325 "/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)));
# 348 "/usr/include/string.h" 3 4
extern char *strsep (char **__restrict __stringp,
       __const char *__restrict __delim)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
# 414 "/usr/include/string.h" 3 4
# 1 "/usr/include/bits/string.h" 1 3 4
# 415 "/usr/include/string.h" 2 3 4
# 1 "/usr/include/bits/string2.h" 1 3 4
# 52 "/usr/include/bits/string2.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
# 53 "/usr/include/bits/string2.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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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;
# 54 "/usr/include/bits/string2.h" 2 3 4
# 394 "/usr/include/bits/string2.h" 3 4
extern void *__rawmemchr (const void *__s, int __c);
# 969 "/usr/include/bits/string2.h" 3 4
extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
extern __inline size_t
__strcspn_c1 (__const char *__s, int __reject)
{
  register size_t __result = 0;
  while (__s[__result] != '\0' && __s[__result] != __reject)
    ++__result;
  return __result;
}
extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
         int __reject2);
extern __inline size_t
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
{
  register size_t __result = 0;
  while (__s[__result] != '\0' && __s[__result] != __reject1
  && __s[__result] != __reject2)
    ++__result;
  return __result;
}
extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
         int __reject2, int __reject3);
extern __inline size_t
__strcspn_c3 (__const char *__s, int __reject1, int __reject2,
       int __reject3)
{
  register size_t __result = 0;
  while (__s[__result] != '\0' && __s[__result] != __reject1
  && __s[__result] != __reject2 && __s[__result] != __reject3)
    ++__result;
  return __result;
}
# 1045 "/usr/include/bits/string2.h" 3 4
extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
extern __inline size_t
__strspn_c1 (__const char *__s, int __accept)
{
  register size_t __result = 0;
  while (__s[__result] == __accept)
    ++__result;
  return __result;
}
extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
        int __accept2);
extern __inline size_t
__strspn_c2 (__const char *__s, int __accept1, int __accept2)
{
  register size_t __result = 0;
  while (__s[__result] == __accept1 || __s[__result] == __accept2)
    ++__result;
  return __result;
}
extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
        int __accept2, int __accept3);
extern __inline size_t
__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
{
  register size_t __result = 0;
  while (__s[__result] == __accept1 || __s[__result] == __accept2
  || __s[__result] == __accept3)
    ++__result;
  return __result;
}
# 1121 "/usr/include/bits/string2.h" 3 4
extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
         int __accept2);
extern __inline char *
__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
{
  while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
    ++__s;
  return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
}
extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
         int __accept2, int __accept3);
extern __inline char *
__strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
       int __accept3)
{
  while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
  && *__s != __accept3)
    ++__s;
  return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
}
# 1173 "/usr/include/bits/string2.h" 3 4
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
extern __inline char *
__strtok_r_1c (char *__s, char __sep, char **__nextp)
{
  char *__result;
  if (__s == ((void *)0))
    __s = *__nextp;
  while (*__s == __sep)
    ++__s;
  __result = ((void *)0);
  if (*__s != '\0')
    {
      __result = __s++;
      while (*__s != '\0')
 if (*__s++ == __sep)
   {
     __s[-1] = '\0';
     break;
   }
      *__nextp = __s;
    }
  return __result;
}
# 1205 "/usr/include/bits/string2.h" 3 4
extern char *__strsep_g (char **__stringp, __const char *__delim);
# 1223 "/usr/include/bits/string2.h" 3 4
extern __inline char *__strsep_1c (char **__s, char __reject);
extern __inline char *
__strsep_1c (char **__s, char __reject)
{
  register char *__retval = *__s;
  if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
    *(*__s)++ = '\0';
  return __retval;
}
extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
extern __inline char *
__strsep_2c (char **__s, char __reject1, char __reject2)
{
  register char *__retval = *__s;
  if (__retval != ((void *)0))
    {
      register char *__cp = __retval;
      while (1)
 {
   if (*__cp == '\0')
     {
       __cp = ((void *)0);
   break;
     }
   if (*__cp == __reject1 || *__cp == __reject2)
     {
       *__cp++ = '\0';
       break;
     }
   ++__cp;
 }
      *__s = __cp;
    }
  return __retval;
}
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
       char __reject3);
extern __inline char *
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
{
  register char *__retval = *__s;
  if (__retval != ((void *)0))
    {
      register char *__cp = __retval;
      while (1)
 {
   if (*__cp == '\0')
     {
       __cp = ((void *)0);
   break;
     }
   if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
     {
       *__cp++ = '\0';
       break;
     }
   ++__cp;
 }
      *__s = __cp;
    }
  return __retval;
}
# 1299 "/usr/include/bits/string2.h" 3 4
# 1 "/usr/include/stdlib.h" 1 3 4
# 33 "/usr/include/stdlib.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 34 "/usr/include/stdlib.h" 2 3 4
# 587 "/usr/include/stdlib.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__)) ;
# 977 "/usr/include/stdlib.h" 3 4
# 1300 "/usr/include/bits/string2.h" 2 3 4
extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
# 1323 "/usr/include/bits/string2.h" 3 4
extern char *__strndup (__const char *__string, size_t __n)
     __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
# 418 "/usr/include/string.h" 2 3 4
# 426 "/usr/include/string.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 326 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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;
# 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))) ;
# 182 "/usr/include/stdlib.h" 3 4
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))) ;
# 279 "/usr/include/stdlib.h" 3 4
extern double __strtod_internal (__const char *__restrict __nptr,
     char **__restrict __endptr, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern float __strtof_internal (__const char *__restrict __nptr,
    char **__restrict __endptr, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern long double __strtold_internal (__const char *__restrict __nptr,
           char **__restrict __endptr,
           int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern long int __strtol_internal (__const char *__restrict __nptr,
       char **__restrict __endptr,
       int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
          char **__restrict __endptr,
          int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern long long int __strtoll_internal (__const char *__restrict __nptr,
      char **__restrict __endptr,
      int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern unsigned long long int __strtoull_internal (__const char *
         __restrict __nptr,
         char **__restrict __endptr,
         int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern __inline double
__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
{
  return __strtod_internal (__nptr, __endptr, 0);
}
extern __inline long int
__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtol_internal (__nptr, __endptr, __base, 0);
}
extern __inline unsigned long int
__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoul_internal (__nptr, __endptr, __base, 0);
}
# 364 "/usr/include/stdlib.h" 3 4
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
extern __inline double
__attribute__ ((__nothrow__)) atof (__const char *__nptr)
{
  return strtod (__nptr, (char **) ((void *)0));
}
extern __inline int
__attribute__ ((__nothrow__)) atoi (__const char *__nptr)
{
  return (int) strtol (__nptr, (char **) ((void *)0), 10);
}
extern __inline long int
__attribute__ ((__nothrow__)) atol (__const char *__nptr)
{
  return strtol (__nptr, (char **) ((void *)0), 10);
}
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) atoll (__const char *__nptr)
{
  return strtoll (__nptr, (char **) ((void *)0), 10);
}
# 429 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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
# 439 "/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__ ((__malloc__)) __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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 26 "/usr/include/alloca.h" 2 3 4
extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
# 613 "/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)));
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__));
# 658 "/usr/include/stdlib.h" 3 4
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__));
# 698 "/usr/include/stdlib.h" 3 4
extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
# 709 "/usr/include/stdlib.h" 3 4
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 729 "/usr/include/stdlib.h" 3 4
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern int system (__const char *__command) ;
# 756 "/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 *);
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 int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
extern long int labs (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__)) ;
# 821 "/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))) ;
# 926 "/usr/include/stdlib.h" 3 4
extern int posix_openpt (int __oflag) ;
# 961 "/usr/include/stdlib.h" 3 4
extern int getloadavg (double __loadavg[], int __nelem)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 977 "/usr/include/stdlib.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.headers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  -fPIC -g  /tmp/petsc-QpUpak/config.headers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <stdlib.h>
#include <ctype.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.headers/conftest    -fPIC -g /tmp/petsc-QpUpak/config.headers/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.headers/conftest
Executing: /tmp/petsc-QpUpak/config.headers/conftest
          Defined "STDC_HEADERS" to "1"
================================================================================
TEST checkStat from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/sys/stat.h" 1 3 4
# 37 "/usr/include/sys/stat.h" 3 4
# 1 "/usr/include/time.h" 1 3 4
# 38 "/usr/include/sys/stat.h" 2 3 4
# 103 "/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
  };
# 106 "/usr/include/sys/stat.h" 2 3 4
# 207 "/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)));
# 259 "/usr/include/sys/stat.h" 3 4
extern int lstat (__const char *__restrict __file,
    struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
# 280 "/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__));
# 307 "/usr/include/sys/stat.h" 3 4
extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
# 316 "/usr/include/sys/stat.h" 3 4
extern int mkdir (__const char *__path, __mode_t __mode)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 331 "/usr/include/sys/stat.h" 3 4
extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 345 "/usr/include/sys/stat.h" 3 4
extern int mkfifo (__const char *__path, __mode_t __mode)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 380 "/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)));
# 423 "/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)));
extern __inline__ int
__attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf)
{
  return __xstat (1, __path, __statbuf);
}
extern __inline__ int
__attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf)
{
  return __lxstat (1, __path, __statbuf);
}
extern __inline__ int
__attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf)
{
  return __fxstat (1, __fd, __statbuf);
}
# 463 "/usr/include/sys/stat.h" 3 4
extern __inline__ int
__attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
{
  return __xmknod (0, __path, __mode, &__dev);
}
# 515 "/usr/include/sys/stat.h" 3 4
# 6 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
================================================================================
TEST checkSysWait from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.headers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  -fPIC -g  /tmp/petsc-QpUpak/config.headers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#include <sys/wait.h>
#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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/headers.py:195)
TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:195)
  Checks if you can safely include both <sys/time.h> and <time.h>, and if so defines TIME_WITH_SYS_TIME
Checking for header: time.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/time.h" 1 3 4
# 29 "/usr/include/time.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 30 "/usr/include/time.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 40 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/bits/time.h" 1 3 4
# 44 "/usr/include/time.h" 2 3 4
# 57 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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/time.h" 2 3 4
typedef __clock_t clock_t;
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/usr/include/time.h" 3 4
typedef __timer_t timer_t;
# 121 "/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__));
# 229 "/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__));
# 312 "/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__));
# 327 "/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__));
# 416 "/usr/include/time.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_TIME_H" to "1"
Checking for header: sys/time.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_TIME_H" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.headers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  -fPIC -g  /tmp/petsc-QpUpak/config.headers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>

int main() {
struct tm *tp = 0;

if (tp);
;
  return 0;
}
          Defined "TIME_WITH_SYS_TIME" to "1"
================================================================================
TEST checkMath from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 47 "/usr/include/math.h" 3 4
# 1 "/usr/include/bits/mathdef.h" 1 3 4
# 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__));
# 152 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 231 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 265 "/usr/include/bits/mathcalls.h" 3 4
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 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__));
# 359 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 152 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 231 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 265 "/usr/include/bits/mathcalls.h" 3 4
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 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__));
# 359 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 152 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 231 "/usr/include/bits/mathcalls.h" 3 4
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__));
# 265 "/usr/include/bits/mathcalls.h" 3 4
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 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__));
# 359 "/usr/include/bits/mathcalls.h" 3 4
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;
# 284 "/usr/include/math.h" 3 4
typedef enum
{
  _IEEE_ = -1,
  _SVID_,
  _XOPEN_,
  _POSIX_,
  _ISOC_
} _LIB_VERSION_TYPE;
extern _LIB_VERSION_TYPE _LIB_VERSION;
# 309 "/usr/include/math.h" 3 4
struct exception
  {
    int type;
    char *name;
    double arg1;
    double arg2;
    double retval;
  };
extern int matherr (struct exception *__exc);
# 409 "/usr/include/math.h" 3 4
# 1 "/usr/include/bits/mathinline.h" 1 3 4
# 410 "/usr/include/math.h" 2 3 4
# 465 "/usr/include/math.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_MATH_H" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.headers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  -fPIC -g  /tmp/petsc-QpUpak/config.headers/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>

int main() {
double pi = M_PI;

if (pi);
;
  return 0;
}
        Found math #defines, like M_PI
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/sys/socket.h" 1 3 4
# 23 "/usr/include/sys/socket.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 24 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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);
# 50 "/usr/include/sys/uio.h" 3 4
extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count);
# 28 "/usr/include/sys/socket.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 30 "/usr/include/sys/socket.h" 2 3 4
# 1 "/usr/include/bits/socket.h" 1 3 4
# 29 "/usr/include/bits/socket.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 30 "/usr/include/bits/socket.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 11 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 1 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 122 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 145 "/usr/include/limits.h" 3 4
# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
# 153 "/usr/include/bits/posix1_lim.h" 3 4
# 1 "/usr/include/bits/local_lim.h" 1 3 4
# 36 "/usr/include/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 37 "/usr/include/bits/local_lim.h" 2 3 4
# 154 "/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
# 123 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 8 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 2 3 4
# 12 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 32 "/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_PACKET = 10
};
# 142 "/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;
# 143 "/usr/include/bits/socket.h" 2 3 4
struct sockaddr
  {
    sa_family_t sa_family;
    char sa_data[14];
  };
# 162 "/usr/include/bits/socket.h" 3 4
struct sockaddr_storage
  {
    sa_family_t ss_family;
    __uint64_t __ss_align;
    char __ss_padding[(128 - (2 * sizeof (__uint64_t)))];
  };
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
  };
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 [];
  };
# 263 "/usr/include/bits/socket.h" 3 4
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
          struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
extern __inline struct cmsghdr *
__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
{
  if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
    return 0;
  __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
          + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
  if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
     + __mhdr->msg_controllen)
      || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
   > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
    return 0;
  return __cmsg;
}
enum
  {
    SCM_RIGHTS = 0x01
    , SCM_CREDENTIALS = 0x02
  };
struct ucred
{
  pid_t pid;
  uid_t uid;
  gid_t gid;
};
# 1 "/usr/include/asm/socket.h" 1 3 4
# 1 "/usr/include/asm-x86_64/socket.h" 1 3 4
# 1 "/usr/include/asm/sockios.h" 1 3 4
# 1 "/usr/include/asm-x86_64/sockios.h" 1 3 4
# 6 "/usr/include/asm/sockios.h" 2 3 4
# 5 "/usr/include/asm-x86_64/socket.h" 2 3 4
# 6 "/usr/include/asm/socket.h" 2 3 4
# 311 "/usr/include/bits/socket.h" 2 3 4
struct linger
  {
    int l_onoff;
    int l_linger;
  };
# 36 "/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
};
# 100 "/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__));
# 124 "/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);
# 161 "/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__));
# 209 "/usr/include/sys/socket.h" 3 4
extern int accept (int __fd, struct sockaddr *__restrict __addr,
     socklen_t *__restrict __addr_len);
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__));
# 240 "/usr/include/sys/socket.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_SOCKET_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_TYPES_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/malloc.h" 1 3 4
# 23 "/usr/include/malloc.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 24 "/usr/include/malloc.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 152 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long int ptrdiff_t;
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 326 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef int wchar_t;
# 25 "/usr/include/malloc.h" 2 3 4
# 46 "/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__ ((__malloc__)) __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__));
# 130 "/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 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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_MALLOC_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/time.h" 1 3 4
# 29 "/usr/include/time.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 30 "/usr/include/time.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 40 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/bits/time.h" 1 3 4
# 44 "/usr/include/time.h" 2 3 4
# 57 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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/time.h" 2 3 4
typedef __clock_t clock_t;
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/usr/include/time.h" 3 4
typedef __timer_t timer_t;
# 121 "/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__));
# 229 "/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__));
# 312 "/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__));
# 327 "/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__));
# 416 "/usr/include/time.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_TIME_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:20: error: Direct.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <Direct.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:22: error: Ws2tcpip.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <Ws2tcpip.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_ENDIAN_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:20: error: ieeefp.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <ieeefp.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 28 "/usr/include/strings.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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));
extern char *index (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
extern char *rindex (__const char *__s, int __c) __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
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__));
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_STRINGS_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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 "/usr/include/time.h" 1 3 4
# 121 "/usr/include/time.h" 3 4
struct timespec
  {
    __time_t tv_sec;
    long int tv_nsec;
  };
# 30 "/usr/include/sched.h" 2 3 4
# 1 "/usr/include/bits/sched.h" 1 3 4
# 65 "/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__));
struct __sched_param
  {
    int __sched_priority;
  };
# 104 "/usr/include/bits/sched.h" 3 4
typedef unsigned long int __cpu_mask;
typedef struct
{
  __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
} cpu_set_t;
# 33 "/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__));
# 84 "/usr/include/sched.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SCHED_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:20: error: cxxabi.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <cxxabi.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:28: error: sys/systeminfo.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/systeminfo.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:17: error: dos.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dos.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:22: error: WindowsX.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <WindowsX.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 10 "/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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_SYSINFO_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 23 "/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;
# 103 "/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);
# 117 "/usr/include/bits/sigset.h" 3 4
extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; }
extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); }
extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); }
# 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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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;
typedef void (*__sighandler_t) (int);
extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
     __attribute__ ((__nothrow__));
# 90 "/usr/include/signal.h" 3 4
extern __sighandler_t signal (int __sig, __sighandler_t __handler)
     __attribute__ ((__nothrow__));
# 104 "/usr/include/signal.h" 3 4
# 117 "/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);
# 153 "/usr/include/signal.h" 3 4
extern int __sigpause (int __sig_or_mask, int __is_sig);
# 181 "/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__));
# 201 "/usr/include/signal.h" 3 4
typedef __sighandler_t sig_t;
# 1 "/usr/include/time.h" 1 3 4
# 121 "/usr/include/time.h" 3 4
struct timespec
  {
    __time_t tv_sec;
    long int tv_nsec;
  };
# 210 "/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
};
# 213 "/usr/include/signal.h" 2 3 4
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)));
# 246 "/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);
  };
# 247 "/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__));
# 304 "/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;
  };
# 328 "/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];
};
# 334 "/usr/include/signal.h" 2 3 4
extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
# 346 "/usr/include/signal.h" 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;
# 349 "/usr/include/signal.h" 2 3 4
# 357 "/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__));
# 386 "/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;
# 387 "/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__));
# 388 "/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,
# 171 "/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;
  };
# 175 "/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
# 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__));
struct rusage;
extern __pid_t wait4 (__pid_t __pid, __WAIT_STATUS __stat_loc, int __options,
        struct rusage *__usage) __attribute__ ((__nothrow__));
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_WAIT_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 26 "/usr/include/stdlib.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 326 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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;
# 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))) ;
# 182 "/usr/include/stdlib.h" 3 4
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))) ;
# 279 "/usr/include/stdlib.h" 3 4
extern double __strtod_internal (__const char *__restrict __nptr,
     char **__restrict __endptr, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern float __strtof_internal (__const char *__restrict __nptr,
    char **__restrict __endptr, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern long double __strtold_internal (__const char *__restrict __nptr,
           char **__restrict __endptr,
           int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern long int __strtol_internal (__const char *__restrict __nptr,
       char **__restrict __endptr,
       int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
          char **__restrict __endptr,
          int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern long long int __strtoll_internal (__const char *__restrict __nptr,
      char **__restrict __endptr,
      int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
__extension__
extern unsigned long long int __strtoull_internal (__const char *
         __restrict __nptr,
         char **__restrict __endptr,
         int __base, int __group)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern __inline double
__attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
{
  return __strtod_internal (__nptr, __endptr, 0);
}
extern __inline long int
__attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtol_internal (__nptr, __endptr, __base, 0);
}
extern __inline unsigned long int
__attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoul_internal (__nptr, __endptr, __base, 0);
}
# 364 "/usr/include/stdlib.h" 3 4
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoll_internal (__nptr, __endptr, __base, 0);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
{
  return __strtoull_internal (__nptr, __endptr, __base, 0);
}
extern __inline double
__attribute__ ((__nothrow__)) atof (__const char *__nptr)
{
  return strtod (__nptr, (char **) ((void *)0));
}
extern __inline int
__attribute__ ((__nothrow__)) atoi (__const char *__nptr)
{
  return (int) strtol (__nptr, (char **) ((void *)0), 10);
}
extern __inline long int
__attribute__ ((__nothrow__)) atol (__const char *__nptr)
{
  return strtol (__nptr, (char **) ((void *)0), 10);
}
__extension__ extern __inline long long int
__attribute__ ((__nothrow__)) atoll (__const char *__nptr)
{
  return strtoll (__nptr, (char **) ((void *)0), 10);
}
# 429 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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
# 439 "/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__ ((__malloc__)) __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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 26 "/usr/include/alloca.h" 2 3 4
extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
# 613 "/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)));
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__));
# 658 "/usr/include/stdlib.h" 3 4
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__));
# 698 "/usr/include/stdlib.h" 3 4
extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
# 709 "/usr/include/stdlib.h" 3 4
extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
# 729 "/usr/include/stdlib.h" 3 4
extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern int system (__const char *__command) ;
# 756 "/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 *);
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 int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
extern long int labs (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__)) ;
# 821 "/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))) ;
# 926 "/usr/include/stdlib.h" 3 4
extern int posix_openpt (int __oflag) ;
# 961 "/usr/include/stdlib.h" 3 4
extern int getloadavg (double __loadavg[], int __nelem)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 977 "/usr/include/stdlib.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_STDLIB_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/pthread.h" 1 3 4
# 22 "/usr/include/pthread.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 23 "/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
# 24 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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 "/usr/include/time.h" 1 3 4
# 121 "/usr/include/time.h" 3 4
struct timespec
  {
    __time_t tv_sec;
    long int tv_nsec;
  };
# 30 "/usr/include/sched.h" 2 3 4
# 1 "/usr/include/bits/sched.h" 1 3 4
# 65 "/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__));
struct __sched_param
  {
    int __sched_priority;
  };
# 104 "/usr/include/bits/sched.h" 3 4
typedef unsigned long int __cpu_mask;
typedef struct
{
  __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
} cpu_set_t;
# 33 "/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__));
# 84 "/usr/include/sched.h" 3 4
# 25 "/usr/include/pthread.h" 2 3 4
# 1 "/usr/include/time.h" 1 3 4
# 31 "/usr/include/time.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 40 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/bits/time.h" 1 3 4
# 44 "/usr/include/time.h" 2 3 4
# 59 "/usr/include/time.h" 3 4
typedef __clock_t clock_t;
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/usr/include/time.h" 3 4
typedef __timer_t timer_t;
# 132 "/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__));
# 229 "/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__));
# 312 "/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__));
# 327 "/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__));
# 416 "/usr/include/time.h" 3 4
# 26 "/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
# 23 "/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;
# 400 "/usr/include/signal.h" 3 4
# 29 "/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;
# 30 "/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];
# 31 "/usr/include/pthread.h" 2 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 32 "/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
# 62 "/usr/include/pthread.h" 3 4
};
# 114 "/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
};
# 146 "/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
};
# 181 "/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
};
# 219 "/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);
# 262 "/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)));
# 412 "/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__));
# 465 "/usr/include/pthread.h" 3 4
extern int pthread_once (pthread_once_t *__once_control,
    void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
# 477 "/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__));
# 511 "/usr/include/pthread.h" 3 4
struct __pthread_cleanup_frame
{
  void (*__cancel_routine) (void *);
  void *__cancel_arg;
  int __do_it;
  int __cancel_type;
};
# 651 "/usr/include/pthread.h" 3 4
extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
     ;
# 662 "/usr/include/pthread.h" 3 4
extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
  ;
# 702 "/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)));
# 773 "/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)));
# 845 "/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)));
# 957 "/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)));
# 1001 "/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)));
# 1068 "/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)));
# 1102 "/usr/include/pthread.h" 3 4
extern int pthread_atfork (void (*__prepare) (void),
      void (*__parent) (void),
      void (*__child) (void)) __attribute__ ((__nothrow__));
extern __inline int
__attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
{
  return __thread1 == __thread2;
}
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_PTHREAD_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 23 "/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
typedef struct __jmp_buf_tag
  {
    __jmp_buf __jmpbuf;
    int __mask_was_saved;
    __sigset_t __saved_mask;
  } 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__));
# 76 "/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];
# 108 "/usr/include/setjmp.h" 3 4
extern void siglongjmp (sigjmp_buf __env, int __val)
     __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SETJMP_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_UTSNAME_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:28: error: machine/endian.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <machine/endian.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 11 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 1 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 122 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 153 "/usr/include/bits/posix1_lim.h" 3 4
# 1 "/usr/include/bits/local_lim.h" 1 3 4
# 36 "/usr/include/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 37 "/usr/include/bits/local_lim.h" 2 3 4
# 154 "/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
# 123 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 8 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 2 3 4
# 12 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_LIMITS_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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
# 155 "/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;
  };
# 222 "/usr/include/bits/fcntl.h" 3 4
# 251 "/usr/include/bits/fcntl.h" 3 4
# 35 "/usr/include/fcntl.h" 2 3 4
# 76 "/usr/include/fcntl.h" 3 4
extern int fcntl (int __fd, int __cmd, ...);
# 85 "/usr/include/fcntl.h" 3 4
extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
# 130 "/usr/include/fcntl.h" 3 4
extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1)));
# 159 "/usr/include/fcntl.h" 3 4
extern int lockf (int __fd, int __cmd, __off_t __len);
# 176 "/usr/include/fcntl.h" 3 4
extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len,
     int __advise) __attribute__ ((__nothrow__));
# 198 "/usr/include/fcntl.h" 3 4
extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len);
# 213 "/usr/include/fcntl.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_FCNTL_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 27 "/usr/include/string.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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)));
extern void *memchr (__const void *__s, int __c, size_t __n)
      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 82 "/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)));
# 130 "/usr/include/string.h" 3 4
extern char *strdup (__const char *__s)
     __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
# 165 "/usr/include/string.h" 3 4
extern char *strchr (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
extern char *strrchr (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 181 "/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)));
extern char *strpbrk (__const char *__s, __const char *__accept)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
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)));
# 240 "/usr/include/string.h" 3 4
extern size_t strlen (__const char *__s)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
# 254 "/usr/include/string.h" 3 4
extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
# 270 "/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)));
# 288 "/usr/include/string.h" 3 4
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)));
extern char *index (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
extern char *rindex (__const char *__s, int __c)
     __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
# 325 "/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)));
# 348 "/usr/include/string.h" 3 4
extern char *strsep (char **__restrict __stringp,
       __const char *__restrict __delim)
     __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
# 414 "/usr/include/string.h" 3 4
# 1 "/usr/include/bits/string.h" 1 3 4
# 415 "/usr/include/string.h" 2 3 4
# 1 "/usr/include/bits/string2.h" 1 3 4
# 52 "/usr/include/bits/string2.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
# 53 "/usr/include/bits/string2.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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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;
# 54 "/usr/include/bits/string2.h" 2 3 4
# 394 "/usr/include/bits/string2.h" 3 4
extern void *__rawmemchr (const void *__s, int __c);
# 969 "/usr/include/bits/string2.h" 3 4
extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
extern __inline size_t
__strcspn_c1 (__const char *__s, int __reject)
{
  register size_t __result = 0;
  while (__s[__result] != '\0' && __s[__result] != __reject)
    ++__result;
  return __result;
}
extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
         int __reject2);
extern __inline size_t
__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
{
  register size_t __result = 0;
  while (__s[__result] != '\0' && __s[__result] != __reject1
  && __s[__result] != __reject2)
    ++__result;
  return __result;
}
extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
         int __reject2, int __reject3);
extern __inline size_t
__strcspn_c3 (__const char *__s, int __reject1, int __reject2,
       int __reject3)
{
  register size_t __result = 0;
  while (__s[__result] != '\0' && __s[__result] != __reject1
  && __s[__result] != __reject2 && __s[__result] != __reject3)
    ++__result;
  return __result;
}
# 1045 "/usr/include/bits/string2.h" 3 4
extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
extern __inline size_t
__strspn_c1 (__const char *__s, int __accept)
{
  register size_t __result = 0;
  while (__s[__result] == __accept)
    ++__result;
  return __result;
}
extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
        int __accept2);
extern __inline size_t
__strspn_c2 (__const char *__s, int __accept1, int __accept2)
{
  register size_t __result = 0;
  while (__s[__result] == __accept1 || __s[__result] == __accept2)
    ++__result;
  return __result;
}
extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
        int __accept2, int __accept3);
extern __inline size_t
__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
{
  register size_t __result = 0;
  while (__s[__result] == __accept1 || __s[__result] == __accept2
  || __s[__result] == __accept3)
    ++__result;
  return __result;
}
# 1121 "/usr/include/bits/string2.h" 3 4
extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
         int __accept2);
extern __inline char *
__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
{
  while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
    ++__s;
  return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
}
extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
         int __accept2, int __accept3);
extern __inline char *
__strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
       int __accept3)
{
  while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
  && *__s != __accept3)
    ++__s;
  return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
}
# 1173 "/usr/include/bits/string2.h" 3 4
extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
extern __inline char *
__strtok_r_1c (char *__s, char __sep, char **__nextp)
{
  char *__result;
  if (__s == ((void *)0))
    __s = *__nextp;
  while (*__s == __sep)
    ++__s;
  __result = ((void *)0);
  if (*__s != '\0')
    {
      __result = __s++;
      while (*__s != '\0')
 if (*__s++ == __sep)
   {
     __s[-1] = '\0';
     break;
   }
      *__nextp = __s;
    }
  return __result;
}
# 1205 "/usr/include/bits/string2.h" 3 4
extern char *__strsep_g (char **__stringp, __const char *__delim);
# 1223 "/usr/include/bits/string2.h" 3 4
extern __inline char *__strsep_1c (char **__s, char __reject);
extern __inline char *
__strsep_1c (char **__s, char __reject)
{
  register char *__retval = *__s;
  if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
    *(*__s)++ = '\0';
  return __retval;
}
extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
extern __inline char *
__strsep_2c (char **__s, char __reject1, char __reject2)
{
  register char *__retval = *__s;
  if (__retval != ((void *)0))
    {
      register char *__cp = __retval;
      while (1)
 {
   if (*__cp == '\0')
     {
       __cp = ((void *)0);
   break;
     }
   if (*__cp == __reject1 || *__cp == __reject2)
     {
       *__cp++ = '\0';
       break;
     }
   ++__cp;
 }
      *__s = __cp;
    }
  return __retval;
}
extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
       char __reject3);
extern __inline char *
__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
{
  register char *__retval = *__s;
  if (__retval != ((void *)0))
    {
      register char *__cp = __retval;
      while (1)
 {
   if (*__cp == '\0')
     {
       __cp = ((void *)0);
   break;
     }
   if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
     {
       *__cp++ = '\0';
       break;
     }
   ++__cp;
 }
      *__s = __cp;
    }
  return __retval;
}
# 1299 "/usr/include/bits/string2.h" 3 4
# 1 "/usr/include/stdlib.h" 1 3 4
# 33 "/usr/include/stdlib.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 34 "/usr/include/stdlib.h" 2 3 4
# 587 "/usr/include/stdlib.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__)) ;
# 977 "/usr/include/stdlib.h" 3 4
# 1300 "/usr/include/bits/string2.h" 2 3 4
extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
# 1323 "/usr/include/bits/string2.h" 3 4
extern char *__strndup (__const char *__string, size_t __n)
     __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
# 418 "/usr/include/string.h" 2 3 4
# 426 "/usr/include/string.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_STRING_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 27 "/usr/include/sys/times.h" 2 3 4
# 1 "/usr/include/time.h" 1 3 4
# 57 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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/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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_TIMES_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:16: error: io.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <io.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/stdint.h" 1 3 4
# 26 "/usr/include/stdint.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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;
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_STDINT_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 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
# 44 "/usr/include/stdio.h" 3 4
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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_PWD_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/float.h" 1 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_FLOAT_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/sys/param.h" 1 3 4
# 22 "/usr/include/sys/param.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 11 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 1 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 122 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 153 "/usr/include/bits/posix1_lim.h" 3 4
# 1 "/usr/include/bits/local_lim.h" 1 3 4
# 36 "/usr/include/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 37 "/usr/include/bits/local_lim.h" 2 3 4
# 154 "/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
# 123 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 8 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 2 3 4
# 12 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 23 "/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-x86_64/param.h" 1 3 4
# 6 "/usr/include/asm/param.h" 2 3 4
# 5 "/usr/include/linux/param.h" 2 3 4
# 25 "/usr/include/sys/param.h" 2 3 4
# 42 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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
# 43 "/usr/include/sys/param.h" 2 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_PARAM_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 27 "/usr/include/netdb.h" 2 3 4
# 1 "/usr/include/netinet/in.h" 1 3 4
# 23 "/usr/include/netinet/in.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;
# 24 "/usr/include/netinet/in.h" 2 3 4
# 1 "/usr/include/sys/socket.h" 1 3 4
# 25 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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;
# 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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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);
# 50 "/usr/include/sys/uio.h" 3 4
extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count);
# 28 "/usr/include/sys/socket.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 30 "/usr/include/sys/socket.h" 2 3 4
# 1 "/usr/include/bits/socket.h" 1 3 4
# 29 "/usr/include/bits/socket.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 30 "/usr/include/bits/socket.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 11 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 1 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 122 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 145 "/usr/include/limits.h" 3 4
# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
# 153 "/usr/include/bits/posix1_lim.h" 3 4
# 1 "/usr/include/bits/local_lim.h" 1 3 4
# 36 "/usr/include/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 37 "/usr/include/bits/local_lim.h" 2 3 4
# 154 "/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
# 123 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 8 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 2 3 4
# 12 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 32 "/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_PACKET = 10
};
# 142 "/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;
# 143 "/usr/include/bits/socket.h" 2 3 4
struct sockaddr
  {
    sa_family_t sa_family;
    char sa_data[14];
  };
# 162 "/usr/include/bits/socket.h" 3 4
struct sockaddr_storage
  {
    sa_family_t ss_family;
    __uint64_t __ss_align;
    char __ss_padding[(128 - (2 * sizeof (__uint64_t)))];
  };
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
  };
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 [];
  };
# 263 "/usr/include/bits/socket.h" 3 4
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
          struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
extern __inline struct cmsghdr *
__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
{
  if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
    return 0;
  __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
          + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
  if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
     + __mhdr->msg_controllen)
      || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
   > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
    return 0;
  return __cmsg;
}
enum
  {
    SCM_RIGHTS = 0x01
    , SCM_CREDENTIALS = 0x02
  };
struct ucred
{
  pid_t pid;
  uid_t uid;
  gid_t gid;
};
# 1 "/usr/include/asm/socket.h" 1 3 4
# 1 "/usr/include/asm-x86_64/socket.h" 1 3 4
# 1 "/usr/include/asm/sockios.h" 1 3 4
# 1 "/usr/include/asm-x86_64/sockios.h" 1 3 4
# 6 "/usr/include/asm/sockios.h" 2 3 4
# 5 "/usr/include/asm-x86_64/socket.h" 2 3 4
# 6 "/usr/include/asm/socket.h" 2 3 4
# 311 "/usr/include/bits/socket.h" 2 3 4
struct linger
  {
    int l_onoff;
    int l_linger;
  };
# 36 "/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
};
# 100 "/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__));
# 124 "/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);
# 161 "/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__));
# 209 "/usr/include/sys/socket.h" 3 4
extern int accept (int __fd, struct sockaddr *__restrict __addr,
     socklen_t *__restrict __addr_len);
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__));
# 240 "/usr/include/sys/socket.h" 3 4
# 25 "/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_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_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;
  };
# 193 "/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;
# 219 "/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];
};
# 345 "/usr/include/netinet/in.h" 3 4
# 1 "/usr/include/bits/in.h" 1 3 4
# 82 "/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;
  };
# 346 "/usr/include/netinet/in.h" 2 3 4
# 354 "/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
# 27 "/usr/include/bits/byteswap.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 28 "/usr/include/bits/byteswap.h" 2 3 4
# 366 "/usr/include/netinet/in.h" 2 3 4
# 428 "/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__));
# 456 "/usr/include/netinet/in.h" 3 4
struct in6_pktinfo
  {
    struct in6_addr ipi6_addr;
    unsigned int ipi6_ifindex;
  };
struct ip6_mtuinfo
  {
    struct sockaddr_in6 ip6m_addr;
    uint32_t ip6m_mtu;
  };
# 551 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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__));
# 88 "/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);
# 149 "/usr/include/netdb.h" 3 4
extern struct hostent *gethostbyname2 (__const char *__name, int __af);
# 161 "/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);
# 192 "/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);
# 231 "/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);
# 303 "/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);
# 369 "/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);
# 390 "/usr/include/netdb.h" 3 4
extern int setnetgrent (__const char *__netgroup);
extern void endnetgrent (void);
# 407 "/usr/include/netdb.h" 3 4
extern int getnetgrent (char **__restrict __hostp,
   char **__restrict __userp,
   char **__restrict __domainp);
# 418 "/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);
# 446 "/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);
# 458 "/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);
# 474 "/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);
# 486 "/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);
# 500 "/usr/include/netdb.h" 3 4
extern int ruserok (__const char *__rhost, int __suser,
      __const char *__remuser, __const char *__locuser);
# 510 "/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);
# 522 "/usr/include/netdb.h" 3 4
extern int rresvport (int *__alport);
# 531 "/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;
};
# 631 "/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, unsigned int __flags);
# 682 "/usr/include/netdb.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_NETDB_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 24 "/usr/include/search.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SEARCH_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:21: error: mathimf.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mathimf.h>
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 218 "/usr/include/sys/types.h" 2 3 4
# 1 "/usr/include/sys/sysmacros.h" 1 3 4
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_PROCFS_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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,
# 171 "/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;
  };
# 175 "/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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_RESOURCE_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 27 "/usr/include/unistd.h" 2 3 4
# 173 "/usr/include/unistd.h" 3 4
# 1 "/usr/include/bits/posix_opt.h" 1 3 4
# 174 "/usr/include/unistd.h" 2 3 4
# 188 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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;
# 189 "/usr/include/unistd.h" 2 3 4
typedef __ssize_t ssize_t;
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 198 "/usr/include/unistd.h" 2 3 4
typedef __gid_t gid_t;
typedef __uid_t uid_t;
typedef __off_t off_t;
# 226 "/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;
# 258 "/usr/include/unistd.h" 3 4
extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 301 "/usr/include/unistd.h" 3 4
extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
# 320 "/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) ;
# 384 "/usr/include/unistd.h" 3 4
extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ;
# 393 "/usr/include/unistd.h" 3 4
extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
# 405 "/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);
# 429 "/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))) ;
# 457 "/usr/include/unistd.h" 3 4
extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
extern int fchdir (int __fd) __attribute__ ((__nothrow__)) ;
# 471 "/usr/include/unistd.h" 3 4
extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ;
# 484 "/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__));
extern char **__environ;
extern int execve (__const char *__path, char *__const __argv[],
     char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 516 "/usr/include/unistd.h" 3 4
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)));
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
  };
enum
  {
    _CS_PATH,
    _CS_V6_WIDTH_RESTRICTED_ENVS,
    _CS_GNU_LIBC_VERSION,
    _CS_GNU_LIBPTHREAD_VERSION,
    _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
  };
# 555 "/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__));
# 591 "/usr/include/unistd.h" 3 4
extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
# 600 "/usr/include/unistd.h" 3 4
extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
# 617 "/usr/include/unistd.h" 3 4
extern int setpgrp (void) __attribute__ ((__nothrow__));
# 634 "/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__)) ;
# 667 "/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__));
# 723 "/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))) ;
# 769 "/usr/include/unistd.h" 3 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))) ;
# 792 "/usr/include/unistd.h" 3 4
extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
# 801 "/usr/include/unistd.h" 3 4
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)));
# 837 "/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__));
# 838 "/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)));
# 923 "/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))) ;
# 970 "/usr/include/unistd.h" 3 4
extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) ;
# 990 "/usr/include/unistd.h" 3 4
extern int brk (void *__addr) __attribute__ ((__nothrow__)) ;
extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
# 1011 "/usr/include/unistd.h" 3 4
extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
# 1034 "/usr/include/unistd.h" 3 4
extern int lockf (int __fd, int __cmd, __off_t __len) ;
# 1065 "/usr/include/unistd.h" 3 4
extern int fdatasync (int __fildes);
# 1103 "/usr/include/unistd.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_UNISTD_H" to "1"
================================================================================
TEST check from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/netinet/in.h" 1 3 4
# 22 "/usr/include/netinet/in.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 23 "/usr/include/netinet/in.h" 2 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;
# 24 "/usr/include/netinet/in.h" 2 3 4
# 1 "/usr/include/sys/socket.h" 1 3 4
# 25 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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;
# 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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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);
# 50 "/usr/include/sys/uio.h" 3 4
extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count);
# 28 "/usr/include/sys/socket.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 30 "/usr/include/sys/socket.h" 2 3 4
# 1 "/usr/include/bits/socket.h" 1 3 4
# 29 "/usr/include/bits/socket.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 30 "/usr/include/bits/socket.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 11 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 1 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 1 3 4
# 122 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 3 4
# 1 "/usr/include/limits.h" 1 3 4
# 145 "/usr/include/limits.h" 3 4
# 1 "/usr/include/bits/posix1_lim.h" 1 3 4
# 153 "/usr/include/bits/posix1_lim.h" 3 4
# 1 "/usr/include/bits/local_lim.h" 1 3 4
# 36 "/usr/include/bits/local_lim.h" 3 4
# 1 "/usr/include/linux/limits.h" 1 3 4
# 37 "/usr/include/bits/local_lim.h" 2 3 4
# 154 "/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
# 123 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 8 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/syslimits.h" 2 3 4
# 12 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/limits.h" 2 3 4
# 32 "/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_PACKET = 10
};
# 142 "/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;
# 143 "/usr/include/bits/socket.h" 2 3 4
struct sockaddr
  {
    sa_family_t sa_family;
    char sa_data[14];
  };
# 162 "/usr/include/bits/socket.h" 3 4
struct sockaddr_storage
  {
    sa_family_t ss_family;
    __uint64_t __ss_align;
    char __ss_padding[(128 - (2 * sizeof (__uint64_t)))];
  };
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
  };
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 [];
  };
# 263 "/usr/include/bits/socket.h" 3 4
extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
          struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
extern __inline struct cmsghdr *
__attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
{
  if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
    return 0;
  __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
          + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
  if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
     + __mhdr->msg_controllen)
      || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
   > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
    return 0;
  return __cmsg;
}
enum
  {
    SCM_RIGHTS = 0x01
    , SCM_CREDENTIALS = 0x02
  };
struct ucred
{
  pid_t pid;
  uid_t uid;
  gid_t gid;
};
# 1 "/usr/include/asm/socket.h" 1 3 4
# 1 "/usr/include/asm-x86_64/socket.h" 1 3 4
# 1 "/usr/include/asm/sockios.h" 1 3 4
# 1 "/usr/include/asm-x86_64/sockios.h" 1 3 4
# 6 "/usr/include/asm/sockios.h" 2 3 4
# 5 "/usr/include/asm-x86_64/socket.h" 2 3 4
# 6 "/usr/include/asm/socket.h" 2 3 4
# 311 "/usr/include/bits/socket.h" 2 3 4
struct linger
  {
    int l_onoff;
    int l_linger;
  };
# 36 "/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
};
# 100 "/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__));
# 124 "/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);
# 161 "/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__));
# 209 "/usr/include/sys/socket.h" 3 4
extern int accept (int __fd, struct sockaddr *__restrict __addr,
     socklen_t *__restrict __addr_len);
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__));
# 240 "/usr/include/sys/socket.h" 3 4
# 25 "/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_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_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;
  };
# 193 "/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;
# 219 "/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];
};
# 345 "/usr/include/netinet/in.h" 3 4
# 1 "/usr/include/bits/in.h" 1 3 4
# 82 "/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;
  };
# 346 "/usr/include/netinet/in.h" 2 3 4
# 354 "/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
# 27 "/usr/include/bits/byteswap.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 28 "/usr/include/bits/byteswap.h" 2 3 4
# 366 "/usr/include/netinet/in.h" 2 3 4
# 428 "/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__));
# 456 "/usr/include/netinet/in.h" 3 4
struct in6_pktinfo
  {
    struct in6_addr ipi6_addr;
    unsigned int ipi6_ifindex;
  };
struct ip6_mtuinfo
  {
    struct sockaddr_in6 ip6m_addr;
    uint32_t ip6m_mtu;
  };
# 551 "/usr/include/netinet/in.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_NETINET_IN_H" to "1"
================================================================================
TEST checkRecursiveMacros from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.headers/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  -fPIC -g  /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <unistd.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
#include <unistd.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest
Executing: /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest
          Popping language C
          Defined "LEVEL1_DCACHE_SIZE" to "65536"
          Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
#include <unistd.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest
Executing: /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest
          Popping language C
          Defined "LEVEL1_DCACHE_LINESIZE" to "64"
          Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
#include <unistd.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest
Executing: /tmp/petsc-QpUpak/PETSc.utilities.cacheDetails/conftest
          Popping language C
          Defined "LEVEL1_DCACHE_ASSOC" to "2"
================================================================================
TEST checkMemcmp from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/config.functions
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <string.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.functions/conftest
Executing: /tmp/petsc-QpUpak/config.functions/conftest
================================================================================
TEST checkSysinfo from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_SYSINFO" to "1"
Checking for header: linux/kernel.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/linux/kernel.h" 1 3 4
# 10 "/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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_LINUX_KERNEL_H" to "1"
Checking for header: sys/sysinfo.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 10 "/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 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_SYS_SYSINFO_H" to "1"
Checking for header: sys/systeminfo.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:28: error: sys/systeminfo.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/systeminfo.h>
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:13:4: error: #error "Cannot check sysinfo without special headers"
Source:
#include "confdefs.h"
#include "conffix.h"

#ifdef HAVE_LINUX_KERNEL_H
#  include <linux/kernel.h>
#  include <linux/sys.h>
#  ifdef HAVE_SYS_SYSINFO_H
#    include <sys/sysinfo.h>
#  endif
#elif defined(HAVE_SYS_SYSTEMINFO_H)
#  include <sys/systeminfo.h>
#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(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:13: warning: conflicting types for built-in function '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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_VPRINTF" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
#include <stdarg.h>

int main() {
va_list Argp;
vprintf( "%d", Argp );
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
================================================================================
TEST checkVFPrintf from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:13: warning: conflicting types for built-in function '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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_VFPRINTF" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
#include <stdarg.h>

int main() {
va_list Argp;
vfprintf(stdout, "%d", Argp );
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
================================================================================
TEST checkVSNPrintf from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_vsnprintf'
collect2: ld returned 1 exit status
Checking for functions [vsnprintf]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:13: warning: conflicting types for built-in function '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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_VSNPRINTF" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
#include <stdarg.h>

int main() {
va_list Argp;char str[6];
vsnprintf(str,5, "%d", Argp );
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
================================================================================
TEST checkNanosleep from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <time.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "HAVE_NANOSLEEP" to "1"
================================================================================
TEST checkSignalHandlerType from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.functions  -g   -fPIC   /tmp/petsc-QpUpak/config.functions/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>
static void myhandler(int sig) {}

int main() {
signal(SIGFPE,myhandler);
;
  return 0;
}
                  Pushing language CXX
                  Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.functions/conftest    -g  /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "SIGNAL_CAST" to " "
          Popping language Cxx
================================================================================
TEST checkFreeReturnType from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.functions/conftest.c:6: error: void value not ignored as it ought to be
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdlib.h>

int main() {
int ierr; void *p; ierr = free(p); return 0;
;
  return 0;
}
            Compile failed inside link

================================================================================
TEST checkVariableArgumentLists from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdarg.h>

int main() {
  va_list l1, l2;
  va_copy(l1, l2);
  return 0;
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "HAVE_VA_COPY" to "1"
================================================================================
TEST checkClassify from config.functions(/share/apps/petsc-petsc-7cd361a5361c/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 _intel_fast_memset dlclose gethostname clock get_nprocs access _snprintf dlerror mkstemp fork getpagesize sbreak memalign sigset getcwd gethostbyname gettimeofday readlink PXFGETARG sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times _intel_fast_memcpy time sysctlbyname stricmp]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:16: warning: conflicting types for built-in function 'snprintf'
/tmp/petsc-QpUpak/config.functions/conftest.c:19: warning: conflicting types for built-in function 'bzero'
/tmp/petsc-QpUpak/config.functions/conftest.c:37: warning: conflicting types for built-in function 'fork'
/tmp/petsc-QpUpak/config.functions/conftest.c:48: warning: conflicting types for built-in function 'strcasecmp'
/tmp/petsc-QpUpak/config.functions/conftest.c:52: warning: conflicting types for built-in function '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 <assert.h>
/* 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 _intel_fast_memset();
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 PXFGETARG();
char sigaction();
char strcasecmp();
char dlopen();
char drand48();
char socket();
char memmove();
char signal();
char popen();
char getrusage();
char times();
char _intel_fast_memcpy();
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__intel_fast_memset) || defined (__stub____intel_fast_memset)
_intel_fast_memset_will_always_fail_with_ENOSYS();
#else
_intel_fast_memset();
#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_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__intel_fast_memcpy) || defined (__stub____intel_fast_memcpy)
_intel_fast_memcpy_will_always_fail_with_ENOSYS();
#else
_intel_fast_memcpy();
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:119: warning: the `getwd' function is dangerous and should not be used.
(.text+0x3c): undefined reference to `_sleep'
(.text+0x6e): undefined reference to `_getcwd'
(.text+0x8c): undefined reference to `_lseek'
(.text+0xa0): undefined reference to `_access'
(.text+0xbe): undefined reference to `_intel_fast_memset'
(.text+0xfa): undefined reference to `_snprintf'
(.text+0x12c): undefined reference to `sbreak'
(.text+0x172): undefined reference to `PXFGETARG'
(.text+0x1e0): undefined reference to `_intel_fast_memcpy'
(.text+0x1f4): undefined reference to `sysctlbyname'
(.text+0x1fe): undefined reference to `stricmp'
collect2: ld returned 1 exit status
Checking for functions [rand getdomainname realpath dlsym bzero uname usleep dlclose gethostname clock get_nprocs dlerror mkstemp fork getpagesize]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:17: warning: conflicting types for built-in function 'bzero'
/tmp/petsc-QpUpak/config.functions/conftest.c:26: warning: conflicting types for built-in function '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 <assert.h>
/* 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();
char getpagesize();

#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

#if defined (__stub_getpagesize) || defined (__stub___getpagesize)
getpagesize_will_always_fail_with_ENOSYS();
#else
getpagesize();
#endif
;
  return 0;
}
                          Pushing language C
                          Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  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"
                  Defined "HAVE_GETPAGESIZE" to "1"
Checking for functions [memalign sigset gethostbyname gettimeofday readlink sigaction strcasecmp dlopen drand48 socket memmove signal popen getrusage times time]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:19: warning: conflicting types for built-in function 'strcasecmp'
/tmp/petsc-QpUpak/config.functions/conftest.c:23: warning: conflicting types for built-in function '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 <assert.h>
/* 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 memalign();
char sigset();
char gethostbyname();
char gettimeofday();
char readlink();
char sigaction();
char strcasecmp();
char dlopen();
char drand48();
char socket();
char memmove();
char signal();
char popen();
char getrusage();
char times();
char time();

#ifdef __cplusplus
}
#endif

int main() {

#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_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_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
;
  return 0;
}
                          Pushing language C
                          Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  Defined "HAVE_MEMALIGN" to "1"
                  Defined "HAVE_SIGSET" to "1"
                  Defined "HAVE_GETHOSTBYNAME" to "1"
                  Defined "HAVE_GETTIMEOFDAY" to "1"
                  Defined "HAVE_READLINK" to "1"
                  Defined "HAVE_SIGACTION" to "1"
                  Defined "HAVE_STRCASECMP" to "1"
                  Defined "HAVE_DLOPEN" 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"
                  Defined "HAVE_TIME" to "1"
Checking for functions [_sleep]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_sleep'
collect2: ld returned 1 exit status
Checking for functions [snprintf]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/config.functions/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.c:13: warning: conflicting types for built-in function '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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  Defined "HAVE_SNPRINTF" to "1"
Checking for functions [_getcwd]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_getcwd'
collect2: ld returned 1 exit status
Checking for functions [getwd]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker:
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: warning: the `getwd' function is dangerous and should not be used.
                  Defined "HAVE_GETWD" to "1"
Checking for functions [_lseek]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_lseek'
collect2: ld returned 1 exit status
Checking for functions [sleep]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  Defined "HAVE_SLEEP" to "1"
Checking for functions [_access]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_access'
collect2: ld returned 1 exit status
Checking for functions [lseek]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  Defined "HAVE_LSEEK" to "1"
Checking for functions [_intel_fast_memset]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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 _intel_fast_memset();

#ifdef __cplusplus
}
#endif

int main() {

#if defined (__stub__intel_fast_memset) || defined (__stub____intel_fast_memset)
_intel_fast_memset_will_always_fail_with_ENOSYS();
#else
_intel_fast_memset();
#endif
;
  return 0;
}
                          Pushing language C
                          Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_intel_fast_memset'
collect2: ld returned 1 exit status
Checking for functions [access]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  Defined "HAVE_ACCESS" to "1"
Checking for functions [_snprintf]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_snprintf'
collect2: ld returned 1 exit status
Checking for functions [sbreak]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `sbreak'
collect2: ld returned 1 exit status
Checking for functions [getcwd]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                  Defined "HAVE_GETCWD" to "1"
Checking for functions [PXFGETARG]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `PXFGETARG'
collect2: ld returned 1 exit status
Checking for functions [_intel_fast_memcpy]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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 _intel_fast_memcpy();

#ifdef __cplusplus
}
#endif

int main() {

#if defined (__stub__intel_fast_memcpy) || defined (__stub____intel_fast_memcpy)
_intel_fast_memcpy_will_always_fail_with_ENOSYS();
#else
_intel_fast_memcpy();
#endif
;
  return 0;
}
                          Pushing language C
                          Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `_intel_fast_memcpy'
collect2: ld returned 1 exit status
Checking for functions [sysctlbyname]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `sysctlbyname'
collect2: ld returned 1 exit status
Checking for functions [stricmp]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.functions/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:24: undefined reference to `stricmp'
collect2: ld returned 1 exit status
================================================================================
TEST configureMemorySize from PETSc.utilities.getResidentSetSize(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.c:4:20: error: sysctl.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#define _POSIX_C_SOURCE 200112L
#include <sysctl.h>

int main() {
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#define _BSD_SOURCE
#include<stdlib.h>

int main() {
;
  return 0;
}
          Defined "_BSD_SOURCE" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#define _GNU_SOURCE
#include <sched.h>

int main() {
cpu_set_t mset;
CPU_ZERO(&mset);;
  return 0;
}
          Defined "_GNU_SOURCE" to "1"
================================================================================
TEST configureFPTrap from PETSc.utilities.FPTrap(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:20: error: sigfpe.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sigfpe.h>
Checking for header: fpxcp.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:19: error: fpxcp.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <fpxcp.h>
Checking for header: floatingpoint.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: exit code 256
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2stderr:
/tmp/petsc-QpUpak/config.headers/conftest.c:3:27: error: floatingpoint.h: No such file or directory
Source:
#include "confdefs.h"
#include "conffix.h"
#include <floatingpoint.h>
================================================================================
TEST check_siginfo_t from config.types(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/config.types
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#include<signal.h>
#endif
    

int main() {
siginfo_t a;;
  return 0;
}
siginfo_t found
          Defined "HAVE_SIGINFO_T" to "1"
================================================================================
TEST check__int64 from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.types/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.types/conftest.c:13: error: '__int64' undeclared (first use in this function)
/tmp/petsc-QpUpak/config.types/conftest.c:13: error: (Each undeclared identifier is reported only once
/tmp/petsc-QpUpak/config.types/conftest.c:13: error: for each function it appears in.)
/tmp/petsc-QpUpak/config.types/conftest.c:13: error: expected ';' before 'a'
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>

#endif
    

int main() {
__int64 a;;
  return 0;
}
__int64 found
================================================================================
TEST checkSizeTypes from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>

#endif
    

int main() {
size_t a;;
  return 0;
}
size_t found
================================================================================
TEST checkFileTypes from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>

#endif
    

int main() {
mode_t a;;
  return 0;
}
mode_t found
Checking for type: off_t
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>

#endif
    

int main() {
off_t a;;
  return 0;
}
off_t found
================================================================================
TEST checkIntegerTypes from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>

#endif
    

int main() {
int32_t a;;
  return 0;
}
int32_t found
================================================================================
TEST checkPID from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>

#endif
    

int main() {
pid_t a;;
  return 0;
}
pid_t found
================================================================================
TEST checkUID from config.types(/share/apps/petsc-petsc-7cd361a5361c/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
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/config.types  /tmp/petsc-QpUpak/config.types/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.types/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.types/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.types/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.types/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.types/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/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
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/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
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 32 "/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;
# 134 "/usr/include/bits/types.h" 3 4
# 1 "/usr/include/bits/typesizes.h" 1 3 4
# 135 "/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
# 75 "/usr/include/time.h" 3 4
typedef __time_t time_t;
# 93 "/usr/include/time.h" 3 4
typedef __clockid_t clockid_t;
# 105 "/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 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.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
# 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
# 32 "/usr/include/sys/select.h" 2 3 4
# 1 "/usr/include/bits/sigset.h" 1 3 4
# 23 "/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
# 121 "/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 * 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
# 29 "/usr/include/sys/sysmacros.h" 3 4
__extension__
extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
     __attribute__ ((__nothrow__));
__extension__
extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
       unsigned int __minor)
     __attribute__ ((__nothrow__));
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
{
  return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
}
__extension__ extern __inline unsigned int
__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
{
  return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
}
__extension__ extern __inline unsigned long long int
__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
{
  return ((__minor & 0xff) | ((__major & 0xfff) << 8)
   | (((unsigned long long int) (__minor & ~0xff)) << 12)
   | (((unsigned long long int) (__major & ~0xfff)) << 32));
}
# 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 "/tmp/petsc-QpUpak/config.types/conftest.c" 2
================================================================================
TEST checkSignal from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#include <signal.h>
#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(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <complex.h>

int main() {
double _Complex x;
 x = I;
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <complex.h>

int main() {
double _Complex x;
 x = I;
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "HAVE_C99_COMPLEX" to "1"
================================================================================
TEST checkCxxComplex from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types  -g   -fPIC   /tmp/petsc-QpUpak/config.types/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <complex>

int main() {
std::complex<double> x;
;
  return 0;
}
                  Pushing language CXX
                  Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.types/conftest    -g  /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "HAVE_CXX_COMPLEX" to "1"
          Popping language Cxx
================================================================================
TEST checkFortranKind from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types  -fPIC -g   /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types  -fPIC -g   /tmp/petsc-QpUpak/config.types/conftest.F 
Successful compile:
Source:
      program main
      double precision d
      d = dreal(3.0)
      end
                  Pushing language FC
                  Popping language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Popping language FC
================================================================================
TEST checkConst from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
  #include <sys/param.h>
#endif

int main() {

#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
  bogus endian macros
#endif
      ;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.types/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.types/conftest.c:11: error: 'not' undeclared (first use in this function)
/tmp/petsc-QpUpak/config.types/conftest.c:11: error: (Each undeclared identifier is reported only once
/tmp/petsc-QpUpak/config.types/conftest.c:11: error: for each function it appears in.)
/tmp/petsc-QpUpak/config.types/conftest.c:11: error: expected ';' before 'big'
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
  #include <sys/param.h>
#endif

int main() {

#if BYTE_ORDER != BIG_ENDIAN
  not big endian
#endif
        ;
  return 0;
}
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_CHAR" to "1"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_VOID_P" to "8"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_SHORT" to "2"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_INT" to "4"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_LONG" to "8"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_LONG_LONG" to "8"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_FLOAT" to "4"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_DOUBLE" to "8"
================================================================================
TEST checkSizeof from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
            Popping language C
            Defined "SIZEOF_SIZE_T" to "8"
================================================================================
TEST checkBitsPerByte from config.types(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
          Defined "BITS_PER_BYTE" to "8"
================================================================================
TEST checkVisibility from config.types(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/types.py:364)
TESTING: checkVisibility from config.types(config/BuildSystem/config/types.py:364)
================================================================================
TEST configureMemAlign from PETSc.utilities.memAlign(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -lsocket -lnsl -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
            Popping language C
================================================================================
TEST check from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -lfpe -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/usr/bin/ld: cannot find -lfpe
collect2: ld returned 1 exit status
            Popping language C
================================================================================
TEST check from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -lsocket -lnsl -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/usr/bin/ld: cannot find -lsocket
collect2: ld returned 1 exit status
            Popping language C
================================================================================
TEST check from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -lfpe -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/usr/bin/ld: cannot find -lfpe
collect2: ld returned 1 exit status
            Popping language C
================================================================================
TEST checkMath from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
        Math functions are linked in by default
================================================================================
TEST checkMathErf from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
        erf() found
          Defined "HAVE_ERF" to "1"
================================================================================
TEST checkMathTgamma from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
        tgamma() found
          Defined "HAVE_TGAMMA" to "1"
================================================================================
TEST checkMathFenv from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/libraries.py:285)
TESTING: checkMathFenv from config.libraries(config/BuildSystem/config/libraries.py:285)
  Checks if <fenv.h> can be used with FE_DFL_ENV
          Checking for functions [fesetenv] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
#include <fenv.h>
static void _check_fesetenv() { fesetenv(FE_DFL_ENV);; }

int main() {
_check_fesetenv();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
          Defined "HAVE_FENV_H" to "1"
================================================================================
TEST checkCompression from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_compress':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `compress'
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_uncompress':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:8: undefined reference to `uncompress'
collect2: ld returned 1 exit status
            Popping language C
          Checking for functions [compress uncompress] in library ['z'] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -lz -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_LIBZ" to "1"
            Popping language C
        Using libz for the compression library
================================================================================
TEST checkRealtime from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
#include <time.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_clock_gettime':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
            Popping language C
          Checking for functions [clock_gettime] in library ['rt'] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
#include <time.h>
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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -lrt -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_LIBRT" to "1"
            Popping language C
        Using librt for the realtime library
================================================================================
TEST checkDynamic from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o  -ldl -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_LIBDL" to "1"
            Popping language C
Checking for header: dlfcn.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.headers  /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/usr/include/dlfcn.h" 1 3 4
# 24 "/usr/include/dlfcn.h" 3 4
# 1 "/usr/include/features.h" 1 3 4
# 329 "/usr/include/features.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 313 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/bits/wordsize.h" 1 3 4
# 314 "/usr/include/sys/cdefs.h" 2 3 4
# 330 "/usr/include/features.h" 2 3 4
# 352 "/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
# 353 "/usr/include/features.h" 2 3 4
# 25 "/usr/include/dlfcn.h" 2 3 4
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 27 "/usr/include/dlfcn.h" 2 3 4
# 1 "/usr/include/bits/dlfcn.h" 1 3 4
# 30 "/usr/include/dlfcn.h" 2 3 4
# 54 "/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)));
# 84 "/usr/include/dlfcn.h" 3 4
extern char *dlerror (void) __attribute__ ((__nothrow__));
# 190 "/usr/include/dlfcn.h" 3 4
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
            Defined "HAVE_DLFCN_H" to "1"
================================================================================
TEST configureFortranCommandLine from PETSc.utilities.fortranCommandLine(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g   /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_get_command_argument__':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `get_command_argument__'
collect2: ld returned 1 exit status
            Popping language C
          Checking for functions [getarg_] in library [''] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
          Defined "HAVE_GETARG" to "1"
Checking for functions [ipxfargc_]
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.functions/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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 <assert.h>
/* 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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.functions/conftest    -fPIC -g /tmp/petsc-QpUpak/config.functions/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Defined "HAVE_IPXFARGC_" to "1"
          Defined "HAVE_PXFGETARG_NEW" to "1"
          Popping language C
================================================================================
TEST configureMissingDefines from PETSc.utilities.missing(/share/apps/petsc-petsc-7cd361a5361c/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 /tmp/petsc-QpUpak/PETSc.utilities.missing
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#ifdef PETSC_HAVE_LIMITS_H
  #include <limits.h>
#endif

int main() {
int i=INT_MAX;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#ifdef PETSC_HAVE_FLOAT_H
  #include <float.h>
#endif

int main() {
double d=DBL_MAX;

if (d);
;
  return 0;
}
================================================================================
TEST configureMissingUtypeTypedefs from PETSc.utilities.missing(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/types.h>

int main() {
u_short foo;
;
  return 0;
}
================================================================================
TEST configureMissingFunctions from PETSc.utilities.missing(/share/apps/petsc-petsc-7cd361a5361c/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(/share/apps/petsc-petsc-7cd361a5361c/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_<signal name> if necessary
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGABRT;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGALRM;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGBUS;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGCHLD;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGCONT;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGFPE;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGHUP;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGILL;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGINT;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGKILL;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGPIPE;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGQUIT;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGSEGV;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGSTOP;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGSYS;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGTERM;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGTRAP;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGTSTP;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGURG;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGUSR1;

if (i);
;
  return 0;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <signal.h>

int main() {
int i=SIGUSR2;

if (i);
;
  return 0;
}
================================================================================
TEST configureMissingGetdomainnamePrototype from PETSc.utilities.missing(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/missing.py:92)
TESTING: configureMissingGetdomainnamePrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:92)
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/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 <unistd.h>
#endif
#ifdef PETSC_HAVE_NETDB_H
#include <netdb.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -g   -fPIC   /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.cc 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.cc:4:1: warning: "_GNU_SOURCE" redefined
<command-line>: warning: 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 <unistd.h>
#endif
#ifdef PETSC_HAVE_NETDB_H
#include <netdb.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest    -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Popping language Cxx
================================================================================
TEST configureMissingSrandPrototype from PETSc.utilities.missing(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/missing.py:117)
TESTING: configureMissingSrandPrototype from PETSc.utilities.missing(config/PETSc/utilities/missing.py:117)
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/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 <stdlib.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -g   -fPIC   /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.cc 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.cc:4:1: warning: "_GNU_SOURCE" redefined
<command-line>: warning: 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 <stdlib.h>
#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: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest    -g  /tmp/petsc-QpUpak/PETSc.utilities.missing/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Popping language Cxx
================================================================================
TEST configureMissingIntelFastPrototypes from PETSc.utilities.missing(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/missing.py:141)
TESTING: configureMissingIntelFastPrototypes from PETSc.utilities.missing(config/PETSc/utilities/missing.py:141)
================================================================================
TEST configureMake from config.packages.make(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/make.py:61)
TESTING: configureMake from config.packages.make(config/BuildSystem/config/packages/make.py:61)
  Check for user specified make - or gmake, make
Checking for program /opt/Pointwise/GridgenV15/gmake...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gmake...not found
Checking for program /share/apps/hwloc/bin/gmake...not found
Checking for program /share/apps/open64/bin/gmake...not found
Checking for program /usr/java/latest/bin/gmake...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gmake...not found
Checking for program /share/apps/hwloc/bin/gmake...not found
Checking for program /share/apps/open64/bin/gmake...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/gmake...not found
Checking for program /usr/kerberos/bin/gmake...not found
Checking for program /usr/java/latest/bin/gmake...not found
Checking for program /usr/local/bin/gmake...not found
Checking for program /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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/make.py:79)
TESTING: configureCheckGNUMake from config.packages.make(config/BuildSystem/config/packages/make.py:79)
  Check for GNU make
Checking for program /opt/Pointwise/GridgenV15/strings...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/strings...not found
Checking for program /share/apps/hwloc/bin/strings...not found
Checking for program /share/apps/open64/bin/strings...not found
Checking for program /usr/java/latest/bin/strings...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/strings...not found
Checking for program /share/apps/hwloc/bin/strings...not found
Checking for program /share/apps/open64/bin/strings...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/strings...not found
Checking for program /usr/kerberos/bin/strings...not found
Checking for program /usr/java/latest/bin/strings...not found
Checking for program /usr/local/bin/strings...not found
Checking for program /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
%zD"
%rD"
%jD"
%bD"
%ZD"
%RD"
%JD"
%BD"
%:D"
%2D"
%*D"
%"D"
%zC"
%rC"
%jC"
%bC"
%ZC"
%RC"
%JC"
%BC"
%:C"
%2C"
%*C"
%"C"
%zB"
%rB"
%jB"
%bB"
%ZB"
%RB"
%JB"
%BB"
%:B"
%2B"
%*B"
%"B"
%zA"
%rA"
%jA"
%bA"
%ZA"
%RA"
%JA"
%BA"
=HN"
ATSH
!<*t/<?t+H
[A\A]A^A_
l$@H
|$0H
t$ H
ATU1
[]A\
|$0H
AWAVAUATSH
[A\A]A^A_
\$7H
D$7H
D$XH
[]A\
T$`H
H;E@
AWAVAUI
ATUSH
[]A\A]A^A_
tGH9
\uHH
E	e0E9
[]A\A]A^A_
AWAVAUATSH
AhH9q 
D;%39"
=69"
dH34%(
[A\A]A^A_
ATUH
[]A\
AUATUSH
[]A\A]
=d)"
5O4"
G(pC@
G PC@
AUATUSH
[]A\A]
\$8H
l$@L
d$HL
l$PL
t$XL
|$`H
t$ H
t$ H
L;t$
t4H;-
D$hu
AVAUATUSH
=H)"
H9T$
[]A\A]A^A_
tFL9
=h-"
=4-"
l$ H
AWAVAUATSH
[A\A]A^A_
=U%"
L;%C%"
l$ H
l$ H
l$ H
l$ H
StNH
D$ H
D$ H
E(@t,
U(E1
\$(H
l$0L
d$8L
t$HH
|$PH
AWAVI
AUATUSH
L;d$
L9d$
H;-U
$H9D$
 L9d$
[]A\A]A^A_
|$0H
8[A\
D$81
\$0H
\$8H
t$@H
|$ H
|$PH
D$8dH3
@[]A\
D$81
T$8dH3
\$@H
l$HL
d$PH
AWAVI
AUATUSH
L;-_	"
E at I;E at v
[]A\A]A^A_
<.u,
t#</u
AVAUATUSH
([]A\A]A^A_
L$ L
\$ H
AUATUS
[]A\A]A^
l$ L
t$(L
|$0H
l$ L
t$(L
|$0H
d$ H
ATUH
/H;.w.
[]A\A]
AUATUH
[]A\A]A^
AUATUH
[]A\A]A^
l$ L
d$(L
l$0H
\$ H
l$(H
d$0H
AWAVI
ATSH
[A\A]A^A_
(Hc]
AWAVAUATI
D$$H
D$$1
t$$L
[]A\A]A^A_
D$(1
T$(dH3
0[]A\
ATUS1
[]A\A]
AWAVAUE1
|$ L
t$$H
T$$L
T$ L
([]L
A\A]A^A_
AVAUATUSH
[]A\A]A^A_
AWAVAUE1
ATE1
|$$L
t$$H
([]A\A]A^A_
D;|$
D$$t
AWAVA
ATUH
]A\A]A^A_
AWAVAUATUSH
8.tuH
[]A\A]A^A_
AWAVAUI
ATUSH
[]A\L
A]A^A_
AVAUATSH
[A\A]A^A_
AWE1
AVAUATUSH
[]A\A]A^A_
AWAVAUATSH
[A\A]A^A_
AWAVAUI
ATUSH
[]A\A]A^A_
D$ /I
AUATI
D$%H
[]A\A]A^A_
[]A\A]A^A_
l$ L
t$(L
|$0H
AWAVAUATI
t$@H
T$(H
L$ L
+D$ H
D$8H
+D$(H
t$TH
l$TG
,>A9
T$4H
t$ L
T$TD
43D)
T$8H
L$4E
[]A\A]A^A_
t$(H
|$(H
t$@H
L$ L
T$(A
AWAVI
AUATSH
<it"<wtT<ethH
[A\A]A^A_
AWAVAUATI
tGH9
[A\A]A^A_
[]A\
AUATUH
[]A\A]A^
AUATUSH
+t8H
[]A\A]
AWAVAUATS
D$ H
D$0H
H;8H
[A\A]A^A_
@ ;H
AUATI
~&Hc
l$ H
@ 9X
AWAVAUI
ATSH
<	t	<
L90tIA
[A\A]A^A_
D80u
l$ L
t$(L
|$0H
t$(H
D$(H
D$(H
L$<L
L$4L
D$8H
|$ f
d$(L
l$0H
Lce0
AWAVAUATUSH
Lce0
\$$1
([]A\A]A^A_
|$ 1
9M0u
t$ H
Hc]0
t$ H
AWAVAUATUSH
D$ H
D$')A
D$'}u
8T$'u
\u61
T$ 9P
8[]A\A]A^A_
tw<~u
<.u+
t/</u
?-tf1
t<H;X
AWAVA
D9%a
[]A\A]A^A_
AWAVAUATA
[A\A]A^A_
AWE1
AVAUATE1
$(MAKEOVH
ERRIDES)H
<$-tVI
[A\A]A^A_
$(-*-comI
mand-varH
iables-*L
AWAVAUATSH
D"@+H
@+tKA
9St,I
5}x!
-cw!
%@w!
;/t,
t{E1
=1t!
=\s!
GmXXXXXXH
=yo!
=&r!
-yk!
%Lk!
=;o!
d$PM
=jh!
=Mj!
50c!
< t	<	t
l$ H
L$8H
D$@L
L$HH)
=cZ!
=AZ!
l$ H
L$8H
D$@L
L$HH)
=6W!
=aV!
=TV!
L$8H
D$@L
L$HH)
:\u 
tsI9
\$(H
l$0L
d$8L
l$@L
t$HL
|$PH
T$ L
l$ H
AUE1
ATUH
tmE1
[]A\A]
5qN!
=KL!
</t`
l$ H
l$ H
l$ H
AVAUATUSH
|$ M
L$01
l$0A
|$ M
[]A\A]A^A_
D$8H
D$8H
D$8D
d$(H
T$,H
AVAUA
tL9D$
H9\$
H9D$
H9D$
H+D$
|$ L
tYA9
[]A\A]A^A_
AUATSH
)tLL
[A\A]A^A_
t0H;
p[]A\
t1~q
l$ L
t$(L
|$0H
<$=t
{t0A
AWAVAUATI
T$ D
I9\$
[]A\A]A^A_
tHH9
AVAUM
D$WH
D$ L
	D$4t+
@ L9
H;-%E!
\$(H
D$<H
T$@M
L$HH
t$HL
|$HH
X[]A\A]A^A_
L$ H
;D$<
T$@H
L$HL
-iB!
H;-ZC!
\$8H
D$H1
X[]A\A]A^A_
AVAUI
>	tRL
[A\A]A^A_
AWAVAUATSH
[A\A]A^A_
<)t'<,
<)t(
G(E1
AUATUSH
t$(H
D9d$@s$H
d$@H
D$8H
|$8H
D$8H
 u&I
l$\E
L$|H
t$PL
L$HD
D$TH
L$pH
T$TD
d$PE
9\$D
|$PH
t$HD
L$PL
L$HD
D$TH
L$pH
[]A\A]A^A_
t$|H
L$HD
D$TH
D$PH
L$pH
%F+!
T$PH
L$HD
D$TH
=Y'!
D$hH
D$|t
9D$DH
l$PH
L$hH
T$0H
T$0H
8.t3H
L$/:
=k !
|$hH
L$'H
t$hL
@*f%
T$pH
AWAVA
ATSH
[A\A]A^A_
AUE1
ATUH
=s	!
[]A\A]
u&E1
=$	!
AWAVA
ATUH
D;%A
D;t$
D$(%
D;t$
D$(%
[]A\A]A^A_
AVAUATUSH
[]A\A]A^
T$`H
tsH)
T$`H
AWAVAUATUH
T$0H
t$(E1
D$`H
D$8H
D$8H
|$0H
t$8H
D$(H
t$DH
D$DL
T$DI
|$ H
t$8L
\$8H
D$0H
D$8H
\$0H
t$0H
H[]A\A]A^A_
\$8H
l$(I
|$0A
t$(I
$tWL
|$(A
t$0H
D$8H
D$DI
D$Du
D$ H
\$8H
AUATE1
P(Hc
@t+H
RPH9
[]A\A]
[]A\A]
AWAVAUATSH
rxt+H
S E1
C A	
[A\A]A^A_
AVAUI
ATUSH
t.H;D$
[]A\A]A^A_
H;D$
L$$H
D$$H
AWAVAUATUSH
l$ H
@t	E
[]A\A]A^A_
H;CH
u:E1
AUATUS
\$ H
|$(H
u8[]A\A]A^
AUATI
H9-"
,$H9-
[]A\A]
AVAUATUSH
D$(H
T$0H
l$(E1
tbH9
D$0H
D$ H
T$0H
@:0uNH
t$ H
|$0L
[]A\A]A^A_
[]A\A]A^A_
AWAVAUATI
tfD9l$
([]A\A]A^A_
d$ L
l$(L
t$0H
AWAVAUATUSH
HcD$
I+\$
D$ M
D95j
[]A\A]A^A_
[]A\A]A^A_
AWAVAUATSH
[A\A]A^A_
AWAVAUATUSH
D$ A9
L$ H
([]A\A]A^A_
t0L;%)
l$ L
t$(L
|$0H
tND;m
t&<$u
l$ H
#t7H
AWAVAUATUSH
t	H;
H= rb
[]A\A]A^A_
[]A\A]A^A_
8 rb
AWAVI
AUATUSH
[]A\A]A^A_
AWAVAUATUSH
H;-7
t$pL
D$p>
D$x	
H;-E
[]A\A]A^A_
AWAVAUATUSH
d$ H
L;t$
-Hc\$
L9t$
L;%t
H9D$
[]A\A]A^A_
l$PH
\$HL
d$XL
l$`L
t$hL
|$pH
@"s(
	w8f
t^vMA
D$ H
D$*H
\$8H
l$@L
d$HL
l$PH
t at I9
l$ L
d$(L
l$0L
t$8L
|$@H
EJf%
@*f%?
ATUSH
D$ H
D$ H
[]A\A]
[]A\A]
AWAVAUATUSH
D$(L
T$ H
T$(H
T$ A
T$(L
/)l$(H
[]A\A]A^A_
\$,L
)l$(H
D$()
8/thH
[]A\
[]A\1
ATUSH
t=9p(r8H
[]A\A]
[]A\A]
AWAVAUATUH
D$ H
D9l$
L$ H
([]A\A]A^A_
([]A\A]A^A_
t$ L
L+t$
#tTH
H;l$
AWE1
AVE1
T$@A
tFH;5U
t3I9
T$HA
[]A\A]A^A_
[]A\
[]A\A]
[]A\A]
\$81
\$0H
l$(H
\$ H
d$0L
t$@H
l$(f
D$ A\
H9E 
t$ H
t$ H
t$ H
l$ H
l$ L
t$(L
|$0H
touch: 
touch: Archive `%s' does not exist
touch: `%s' is not a valid archive
touch: Member `%s' does not exist in `%s'
touch: Bad return code from ar_member_touch on `%s'
attempt to use unsupported feature: `%s'
!<arch>
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
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'
*** Deleting intermediate file `%s'
Removing intermediate files...
print_file
enter_file
lookup_file
undefined
recursive
simple
%s: '%s'
default
environment
environment override
command line
automatic
addprefix
basename
%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
insufficient number of arguments (%d) to function `%s'
unimplemented on this platform: function `%s'
Cleaning up temporary batch file %s
Internal error: func_error: '%s'
unterminated call to function `%s': missing `%c'
non-numeric first argument to `word' function
first argument to `word' function must be greater than 0
non-numeric first argument to `wordlist' function
non-numeric second argument to `wordlist' function
invalid first argument to `wordlist' function: `%d'
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'.
%s: Command not found
SHELL
%s: Shell program not found
execvp: 
write jobserver
[%s] Error %d (ignored)
*** [%s] Error %d
 (core dumped)
*** [%s] %s%s
job.c
ap <= end
$(SHELL)
$(IFS)
/bin/sh
vfork
cannot enforce load limit: 
getloadavg
 (remote)
remote_status
wait
.DELETE_ON_ERROR
don't 
Duplicate the job FD
read jobs pipe EOF
read jobs pipe
Read returned EBADF.
break
case
continue
exec
exit
login
logout
read
readonly
shift
switch
test
trap
umask
while
INTERNAL: Freeing child 0x%08lx (%s) but no tokens left!
Released token for child 0x%08lx (%s).
%s (line %d) Bad shell context (!unixy && !batch_mode_shell)
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 <bug-make at gnu.org>
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.
More parallel jobs (-jN) than this platform can handle requested.
Resetting to single job (-j1) mode.
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
misc.c
d == h
%s:%lu: *** 
%s: *** 
%s[%u]: *** 
.  Stop.
virtual memory exhausted
h->count != 0
%s: 
%s[%u]: 
write error: %s
write error
%s%s: %s
hash_strfree
hash_savestring
hash_strdup
$(HOME)
HOME
.POSIX
.SECONDEXPANSION
define
endef
ifdef
ifndef
ifeq
ifneq
else
endif
extraneous `%s'
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/include
.INCLUDE_DIRS
/usr/gnu/include
/usr/local/include
GNUmakefile
Makefile
warning: NUL character seen; rest of line ignored
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'
Extraneous text after `endef' directive
missing `endef', unterminated `define'
Extraneous text after `%s' directive
only one `else' per conditional
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/lib
/usr/lib64
.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
Aupdate_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
# No pattern-specific variable values.
# %u pattern-specific variable values
current_variable_set_list->next != ((void *)0)
3.81
x86_64-redhat-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 
#;"*?[]&|<>(){}$`^~!
__gmon_start__
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
feof
getloadavg
fgets
getpwnam
calloc
strlen
sigemptyset
memset
glob
strstr
__errno_location
chdir
dup2
__fprintf_chk
sigaddset
ctime
putenv
stdout
fputs
lseek
memcpy
fclose
__strtol_internal
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
__strtod_internal
__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.4
GLIBC_2.3
GLIBC_2.3.4
GLIBC_2.2.5
/lib64/ld-linux-x86-64.so.2
          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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/make.py:123)
TESTING: configureMakeNP from config.packages.make(config/BuildSystem/config/packages/make.py:123)
  check no of cores on the build machine [perhaps to do make '-j ncores']
        module multiprocessing *not* found: using default make_np = 2
          Defined make macro "MAKE_NP" to "2"
      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(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:748)
TESTING: configureLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:748)
  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', 'bin', 'share', 'include', 'etc']
================================================================================
TEST check from config.libraries(/share/apps/petsc-petsc-7cd361a5361c/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                Popping language C
          Checking for headers User specified root directory MPI: ['/share/apps/openmpi-1.5.1-open64/include']
              Pushing language C
================================================================================
TEST checkInclude from config.headers(/share/apps/petsc-petsc-7cd361a5361c/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 ['/share/apps/openmpi-1.5.1-open64/include']
                Checking include with compiler flags var CPPFLAGS ['/share/apps/openmpi-1.5.1-open64/include']
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -E  -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.headers  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.headers/conftest.c 
stdout:
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/tmp/petsc-QpUpak/config.headers/conftest.c"
# 1 "/tmp/petsc-QpUpak/config.headers/confdefs.h" 1
# 2 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/tmp/petsc-QpUpak/config.headers/conffix.h" 1
# 3 "/tmp/petsc-QpUpak/config.headers/conftest.c" 2
# 1 "/share/apps/openmpi-1.5.1-open64/include/mpi.h" 1
# 208 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
# 1 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 1 3 4
# 152 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long int ptrdiff_t;
# 214 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef long unsigned int size_t;
# 326 "/share/apps/open64/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/stddef.h" 3 4
typedef int wchar_t;
# 209 "/share/apps/openmpi-1.5.1-open64/include/mpi.h" 2
# 241 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
# 1 "/share/apps/openmpi-1.5.1-open64/include/mpi_portable_platform.h" 1
# 242 "/share/apps/openmpi-1.5.1-open64/include/mpi.h" 2
# 305 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
typedef ptrdiff_t MPI_Aint;
typedef long long MPI_Offset;
typedef struct ompi_communicator_t *MPI_Comm;
typedef struct ompi_datatype_t *MPI_Datatype;
typedef struct ompi_errhandler_t *MPI_Errhandler;
typedef struct ompi_file_t *MPI_File;
typedef struct ompi_group_t *MPI_Group;
typedef struct ompi_info_t *MPI_Info;
typedef struct ompi_op_t *MPI_Op;
typedef struct ompi_request_t *MPI_Request;
typedef struct ompi_status_public_t MPI_Status;
typedef struct ompi_win_t *MPI_Win;
struct ompi_status_public_t {
    int MPI_SOURCE;
    int MPI_TAG;
    int MPI_ERROR;
    int _cancelled;
    size_t _ucount;
};
typedef struct ompi_status_public_t ompi_status_public_t;
# 346 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
typedef int (MPI_Copy_function)(MPI_Comm, int, void *,
                                void *, void *, int *);
typedef int (MPI_Delete_function)(MPI_Comm, int, void *, void *);
typedef int (MPI_Datarep_extent_function)(MPI_Datatype, MPI_Aint *, void *);
typedef int (MPI_Datarep_conversion_function)(void *, MPI_Datatype,
                                              int, void *, MPI_Offset, void *);
typedef void (MPI_Comm_errhandler_function)(MPI_Comm *, int *, ...);
typedef MPI_Comm_errhandler_function MPI_Comm_errhandler_fn
        ;
typedef void (ompi_file_errhandler_fn)(MPI_File *, int *, ...);
typedef ompi_file_errhandler_fn MPI_File_errhandler_fn
        ;
typedef ompi_file_errhandler_fn MPI_File_errhandler_function;
typedef void (MPI_Win_errhandler_function)(MPI_Win *, int *, ...);
typedef MPI_Win_errhandler_function MPI_Win_errhandler_fn
        ;
typedef void (MPI_Handler_function)(MPI_Comm *, int *, ...);
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
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 int (MPI_Grequest_query_function)(void *, MPI_Status *);
typedef int (MPI_Grequest_free_function)(void *);
typedef int (MPI_Grequest_cancel_function)(void *, int);
# 472 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
enum {
    MPI_TAG_UB,
    MPI_HOST,
    MPI_IO,
    MPI_WTIME_IS_GLOBAL,
    MPI_APPNUM,
    MPI_LASTUSEDCODE,
    MPI_UNIVERSE_SIZE,
    MPI_WIN_BASE,
    MPI_WIN_SIZE,
    MPI_WIN_DISP_UNIT,
    IMPI_CLIENT_SIZE,
    IMPI_CLIENT_COLOR,
    IMPI_HOST_SIZE,
    IMPI_HOST_COLOR
};
# 563 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
enum {
  MPI_IDENT,
  MPI_CONGRUENT,
  MPI_SIMILAR,
  MPI_UNEQUAL
};
enum {
  MPI_THREAD_SINGLE,
  MPI_THREAD_FUNNELED,
  MPI_THREAD_SERIALIZED,
  MPI_THREAD_MULTIPLE
};
enum {
  MPI_COMBINER_NAMED,
  MPI_COMBINER_DUP,
  MPI_COMBINER_CONTIGUOUS,
  MPI_COMBINER_VECTOR,
  MPI_COMBINER_HVECTOR_INTEGER,
  MPI_COMBINER_HVECTOR,
  MPI_COMBINER_INDEXED,
  MPI_COMBINER_HINDEXED_INTEGER,
  MPI_COMBINER_HINDEXED,
  MPI_COMBINER_INDEXED_BLOCK,
  MPI_COMBINER_STRUCT_INTEGER,
  MPI_COMBINER_STRUCT,
  MPI_COMBINER_SUBARRAY,
  MPI_COMBINER_DARRAY,
  MPI_COMBINER_F90_REAL,
  MPI_COMBINER_F90_COMPLEX,
  MPI_COMBINER_F90_INTEGER,
  MPI_COMBINER_RESIZED
};
# 666 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
__attribute__((visibility("default"))) int OMPI_C_MPI_TYPE_NULL_DELETE_FN( MPI_Datatype datatype,
                                                  int type_keyval,
                                                  void* attribute_val_out,
                                                  void* extra_state );
__attribute__((visibility("default"))) int OMPI_C_MPI_TYPE_NULL_COPY_FN( MPI_Datatype datatype,
                                                int type_keyval,
                                                void* extra_state,
                                                void* attribute_val_in,
                                                void* attribute_val_out,
                                                int* flag );
__attribute__((visibility("default"))) int OMPI_C_MPI_TYPE_DUP_FN( MPI_Datatype datatype,
                                          int type_keyval,
                                          void* extra_state,
                                          void* attribute_val_in,
                                          void* attribute_val_out,
                                          int* flag );
__attribute__((visibility("default"))) int OMPI_C_MPI_COMM_NULL_DELETE_FN( MPI_Comm comm,
                                                  int comm_keyval,
                                                  void* attribute_val_out,
                                                  void* extra_state );
__attribute__((visibility("default"))) int OMPI_C_MPI_COMM_NULL_COPY_FN( MPI_Comm comm,
                                                int comm_keyval,
                                                void* extra_state,
                                                void* attribute_val_in,
                                                void* attribute_val_out,
                                                int* flag );
__attribute__((visibility("default"))) int OMPI_C_MPI_COMM_DUP_FN( MPI_Comm comm, int comm_keyval,
                                          void* extra_state,
                                          void* attribute_val_in,
                                          void* attribute_val_out,
                                          int* flag );
__attribute__((visibility("default"))) int OMPI_C_MPI_NULL_DELETE_FN( MPI_Comm comm, int comm_keyval,
                                             void* attribute_val_out,
                                             void* extra_state )
                                             ;
__attribute__((visibility("default"))) int OMPI_C_MPI_NULL_COPY_FN( MPI_Comm comm, int comm_keyval,
                                           void* extra_state,
                                           void* attribute_val_in,
                                           void* attribute_val_out,
                                           int* flag )
                                           ;
__attribute__((visibility("default"))) int OMPI_C_MPI_DUP_FN( MPI_Comm comm, int comm_keyval,
                                     void* extra_state,
                                     void* attribute_val_in,
                                     void* attribute_val_out,
                                     int* flag )
                                     ;
__attribute__((visibility("default"))) int OMPI_C_MPI_WIN_NULL_DELETE_FN( MPI_Win window,
                                                 int win_keyval,
                                                 void* attribute_val_out,
                                                 void* extra_state );
__attribute__((visibility("default"))) int OMPI_C_MPI_WIN_NULL_COPY_FN( MPI_Win window, int win_keyval,
                                               void* extra_state,
                                               void* attribute_val_in,
                                               void* attribute_val_out,
                                               int* flag );
__attribute__((visibility("default"))) int OMPI_C_MPI_WIN_DUP_FN( MPI_Win window, int win_keyval,
                                         void* extra_state,
                                         void* attribute_val_in,
                                         void* attribute_val_out,
                                         int* flag );
# 736 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
__attribute__((visibility("default"))) extern struct ompi_predefined_communicator_t ompi_mpi_comm_world;
__attribute__((visibility("default"))) extern struct ompi_predefined_communicator_t ompi_mpi_comm_self;
__attribute__((visibility("default"))) extern struct ompi_predefined_communicator_t ompi_mpi_comm_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_group_t ompi_mpi_group_empty;
__attribute__((visibility("default"))) extern struct ompi_predefined_group_t ompi_mpi_group_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_request_t ompi_request_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_min;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_max;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_sum;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_prod;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_land;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_band;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_lor;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_bor;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_lxor;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_bxor;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_maxloc;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_minloc;
__attribute__((visibility("default"))) extern struct ompi_predefined_op_t ompi_mpi_op_replace;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_datatype_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_lb ;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_ub ;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_char;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_signed_char;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_char;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_byte;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_short;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_short;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_long;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long_long_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_unsigned_long_long;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_float;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_double;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long_double;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_wchar;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_packed;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_bool;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_cplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_dblcplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cxx_ldblcplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_character;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_dblprec;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_cplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_dblcplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_ldblcplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2integer;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2real;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2dblprec;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2cplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_2dblcplex;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_float_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_double_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_longdbl_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_short_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_long_int;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical1;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical2;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical4;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_logical8;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer1;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer2;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer4;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer8;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_integer16;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real2;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real4;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real8;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_real16;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_complex8;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_complex16;
__attribute__((visibility("default"))) extern struct ompi_predefined_datatype_t ompi_mpi_complex32;
__attribute__((visibility("default"))) extern struct ompi_predefined_errhandler_t ompi_mpi_errhandler_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_errhandler_t ompi_mpi_errors_are_fatal;
__attribute__((visibility("default"))) extern struct ompi_predefined_errhandler_t ompi_mpi_errors_return;
__attribute__((visibility("default"))) extern struct ompi_predefined_win_t ompi_mpi_win_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_file_t ompi_mpi_file_null;
__attribute__((visibility("default"))) extern struct ompi_predefined_info_t ompi_mpi_info_null;
__attribute__((visibility("default"))) extern int *MPI_F_STATUS_IGNORE;
__attribute__((visibility("default"))) extern int *MPI_F_STATUSES_IGNORE;
# 973 "/share/apps/openmpi-1.5.1-open64/include/mpi.h"
__attribute__((visibility("default"))) int MPI_Abort(MPI_Comm comm, int errorcode);
__attribute__((visibility("default"))) int MPI_Accumulate(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);
__attribute__((visibility("default"))) int MPI_Add_error_class(int *errorclass);
__attribute__((visibility("default"))) int MPI_Add_error_code(int errorclass, int *errorcode);
__attribute__((visibility("default"))) int MPI_Add_error_string(int errorcode, char *string);
__attribute__((visibility("default"))) int MPI_Address(void *location, MPI_Aint *address)
                               ;
__attribute__((visibility("default"))) int MPI_Allgather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                                 void *recvbuf, int recvcount,
                                 MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Allgatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                                  void *recvbuf, int *recvcounts,
                                  int *displs, MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Alloc_mem(MPI_Aint size, MPI_Info info,
                                 void *baseptr);
__attribute__((visibility("default"))) int MPI_Allreduce(void *sendbuf, void *recvbuf, int count,
                                 MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                                void *recvbuf, int recvcount,
                                MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Alltoallv(void *sendbuf, int *sendcounts, int *sdispls,
                                 MPI_Datatype sendtype, void *recvbuf, int *recvcounts,
                                 int *rdispls, MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Alltoallw(void *sendbuf, int *sendcounts, int *sdispls, MPI_Datatype *sendtypes,
                                 void *recvbuf, int *recvcounts, int *rdispls, MPI_Datatype *recvtypes,
                                 MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Attr_delete(MPI_Comm comm, int keyval)
                                   ;
__attribute__((visibility("default"))) int MPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag)
                                ;
__attribute__((visibility("default"))) int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val)
                                ;
__attribute__((visibility("default"))) int MPI_Barrier(MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Bcast(void *buffer, int count, MPI_Datatype datatype,
                             int root, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Bsend(void *buf, int count, MPI_Datatype datatype,
                             int dest, int tag, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Bsend_init(void *buf, int count, MPI_Datatype datatype,
                                  int dest, int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Buffer_attach(void *buffer, int size);
__attribute__((visibility("default"))) int MPI_Buffer_detach(void *buffer, int *size);
__attribute__((visibility("default"))) int MPI_Cancel(MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int *coords);
__attribute__((visibility("default"))) int MPI_Cart_create(MPI_Comm old_comm, int ndims, int *dims,
                                   int *periods, int reorder, MPI_Comm *comm_cart);
__attribute__((visibility("default"))) int MPI_Cart_get(MPI_Comm comm, int maxdims, int *dims,
                                int *periods, int *coords);
__attribute__((visibility("default"))) int MPI_Cart_map(MPI_Comm comm, int ndims, int *dims,
                                int *periods, int *newrank);
__attribute__((visibility("default"))) int MPI_Cart_rank(MPI_Comm comm, int *coords, int *rank);
__attribute__((visibility("default"))) int MPI_Cart_shift(MPI_Comm comm, int direction, int disp,
                                  int *rank_source, int *rank_dest);
__attribute__((visibility("default"))) int MPI_Cart_sub(MPI_Comm comm, int *remain_dims, MPI_Comm *new_comm);
__attribute__((visibility("default"))) int MPI_Cartdim_get(MPI_Comm comm, int *ndims);
__attribute__((visibility("default"))) int MPI_Close_port(char *port_name);
__attribute__((visibility("default"))) int MPI_Comm_accept(char *port_name, MPI_Info info, int root,
                                   MPI_Comm comm, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int MPI_Comm_c2f(MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Comm_call_errhandler(MPI_Comm comm, int errorcode);
__attribute__((visibility("default"))) int MPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result);
__attribute__((visibility("default"))) int MPI_Comm_connect(char *port_name, MPI_Info info, int root,
                                    MPI_Comm comm, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function,
                                              MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int MPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int MPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval);
__attribute__((visibility("default"))) int MPI_Comm_disconnect(MPI_Comm *comm);
__attribute__((visibility("default"))) int MPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm);
__attribute__((visibility("default"))) MPI_Comm MPI_Comm_f2c(int comm);
__attribute__((visibility("default"))) int MPI_Comm_free_keyval(int *comm_keyval);
__attribute__((visibility("default"))) int MPI_Comm_free(MPI_Comm *comm);
__attribute__((visibility("default"))) int MPI_Comm_get_attr(MPI_Comm comm, int comm_keyval,
                                     void *attribute_val, int *flag);
__attribute__((visibility("default"))) int MPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *erhandler);
__attribute__((visibility("default"))) int MPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen);
__attribute__((visibility("default"))) int MPI_Comm_get_parent(MPI_Comm *parent);
__attribute__((visibility("default"))) int MPI_Comm_group(MPI_Comm comm, MPI_Group *group);
__attribute__((visibility("default"))) int MPI_Comm_join(int fd, MPI_Comm *intercomm);
__attribute__((visibility("default"))) int MPI_Comm_rank(MPI_Comm comm, int *rank);
__attribute__((visibility("default"))) int MPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group);
__attribute__((visibility("default"))) int MPI_Comm_remote_size(MPI_Comm comm, int *size);
__attribute__((visibility("default"))) int MPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val);
__attribute__((visibility("default"))) int MPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int MPI_Comm_set_name(MPI_Comm comm, char *comm_name);
__attribute__((visibility("default"))) int MPI_Comm_size(MPI_Comm comm, int *size);
__attribute__((visibility("default"))) int MPI_Comm_spawn(char *command, char **argv, int maxprocs, MPI_Info info,
                                  int root, MPI_Comm comm, MPI_Comm *intercomm,
                                  int *array_of_errcodes);
__attribute__((visibility("default"))) int MPI_Comm_spawn_multiple(int count, char **array_of_commands, char ***array_of_argv,
                                           int *array_of_maxprocs, MPI_Info *array_of_info,
                                           int root, MPI_Comm comm, MPI_Comm *intercomm,
                                           int *array_of_errcodes);
__attribute__((visibility("default"))) int MPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int MPI_Comm_test_inter(MPI_Comm comm, int *flag);
__attribute__((visibility("default"))) int MPI_Dims_create(int nnodes, int ndims, int *dims);
__attribute__((visibility("default"))) int MPI_Errhandler_c2f(MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int MPI_Errhandler_create(MPI_Handler_function *function,
                                         MPI_Errhandler *errhandler)
                                         ;
__attribute__((visibility("default"))) MPI_Errhandler MPI_Errhandler_f2c(int errhandler);
__attribute__((visibility("default"))) int MPI_Errhandler_free(MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int MPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler)
                                      ;
__attribute__((visibility("default"))) int MPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
                                      ;
__attribute__((visibility("default"))) int MPI_Error_class(int errorcode, int *errorclass);
__attribute__((visibility("default"))) int MPI_Error_string(int errorcode, char *string, int *resultlen);
__attribute__((visibility("default"))) int MPI_Exscan(void *sendbuf, void *recvbuf, int count,
                              MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_File_c2f(MPI_File file);
__attribute__((visibility("default"))) MPI_File MPI_File_f2c(int file);
__attribute__((visibility("default"))) int MPI_File_call_errhandler(MPI_File fh, int errorcode);
__attribute__((visibility("default"))) int MPI_File_create_errhandler(MPI_File_errhandler_function *function,
                                              MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int MPI_File_set_errhandler( MPI_File file, MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int MPI_File_get_errhandler( MPI_File file, MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int MPI_File_open(MPI_Comm comm, char *filename, int amode,
                                 MPI_Info info, MPI_File *fh);
__attribute__((visibility("default"))) int MPI_File_close(MPI_File *fh);
__attribute__((visibility("default"))) int MPI_File_delete(char *filename, MPI_Info info);
__attribute__((visibility("default"))) int MPI_File_set_size(MPI_File fh, MPI_Offset size);
__attribute__((visibility("default"))) int MPI_File_preallocate(MPI_File fh, MPI_Offset size);
__attribute__((visibility("default"))) int MPI_File_get_size(MPI_File fh, MPI_Offset *size);
__attribute__((visibility("default"))) int MPI_File_get_group(MPI_File fh, MPI_Group *group);
__attribute__((visibility("default"))) int MPI_File_get_amode(MPI_File fh, int *amode);
__attribute__((visibility("default"))) int MPI_File_set_info(MPI_File fh, MPI_Info info);
__attribute__((visibility("default"))) int MPI_File_get_info(MPI_File fh, MPI_Info *info_used);
__attribute__((visibility("default"))) int MPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype,
                                     MPI_Datatype filetype, char *datarep, MPI_Info info);
__attribute__((visibility("default"))) int MPI_File_get_view(MPI_File fh, MPI_Offset *disp,
                                     MPI_Datatype *etype,
                                     MPI_Datatype *filetype, char *datarep);
__attribute__((visibility("default"))) int MPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf,
                                    int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf,
                                        int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_at(MPI_File fh, MPI_Offset offset, void *buf,
                                     int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_at_all(MPI_File fh, MPI_Offset offset, void *buf,
                                         int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf,
                                     int count, MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, void *buf,
                                      int count, MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_File_read(MPI_File fh, void *buf, int count,
                                 MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_read_all(MPI_File fh, void *buf, int count,
                                     MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write(MPI_File fh, void *buf, int count,
                                  MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_all(MPI_File fh, void *buf, int count,
                                      MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_iread(MPI_File fh, void *buf, int count,
                                  MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_File_iwrite(MPI_File fh, void *buf, int count,
                                   MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_File_seek(MPI_File fh, MPI_Offset offset, int whence);
__attribute__((visibility("default"))) int MPI_File_get_position(MPI_File fh, MPI_Offset *offset);
__attribute__((visibility("default"))) int MPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset,
                                            MPI_Offset *disp);
__attribute__((visibility("default"))) int MPI_File_read_shared(MPI_File fh, void *buf, int count,
                                        MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_shared(MPI_File fh, void *buf, int count,
      MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_iread_shared(MPI_File fh, void *buf, int count,
                                         MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_File_iwrite_shared(MPI_File fh, void *buf, int count,
                                          MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_File_read_ordered(MPI_File fh, void *buf, int count,
                                         MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_ordered(MPI_File fh, void *buf, int count,
                                          MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence);
__attribute__((visibility("default"))) int MPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset);
__attribute__((visibility("default"))) int MPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf,
                                              int count, MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf,
                                               int count, MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_File_write_at_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_read_all_begin(MPI_File fh, void *buf, int count,
                                           MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_all_begin(MPI_File fh, void *buf, int count,
                                            MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_File_write_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_read_ordered_begin(MPI_File fh, void *buf, int count,
                                               MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_write_ordered_begin(MPI_File fh, void *buf, int count,
                                                MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_File_write_ordered_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype,
                                            MPI_Aint *extent);
__attribute__((visibility("default"))) int MPI_File_set_atomicity(MPI_File fh, int flag);
__attribute__((visibility("default"))) int MPI_File_get_atomicity(MPI_File fh, int *flag);
__attribute__((visibility("default"))) int MPI_File_sync(MPI_File fh);
__attribute__((visibility("default"))) int MPI_Finalize(void);
__attribute__((visibility("default"))) int MPI_Finalized(int *flag);
__attribute__((visibility("default"))) int MPI_Free_mem(void *base);
__attribute__((visibility("default"))) int MPI_Gather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                              void *recvbuf, int recvcount, MPI_Datatype recvtype,
                              int root, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Gatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                               void *recvbuf, int *recvcounts, int *displs,
                               MPI_Datatype recvtype, int root, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Get_address(void *location, MPI_Aint *address);
__attribute__((visibility("default"))) int MPI_Get_count(MPI_Status *status, MPI_Datatype datatype, int *count);
__attribute__((visibility("default"))) int MPI_Get_elements(MPI_Status *status, MPI_Datatype datatype, int *count);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int MPI_Get_processor_name(char *name, int *resultlen);
__attribute__((visibility("default"))) int MPI_Get_version(int *version, int *subversion);
__attribute__((visibility("default"))) int MPI_Graph_create(MPI_Comm comm_old, int nnodes, int *index,
                                    int *edges, int reorder, MPI_Comm *comm_graph);
__attribute__((visibility("default"))) int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges,
                                 int *index, int *edges);
__attribute__((visibility("default"))) int MPI_Graph_map(MPI_Comm comm, int nnodes, int *index, int *edges,
                                 int *newrank);
__attribute__((visibility("default"))) int MPI_Graph_neighbors_count(MPI_Comm comm, int rank, int *nneighbors);
__attribute__((visibility("default"))) int MPI_Graph_neighbors(MPI_Comm comm, int rank, int maxneighbors,
                                       int *neighbors);
__attribute__((visibility("default"))) int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges);
__attribute__((visibility("default"))) int MPI_Grequest_complete(MPI_Request request);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int MPI_Group_c2f(MPI_Group group);
__attribute__((visibility("default"))) int MPI_Group_compare(MPI_Group group1, MPI_Group group2, int *result);
__attribute__((visibility("default"))) int MPI_Group_difference(MPI_Group group1, MPI_Group group2,
                                        MPI_Group *newgroup);
__attribute__((visibility("default"))) int MPI_Group_excl(MPI_Group group, int n, int *ranks,
                                  MPI_Group *newgroup);
__attribute__((visibility("default"))) MPI_Group MPI_Group_f2c(int group);
__attribute__((visibility("default"))) int MPI_Group_free(MPI_Group *group);
__attribute__((visibility("default"))) int MPI_Group_incl(MPI_Group group, int n, int *ranks,
                                  MPI_Group *newgroup);
__attribute__((visibility("default"))) int MPI_Group_intersection(MPI_Group group1, MPI_Group group2,
                                          MPI_Group *newgroup);
__attribute__((visibility("default"))) int MPI_Group_range_excl(MPI_Group group, int n, int ranges[][3],
                                        MPI_Group *newgroup);
__attribute__((visibility("default"))) int MPI_Group_range_incl(MPI_Group group, int n, int ranges[][3],
                                        MPI_Group *newgroup);
__attribute__((visibility("default"))) int MPI_Group_rank(MPI_Group group, int *rank);
__attribute__((visibility("default"))) int MPI_Group_size(MPI_Group group, int *size);
__attribute__((visibility("default"))) int MPI_Group_translate_ranks(MPI_Group group1, int n, int *ranks1,
                                             MPI_Group group2, int *ranks2);
__attribute__((visibility("default"))) int MPI_Group_union(MPI_Group group1, MPI_Group group2,
                                   MPI_Group *newgroup);
__attribute__((visibility("default"))) int MPI_Ibsend(void *buf, int count, MPI_Datatype datatype, int dest,
                              int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Info_c2f(MPI_Info info);
__attribute__((visibility("default"))) int MPI_Info_create(MPI_Info *info);
__attribute__((visibility("default"))) int MPI_Info_delete(MPI_Info info, char *key);
__attribute__((visibility("default"))) int MPI_Info_dup(MPI_Info info, MPI_Info *newinfo);
__attribute__((visibility("default"))) MPI_Info MPI_Info_f2c(int info);
__attribute__((visibility("default"))) int MPI_Info_free(MPI_Info *info);
__attribute__((visibility("default"))) int MPI_Info_get(MPI_Info info, char *key, int valuelen,
                                char *value, int *flag);
__attribute__((visibility("default"))) int MPI_Info_get_nkeys(MPI_Info info, int *nkeys);
__attribute__((visibility("default"))) int MPI_Info_get_nthkey(MPI_Info info, int n, char *key);
__attribute__((visibility("default"))) int MPI_Info_get_valuelen(MPI_Info info, char *key, int *valuelen,
                                         int *flag);
__attribute__((visibility("default"))) int MPI_Info_set(MPI_Info info, char *key, char *value);
__attribute__((visibility("default"))) int MPI_Init(int *argc, char ***argv);
__attribute__((visibility("default"))) int MPI_Initialized(int *flag);
__attribute__((visibility("default"))) int MPI_Init_thread(int *argc, char ***argv, int required,
                                   int *provided);
__attribute__((visibility("default"))) int MPI_Intercomm_create(MPI_Comm local_comm, int local_leader,
                                        MPI_Comm bridge_comm, int remote_leader,
                                        int tag, MPI_Comm *newintercomm);
__attribute__((visibility("default"))) int MPI_Intercomm_merge(MPI_Comm intercomm, int high,
                                       MPI_Comm *newintercomm);
__attribute__((visibility("default"))) int MPI_Iprobe(int source, int tag, MPI_Comm comm, int *flag,
                              MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Irecv(void *buf, int count, MPI_Datatype datatype, int source,
                             int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Irsend(void *buf, int count, MPI_Datatype datatype, int dest,
                              int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Isend(void *buf, int count, MPI_Datatype datatype, int dest,
                             int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Issend(void *buf, int count, MPI_Datatype datatype, int dest,
                              int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Is_thread_main(int *flag);
__attribute__((visibility("default"))) int MPI_Keyval_create(MPI_Copy_function *copy_fn,
                                     MPI_Delete_function *delete_fn,
                                     int *keyval, void *extra_state)
                                     ;
__attribute__((visibility("default"))) int MPI_Keyval_free(int *keyval)
                                   ;
__attribute__((visibility("default"))) int MPI_Lookup_name(char *service_name, MPI_Info info, char *port_name);
__attribute__((visibility("default"))) int MPI_Op_c2f(MPI_Op op);
__attribute__((visibility("default"))) int MPI_Op_commutative(MPI_Op op, int *commute);
__attribute__((visibility("default"))) int MPI_Op_create(MPI_User_function *function, int commute, MPI_Op *op);
__attribute__((visibility("default"))) int MPI_Open_port(MPI_Info info, char *port_name);
__attribute__((visibility("default"))) MPI_Op MPI_Op_f2c(int op);
__attribute__((visibility("default"))) int MPI_Op_free(MPI_Op *op);
__attribute__((visibility("default"))) int MPI_Pack_external(char *datarep, void *inbuf, int incount,
                                     MPI_Datatype datatype, void *outbuf,
                                     MPI_Aint outsize, MPI_Aint *position);
__attribute__((visibility("default"))) int MPI_Pack_external_size(char *datarep, int incount,
                                          MPI_Datatype datatype, MPI_Aint *size);
__attribute__((visibility("default"))) int MPI_Pack(void *inbuf, int incount, MPI_Datatype datatype,
                            void *outbuf, int outsize, int *position, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Pack_size(int incount, MPI_Datatype datatype, MPI_Comm comm,
                                 int *size);
__attribute__((visibility("default"))) int MPI_Pcontrol(const int level, ...);
__attribute__((visibility("default"))) int MPI_Probe(int source, int tag, MPI_Comm comm, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Publish_name(char *service_name, MPI_Info info,
                                    char *port_name);
__attribute__((visibility("default"))) int MPI_Put(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);
__attribute__((visibility("default"))) int MPI_Query_thread(int *provided);
__attribute__((visibility("default"))) int MPI_Recv_init(void *buf, int count, MPI_Datatype datatype, int source,
                                 int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Recv(void *buf, int count, MPI_Datatype datatype, int source,
                            int tag, MPI_Comm comm, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Reduce(void *sendbuf, void *recvbuf, int count,
                              MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Reduce_local(void *inbuf, void *inoutbuf, int count,
                                    MPI_Datatype datatype, MPI_Op op);
__attribute__((visibility("default"))) int MPI_Reduce_scatter(void *sendbuf, void *recvbuf, int *recvcounts,
                                      MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Register_datarep(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);
__attribute__((visibility("default"))) int MPI_Request_c2f(MPI_Request request);
__attribute__((visibility("default"))) MPI_Request MPI_Request_f2c(int request);
__attribute__((visibility("default"))) int MPI_Request_free(MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Request_get_status(MPI_Request request, int *flag,
                                          MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Rsend(void *ibuf, int count, MPI_Datatype datatype, int dest,
                             int tag, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Rsend_init(void *buf, int count, MPI_Datatype datatype,
                                  int dest, int tag, MPI_Comm comm,
                                  MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Scan(void *sendbuf, void *recvbuf, int count,
                            MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Scatter(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                               void *recvbuf, int recvcount, MPI_Datatype recvtype,
                               int root, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Scatterv(void *sendbuf, int *sendcounts, int *displs,
                                MPI_Datatype sendtype, void *recvbuf, int recvcount,
                                MPI_Datatype recvtype, int root, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Send_init(void *buf, int count, MPI_Datatype datatype,
                                 int dest, int tag, MPI_Comm comm,
                                 MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest,
                            int tag, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Sendrecv(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);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int MPI_Ssend_init(void *buf, int count, MPI_Datatype datatype,
                                  int dest, int tag, MPI_Comm comm,
                                  MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Ssend(void *buf, int count, MPI_Datatype datatype, int dest,
                             int tag, MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Start(MPI_Request *request);
__attribute__((visibility("default"))) int MPI_Startall(int count, MPI_Request *array_of_requests);
__attribute__((visibility("default"))) int MPI_Status_c2f(MPI_Status *c_status, int *f_status);
__attribute__((visibility("default"))) int MPI_Status_f2c(int *f_status, MPI_Status *c_status);
__attribute__((visibility("default"))) int MPI_Status_set_cancelled(MPI_Status *status, int flag);
__attribute__((visibility("default"))) int MPI_Status_set_elements(MPI_Status *status, MPI_Datatype datatype,
                                           int count);
__attribute__((visibility("default"))) int MPI_Testall(int count, MPI_Request array_of_requests[], int *flag,
                               MPI_Status array_of_statuses[]);
__attribute__((visibility("default"))) int MPI_Testany(int count, MPI_Request array_of_requests[], int *index,
                               int *flag, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Test(MPI_Request *request, int *flag, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Test_cancelled(MPI_Status *status, int *flag);
__attribute__((visibility("default"))) int MPI_Testsome(int incount, MPI_Request array_of_requests[],
                                int *outcount, int array_of_indices[],
                                MPI_Status array_of_statuses[]);
__attribute__((visibility("default"))) int MPI_Topo_test(MPI_Comm comm, int *status);
__attribute__((visibility("default"))) int MPI_Type_c2f(MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_Type_commit(MPI_Datatype *type);
__attribute__((visibility("default"))) int MPI_Type_contiguous(int count, MPI_Datatype oldtype,
                                       MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_darray(int size, int rank, int ndims,
                                          int gsize_array[], int distrib_array[],
                                          int darg_array[], int psize_array[],
                                          int order, MPI_Datatype oldtype,
                                          MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_f90_complex(int p, int r, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_f90_integer(int r, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_f90_real(int p, int r, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_hindexed(int count, int array_of_blocklengths[],
                                            MPI_Aint array_of_displacements[],
                                            MPI_Datatype oldtype,
                                            MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_hvector(int count, int blocklength, MPI_Aint stride,
                                           MPI_Datatype oldtype,
                                           MPI_Datatype *newtype);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int MPI_Type_create_indexed_block(int count, int blocklength,
                                                 int array_of_displacements[],
                                                 MPI_Datatype oldtype,
                                                 MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_struct(int count, int array_of_block_lengths[],
                                          MPI_Aint array_of_displacements[],
                                          MPI_Datatype array_of_types[],
                                          MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_subarray(int ndims, int size_array[], int subsize_array[],
                                            int start_array[], int order,
                                            MPI_Datatype oldtype, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_create_resized(MPI_Datatype oldtype, MPI_Aint lb,
                                           MPI_Aint extent, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_delete_attr(MPI_Datatype type, int type_keyval);
__attribute__((visibility("default"))) int MPI_Type_dup(MPI_Datatype type, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_extent(MPI_Datatype type, MPI_Aint *extent)
                                   ;
__attribute__((visibility("default"))) int MPI_Type_free(MPI_Datatype *type);
__attribute__((visibility("default"))) int MPI_Type_free_keyval(int *type_keyval);
__attribute__((visibility("default"))) MPI_Datatype MPI_Type_f2c(int datatype);
__attribute__((visibility("default"))) int MPI_Type_get_attr(MPI_Datatype type, int type_keyval,
                                     void *attribute_val, int *flag);
__attribute__((visibility("default"))) int MPI_Type_get_contents(MPI_Datatype mtype, int max_integers,
                                         int max_addresses, int max_datatypes,
                                         int array_of_integers[],
                                         MPI_Aint array_of_addresses[],
                                         MPI_Datatype array_of_datatypes[]);
__attribute__((visibility("default"))) int MPI_Type_get_envelope(MPI_Datatype type, int *num_integers,
                                         int *num_addresses, int *num_datatypes,
                                         int *combiner);
__attribute__((visibility("default"))) int MPI_Type_get_extent(MPI_Datatype type, MPI_Aint *lb,
                                       MPI_Aint *extent);
__attribute__((visibility("default"))) int MPI_Type_get_name(MPI_Datatype type, char *type_name,
                                     int *resultlen);
__attribute__((visibility("default"))) int MPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb,
                                            MPI_Aint *true_extent);
__attribute__((visibility("default"))) int MPI_Type_hindexed(int count, int array_of_blocklengths[],
                                     MPI_Aint array_of_displacements[],
                                     MPI_Datatype oldtype, MPI_Datatype *newtype)
                                     ;
__attribute__((visibility("default"))) int MPI_Type_hvector(int count, int blocklength, MPI_Aint stride,
                                    MPI_Datatype oldtype, MPI_Datatype *newtype)
                                    ;
__attribute__((visibility("default"))) int MPI_Type_indexed(int count, int array_of_blocklengths[],
                                    int array_of_displacements[],
                                    MPI_Datatype oldtype, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Type_lb(MPI_Datatype type, MPI_Aint *lb)
                               ;
__attribute__((visibility("default"))) int MPI_Type_match_size(int typeclass, int size, MPI_Datatype *type);
__attribute__((visibility("default"))) int MPI_Type_set_attr(MPI_Datatype type, int type_keyval,
                                     void *attr_val);
__attribute__((visibility("default"))) int MPI_Type_set_name(MPI_Datatype type, char *type_name);
__attribute__((visibility("default"))) int MPI_Type_size(MPI_Datatype type, int *size);
__attribute__((visibility("default"))) int MPI_Type_struct(int count, int array_of_blocklengths[],
                                   MPI_Aint array_of_displacements[],
                                   MPI_Datatype array_of_types[],
                                   MPI_Datatype *newtype)
                                   ;
__attribute__((visibility("default"))) int MPI_Type_ub(MPI_Datatype mtype, MPI_Aint *ub)
                               ;
__attribute__((visibility("default"))) int MPI_Type_vector(int count, int blocklength, int stride,
                                   MPI_Datatype oldtype, MPI_Datatype *newtype);
__attribute__((visibility("default"))) int MPI_Unpack(void *inbuf, int insize, int *position,
                              void *outbuf, int outcount, MPI_Datatype datatype,
                              MPI_Comm comm);
__attribute__((visibility("default"))) int MPI_Unpublish_name(char *service_name, MPI_Info info, char *port_name);
__attribute__((visibility("default"))) int MPI_Unpack_external (char *datarep, void *inbuf, MPI_Aint insize,
                                        MPI_Aint *position, void *outbuf, int outcount,
                                        MPI_Datatype datatype);
__attribute__((visibility("default"))) int MPI_Waitall(int count, MPI_Request *array_of_requests,
                               MPI_Status *array_of_statuses);
__attribute__((visibility("default"))) int MPI_Waitany(int count, MPI_Request *array_of_requests,
                               int *index, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Wait(MPI_Request *request, MPI_Status *status);
__attribute__((visibility("default"))) int MPI_Waitsome(int incount, MPI_Request *array_of_requests,
                                int *outcount, int *array_of_indices,
                                MPI_Status *array_of_statuses);
__attribute__((visibility("default"))) int MPI_Win_c2f(MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_call_errhandler(MPI_Win win, int errorcode);
__attribute__((visibility("default"))) int MPI_Win_complete(MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_create(void *base, MPI_Aint size, int disp_unit,
                                  MPI_Info info, MPI_Comm comm, MPI_Win *win);
__attribute__((visibility("default"))) int MPI_Win_create_errhandler(MPI_Win_errhandler_function *function,
                                             MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int MPI_Win_delete_attr(MPI_Win win, int win_keyval);
__attribute__((visibility("default"))) MPI_Win MPI_Win_f2c(int win);
__attribute__((visibility("default"))) int MPI_Win_fence(int assert, MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_free(MPI_Win *win);
__attribute__((visibility("default"))) int MPI_Win_free_keyval(int *win_keyval);
__attribute__((visibility("default"))) int MPI_Win_get_attr(MPI_Win win, int win_keyval,
                                    void *attribute_val, int *flag);
__attribute__((visibility("default"))) int MPI_Win_get_errhandler(MPI_Win win, MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int MPI_Win_get_group(MPI_Win win, MPI_Group *group);
__attribute__((visibility("default"))) int MPI_Win_get_name(MPI_Win win, char *win_name, int *resultlen);
__attribute__((visibility("default"))) int MPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_post(MPI_Group group, int assert, MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_set_attr(MPI_Win win, int win_keyval, void *attribute_val);
__attribute__((visibility("default"))) int MPI_Win_set_errhandler(MPI_Win win, MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int MPI_Win_set_name(MPI_Win win, char *win_name);
__attribute__((visibility("default"))) int MPI_Win_start(MPI_Group group, int assert, MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_test(MPI_Win win, int *flag);
__attribute__((visibility("default"))) int MPI_Win_unlock(int rank, MPI_Win win);
__attribute__((visibility("default"))) int MPI_Win_wait(MPI_Win win);
__attribute__((visibility("default"))) double MPI_Wtick(void);
__attribute__((visibility("default"))) double MPI_Wtime(void);
__attribute__((visibility("default"))) int PMPI_Abort(MPI_Comm comm, int errorcode);
__attribute__((visibility("default"))) int PMPI_Accumulate(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);
__attribute__((visibility("default"))) int PMPI_Add_error_class(int *errorclass);
__attribute__((visibility("default"))) int PMPI_Add_error_code(int errorclass, int *errorcode);
__attribute__((visibility("default"))) int PMPI_Add_error_string(int errorcode, char *string);
__attribute__((visibility("default"))) int PMPI_Address(void *location, MPI_Aint *address)
                                ;
__attribute__((visibility("default"))) int PMPI_Allgather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                                  void *recvbuf, int recvcount,
                                  MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Allgatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                                   void *recvbuf, int *recvcounts,
                                   int *displs, MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Alloc_mem(MPI_Aint size, MPI_Info info,
                                  void *baseptr);
__attribute__((visibility("default"))) int PMPI_Allreduce(void *sendbuf, void *recvbuf, int count,
                                  MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype,
                                 void *recvbuf, int recvcount,
                                 MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Alltoallv(void *sendbuf, int *sendcounts, int *sdispls,
                                  MPI_Datatype sendtype, void *recvbuf, int *recvcounts,
                                  int *rdispls, MPI_Datatype recvtype, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Alltoallw(void *sendbuf, int *sendcounts, int *sdispls, MPI_Datatype *sendtypes,
                                  void *recvbuf, int *recvcounts, int *rdispls, MPI_Datatype *recvtypes,
                                  MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Attr_delete(MPI_Comm comm, int keyval)
                                    ;
__attribute__((visibility("default"))) int PMPI_Attr_get(MPI_Comm comm, int keyval, void *attribute_val, int *flag)
                                 ;
__attribute__((visibility("default"))) int PMPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val)
                                 ;
__attribute__((visibility("default"))) int PMPI_Barrier(MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Bcast(void *buffer, int count, MPI_Datatype datatype,
                              int root, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Bsend(void *buf, int count, MPI_Datatype datatype,
                              int dest, int tag, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Bsend_init(void *buf, int count, MPI_Datatype datatype,
                                   int dest, int tag, MPI_Comm comm, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_Buffer_attach(void *buffer, int size);
__attribute__((visibility("default"))) int PMPI_Buffer_detach(void *buffer, int *size);
__attribute__((visibility("default"))) int PMPI_Cancel(MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_Cart_coords(MPI_Comm comm, int rank, int maxdims, int *coords);
__attribute__((visibility("default"))) int PMPI_Cart_create(MPI_Comm old_comm, int ndims, int *dims,
                                    int *periods, int reorder, MPI_Comm *comm_cart);
__attribute__((visibility("default"))) int PMPI_Cart_get(MPI_Comm comm, int maxdims, int *dims,
                                 int *periods, int *coords);
__attribute__((visibility("default"))) int PMPI_Cart_map(MPI_Comm comm, int ndims, int *dims,
                                 int *periods, int *newrank);
__attribute__((visibility("default"))) int PMPI_Cart_rank(MPI_Comm comm, int *coords, int *rank);
__attribute__((visibility("default"))) int PMPI_Cart_shift(MPI_Comm comm, int direction, int disp,
                                   int *rank_source, int *rank_dest);
__attribute__((visibility("default"))) int PMPI_Cart_sub(MPI_Comm comm, int *remain_dims, MPI_Comm *new_comm);
__attribute__((visibility("default"))) int PMPI_Cartdim_get(MPI_Comm comm, int *ndims);
__attribute__((visibility("default"))) int PMPI_Close_port(char *port_name);
__attribute__((visibility("default"))) int PMPI_Comm_accept(char *port_name, MPI_Info info, int root,
                                    MPI_Comm comm, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int PMPI_Comm_c2f(MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_Comm_call_errhandler(MPI_Comm comm, int errorcode);
__attribute__((visibility("default"))) int PMPI_Comm_compare(MPI_Comm comm1, MPI_Comm comm2, int *result);
__attribute__((visibility("default"))) int PMPI_Comm_connect(char *port_name, MPI_Info info, int root,
                                     MPI_Comm comm, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int PMPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function,
                                               MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) 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);
__attribute__((visibility("default"))) int PMPI_Comm_create(MPI_Comm comm, MPI_Group group, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int PMPI_Comm_delete_attr(MPI_Comm comm, int comm_keyval);
__attribute__((visibility("default"))) int PMPI_Comm_disconnect(MPI_Comm *comm);
__attribute__((visibility("default"))) int PMPI_Comm_dup(MPI_Comm comm, MPI_Comm *newcomm);
__attribute__((visibility("default"))) MPI_Comm PMPI_Comm_f2c(int comm);
__attribute__((visibility("default"))) int PMPI_Comm_free_keyval(int *comm_keyval);
__attribute__((visibility("default"))) int PMPI_Comm_free(MPI_Comm *comm);
__attribute__((visibility("default"))) int PMPI_Comm_get_attr(MPI_Comm comm, int comm_keyval,
                                      void *attribute_val, int *flag);
__attribute__((visibility("default"))) int PMPI_Comm_get_errhandler(MPI_Comm comm, MPI_Errhandler *erhandler);
__attribute__((visibility("default"))) int PMPI_Comm_get_name(MPI_Comm comm, char *comm_name, int *resultlen);
__attribute__((visibility("default"))) int PMPI_Comm_get_parent(MPI_Comm *parent);
__attribute__((visibility("default"))) int PMPI_Comm_group(MPI_Comm comm, MPI_Group *group);
__attribute__((visibility("default"))) int PMPI_Comm_join(int fd, MPI_Comm *intercomm);
__attribute__((visibility("default"))) int PMPI_Comm_rank(MPI_Comm comm, int *rank);
__attribute__((visibility("default"))) int PMPI_Comm_remote_group(MPI_Comm comm, MPI_Group *group);
__attribute__((visibility("default"))) int PMPI_Comm_remote_size(MPI_Comm comm, int *size);
__attribute__((visibility("default"))) int PMPI_Comm_set_attr(MPI_Comm comm, int comm_keyval, void *attribute_val);
__attribute__((visibility("default"))) int PMPI_Comm_set_errhandler(MPI_Comm comm, MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int PMPI_Comm_set_name(MPI_Comm comm, char *comm_name);
__attribute__((visibility("default"))) int PMPI_Comm_size(MPI_Comm comm, int *size);
__attribute__((visibility("default"))) int PMPI_Comm_spawn(char *command, char **argv, int maxprocs, MPI_Info info,
                                   int root, MPI_Comm comm, MPI_Comm *intercomm,
                                   int *array_of_errcodes);
__attribute__((visibility("default"))) int PMPI_Comm_spawn_multiple(int count, char **array_of_commands, char ***array_of_argv,
                                            int *array_of_maxprocs, MPI_Info *array_of_info,
                                            int root, MPI_Comm comm, MPI_Comm *intercomm,
                                            int *array_of_errcodes);
__attribute__((visibility("default"))) int PMPI_Comm_split(MPI_Comm comm, int color, int key, MPI_Comm *newcomm);
__attribute__((visibility("default"))) int PMPI_Comm_test_inter(MPI_Comm comm, int *flag);
__attribute__((visibility("default"))) int PMPI_Dims_create(int nnodes, int ndims, int *dims);
__attribute__((visibility("default"))) int PMPI_Errhandler_c2f(MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int PMPI_Errhandler_create(MPI_Handler_function *function,
                                          MPI_Errhandler *errhandler)
                                          ;
__attribute__((visibility("default"))) MPI_Errhandler PMPI_Errhandler_f2c(int errhandler);
__attribute__((visibility("default"))) int PMPI_Errhandler_free(MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int PMPI_Errhandler_get(MPI_Comm comm, MPI_Errhandler *errhandler)
                                       ;
__attribute__((visibility("default"))) int PMPI_Errhandler_set(MPI_Comm comm, MPI_Errhandler errhandler)
                                       ;
__attribute__((visibility("default"))) int PMPI_Error_class(int errorcode, int *errorclass);
__attribute__((visibility("default"))) int PMPI_Error_string(int errorcode, char *string, int *resultlen);
__attribute__((visibility("default"))) int PMPI_Exscan(void *sendbuf, void *recvbuf, int count,
                               MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
__attribute__((visibility("default"))) int PMPI_File_c2f(MPI_File file);
__attribute__((visibility("default"))) MPI_File PMPI_File_f2c(int file);
__attribute__((visibility("default"))) int PMPI_File_call_errhandler(MPI_File fh, int errorcode);
__attribute__((visibility("default"))) int PMPI_File_create_errhandler(MPI_File_errhandler_function *function,
                                               MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int PMPI_File_set_errhandler( MPI_File file, MPI_Errhandler errhandler);
__attribute__((visibility("default"))) int PMPI_File_get_errhandler( MPI_File file, MPI_Errhandler *errhandler);
__attribute__((visibility("default"))) int PMPI_File_open(MPI_Comm comm, char *filename, int amode,
                                  MPI_Info info, MPI_File *fh);
__attribute__((visibility("default"))) int PMPI_File_close(MPI_File *fh);
__attribute__((visibility("default"))) int PMPI_File_delete(char *filename, MPI_Info info);
__attribute__((visibility("default"))) int PMPI_File_set_size(MPI_File fh, MPI_Offset size);
__attribute__((visibility("default"))) int PMPI_File_preallocate(MPI_File fh, MPI_Offset size);
__attribute__((visibility("default"))) int PMPI_File_get_size(MPI_File fh, MPI_Offset *size);
__attribute__((visibility("default"))) int PMPI_File_get_group(MPI_File fh, MPI_Group *group);
__attribute__((visibility("default"))) int PMPI_File_get_amode(MPI_File fh, int *amode);
__attribute__((visibility("default"))) int PMPI_File_set_info(MPI_File fh, MPI_Info info);
__attribute__((visibility("default"))) int PMPI_File_get_info(MPI_File fh, MPI_Info *info_used);
__attribute__((visibility("default"))) int PMPI_File_set_view(MPI_File fh, MPI_Offset disp, MPI_Datatype etype,
                                      MPI_Datatype filetype, char *datarep, MPI_Info info);
__attribute__((visibility("default"))) int PMPI_File_get_view(MPI_File fh, MPI_Offset *disp,
                                      MPI_Datatype *etype,
                                      MPI_Datatype *filetype, char *datarep);
__attribute__((visibility("default"))) int PMPI_File_read_at(MPI_File fh, MPI_Offset offset, void *buf,
                                     int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_read_at_all(MPI_File fh, MPI_Offset offset, void *buf,
                                         int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_at(MPI_File fh, MPI_Offset offset, void *buf,
                                      int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_at_all(MPI_File fh, MPI_Offset offset, void *buf,
                                          int count, MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_iread_at(MPI_File fh, MPI_Offset offset, void *buf,
                                      int count, MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_File_iwrite_at(MPI_File fh, MPI_Offset offset, void *buf,
                                       int count, MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_File_read(MPI_File fh, void *buf, int count,
                                  MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_read_all(MPI_File fh, void *buf, int count,
                                      MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write(MPI_File fh, void *buf, int count,
                                   MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_all(MPI_File fh, void *buf, int count,
                                       MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_iread(MPI_File fh, void *buf, int count,
                                   MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_File_iwrite(MPI_File fh, void *buf, int count,
                                    MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_File_seek(MPI_File fh, MPI_Offset offset, int whence);
__attribute__((visibility("default"))) int PMPI_File_get_position(MPI_File fh, MPI_Offset *offset);
__attribute__((visibility("default"))) int PMPI_File_get_byte_offset(MPI_File fh, MPI_Offset offset,
                                             MPI_Offset *disp);
__attribute__((visibility("default"))) int PMPI_File_read_shared(MPI_File fh, void *buf, int count,
                                         MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_shared(MPI_File fh, void *buf, int count,
                                          MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_iread_shared(MPI_File fh, void *buf, int count,
                                          MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_File_iwrite_shared(MPI_File fh, void *buf, int count,
                                           MPI_Datatype datatype, MPI_Request *request);
__attribute__((visibility("default"))) int PMPI_File_read_ordered(MPI_File fh, void *buf, int count,
                                          MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_ordered(MPI_File fh, void *buf, int count,
                                           MPI_Datatype datatype, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_seek_shared(MPI_File fh, MPI_Offset offset, int whence);
__attribute__((visibility("default"))) int PMPI_File_get_position_shared(MPI_File fh, MPI_Offset *offset);
__attribute__((visibility("default"))) int PMPI_File_read_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf,
                                               int count, MPI_Datatype datatype);
__attribute__((visibility("default"))) int PMPI_File_read_at_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_at_all_begin(MPI_File fh, MPI_Offset offset, void *buf,
                                                int count, MPI_Datatype datatype);
__attribute__((visibility("default"))) int PMPI_File_write_at_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_read_all_begin(MPI_File fh, void *buf, int count,
                                            MPI_Datatype datatype);
__attribute__((visibility("default"))) int PMPI_File_read_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_all_begin(MPI_File fh, void *buf, int count,
                                             MPI_Datatype datatype);
__attribute__((visibility("default"))) int PMPI_File_write_all_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_read_ordered_begin(MPI_File fh, void *buf, int count,
                                                MPI_Datatype datatype);
__attribute__((visibility("default"))) int PMPI_File_read_ordered_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_write_ordered_begin(MPI_File fh, void *buf, int count,
                                                 MPI_Datatype datatype);
__attribute__((visibility("default"))) int PMPI_File_write_ordered_end(MPI_File fh, void *buf, MPI_Status *status);
__attribute__((visibility("default"))) int PMPI_File_get_type_extent(MPI_File fh, MPI_Datatype datatype,
                                             MPI_Aint *extent);
__attribute__((visibility("default"))) int PMPI_File_set_atomicity(MPI_File fh, int flag);
__attribute__((visibility("default"))) int PMPI_File_get_atomicity(MPI_File fh, int *flag);
__attribute__((visibility("default"))) int PMPI_File_sync(MPI_File fh);
__attribute__((visibility("default"))) int PMPI_Finalize(void);
__attribute__((visibility("default"))) int PMPI_Finalized(int *flag);
__attribute__((visibility("default"))) int PMPI_Free_mem(void *base);
__attribute__((visibility("default"))) int PMPI_Gather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
Found header files ['mpi.h'] in ['/share/apps/openmpi-1.5.1-open64/include']
              Popping language C
================================================================================
TEST configureConversion from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:215)
TESTING: configureConversion from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:215)
  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 /tmp/petsc-QpUpak/config.packages.MPI
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
if (MPI_Comm_f2c((MPI_Fint)0));
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
              Defined "HAVE_MPI_COMM_F2C" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
if (MPI_Comm_c2f(MPI_COMM_WORLD));
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
              Defined "HAVE_MPI_COMM_C2F" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
MPI_Fint a;
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
              Defined "HAVE_MPI_FINT" to "1"
================================================================================
TEST configureMPI2 from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:183)
TESTING: configureMPI2 from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:183)
  Check for functions added to the interface in MPI-2
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
int flag;if (MPI_Finalized(&flag));
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
              Defined "HAVE_MPI_FINALIZED" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
              Defined "HAVE_MPI_IN_PLACE" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Possible ERROR while running compiler:
stderr:
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:6: warning: initialization makes pointer from integer without a cast
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
if (MPI_Comm_set_errhandler(MPI_COMM_WORLD,MPI_ERRORS_RETURN));
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
================================================================================
TEST configureTypes from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:235)
TESTING: configureTypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:235)
  Checking for MPI types
Checking for size of type: MPI_Comm
                Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#endif

#define MPICH_IGNORE_CXX_SEEK
#define MPICH_SKIP_MPICXX 1
#define OMPI_SKIP_MPICXX 1
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
                Popping language C
                Defined "SIZEOF_MPI_COMM" to "8"
Checking for size of type: MPI_Fint
                Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.types/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.types/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#endif

#define MPICH_IGNORE_CXX_SEEK
#define MPICH_SKIP_MPICXX 1
#define OMPI_SKIP_MPICXX 1
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.types/conftest    -fPIC -g /tmp/petsc-QpUpak/config.types/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.types/conftest
Executing: /tmp/petsc-QpUpak/config.types/conftest
                Popping language C
                Defined "SIZEOF_MPI_FINT" to "4"
================================================================================
TEST configureMPITypes from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:247)
TESTING: configureMPITypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:247)
  Checking for MPI Datatype handles
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#ifdef PETSC_HAVE_STDLIB_H
  #include <stdlib.h>
#endif
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#ifdef PETSC_HAVE_STDLIB_H
  #include <stdlib.h>
#endif
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /tmp/petsc-QpUpak/config.packages.MPI/conftest
Executing: /tmp/petsc-QpUpak/config.packages.MPI/conftest
              Defined "HAVE_MPI_LONG_DOUBLE" to "1"
              Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:12: error: 'MPI_INT64_T' undeclared (first use in this function)
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:12: error: (Each undeclared identifier is reported only once
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:12: error: for each function it appears in.)
Source:
#include "confdefs.h"
#include "conffix.h"
#ifdef PETSC_HAVE_STDLIB_H
  #include <stdlib.h>
#endif
#include <mpi.h>

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;
}
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Possible ERROR while running compiler: exit code 256
stderr:
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c: In function 'main':
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:12: error: 'MPI_C_DOUBLE_COMPLEX' undeclared (first use in this function)
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:12: error: (Each undeclared identifier is reported only once
/tmp/petsc-QpUpak/config.packages.MPI/conftest.c:12: error: for each function it appears in.)
Source:
#include "confdefs.h"
#include "conffix.h"
#ifdef PETSC_HAVE_STDLIB_H
  #include <stdlib.h>
#endif
#include <mpi.h>

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;
}
================================================================================
TEST configureMissingPrototypes from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:321)
TESTING: configureMissingPrototypes from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:321)
  Checks for missing prototypes, which it adds to petscfix.h
================================================================================
TEST SGIMPICheck from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:634)
TESTING: SGIMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:634)
  Returns true if SGI MPI is used
              Checking for functions [MPI_SGI_barrier] in library [] []
                Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_SGI_barrier':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPI_SGI_barrier'
collect2: ld returned 1 exit status
                Popping language C
            SGI MPI test failure
================================================================================
TEST CxxMPICheck from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:644)
TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:644)
  Make sure C++ can compile and link
              Pushing language Cxx
Checking for header mpi.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/PETSc.utilities.missing  -g   -fPIC   -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.libraries/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
;
  return 0;
}
Checking for C++ MPI_Finalize()
              Checking for functions [MPI_Finalize] in library [] []
                Pushing language Cxx
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries  -g   -fPIC   -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.libraries/conftest.cc 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
#include <mpi.h>
static void _check_MPI_Finalize() { int ierr;
ierr = MPI_Finalize();; }

int main() {
_check_MPI_Finalize();;
  return 0;
}
                        Pushing language CXX
                        Popping language CXX
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicxx  -o /tmp/petsc-QpUpak/config.libraries/conftest    -g  /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                Popping language Cxx
              Popping language Cxx
================================================================================
TEST FortranMPICheck from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:662)
TESTING: FortranMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:662)
  Make sure fortran include [mpif.h] and library symbols are found
              Pushing language FC
Checking for header mpif.h
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries  -fPIC -g   -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries  -fPIC -g   -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                Popping language FC
Checking for mpi.mod
              Checking for functions [] in library [] []
                Pushing language FC
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpif90 -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/config.libraries  -fPIC -g   -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/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: /share/apps/openmpi-1.5.1-open64/bin/mpif90  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                Popping language FC
              Defined "HAVE_MPI_F90MODULE" to "1"
              Popping language FC
================================================================================
TEST configureIO from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:687)
TESTING: configureIO from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:687)
  Check for the functions in MPI/IO
       - Define HAVE_MPIIO if they are present
       - Some older MPI 1 implementations are missing these
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
MPI_Aint lb, extent;
if (MPI_Type_get_extent(MPI_INT, &lb, &extent));
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

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: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
MPI_File fh;
MPI_Info info;
if (MPI_File_close(&fh));
;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/conftest    -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o  -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
              Defined "HAVE_MPIIO" to "1"
================================================================================
TEST findMPIInc from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:724)
TESTING: findMPIInc from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:724)
  Find MPI include paths from "mpicc -show"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -show
stdout: opencc -I/share/apps/openmpi-1.5.1-open64/include -pthread -L/share/apps/openmpi-1.5.1-open64/lib -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
            compilers: Checking arg opencc
            compilers: Checking arg -I/share/apps/openmpi-1.5.1-open64/include
            compilers: Found include directory: /share/apps/openmpi-1.5.1-open64/include
            compilers: Checking arg -pthread
            compilers: Checking arg -L/share/apps/openmpi-1.5.1-open64/lib
            compilers: Checking arg -lmpi
            compilers: Checking arg -ldl
            compilers: Checking arg -Wl,--export-dynamic
            compilers: Checking arg -lnsl
            compilers: Checking arg -lutil
            compilers: Checking arg -lm
            compilers: Checking arg -ldl
          Checking for functions [MPI_Alltoallw] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Alltoallw();
static void _check_MPI_Alltoallw() { MPI_Alltoallw(); }

int main() {
_check_MPI_Alltoallw();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
          Checking for functions [MPI_Type_create_indexed_block] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Type_create_indexed_block();
static void _check_MPI_Type_create_indexed_block() { MPI_Type_create_indexed_block(); }

int main() {
_check_MPI_Type_create_indexed_block();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
          Defined "HAVE_MPI_ALLTOALLW" to "1"
          Checking for functions [MPI_Win_create] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Win_create();
static void _check_MPI_Win_create() { MPI_Win_create(); }

int main() {
_check_MPI_Win_create();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
            Popping language C
          Defined "HAVE_MPI_WIN_CREATE" to "1"
          Defined "HAVE_MPI_REPLACE" to "1"
                Checking for functions [MPI_Comm_spawn MPI_Type_get_envelope MPI_Type_get_extent MPI_Type_dup MPI_Init_thread MPI_Iallreduce MPI_Ibarrier MPI_Finalized MPI_Exscan] in library [] []
                  Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Comm_spawn();
static void _check_MPI_Comm_spawn() { MPI_Comm_spawn(); }
char MPI_Type_get_envelope();
static void _check_MPI_Type_get_envelope() { MPI_Type_get_envelope(); }
char MPI_Type_get_extent();
static void _check_MPI_Type_get_extent() { MPI_Type_get_extent(); }
char MPI_Type_dup();
static void _check_MPI_Type_dup() { MPI_Type_dup(); }
char MPI_Init_thread();
static void _check_MPI_Init_thread() { MPI_Init_thread(); }
char MPI_Iallreduce();
static void _check_MPI_Iallreduce() { MPI_Iallreduce(); }
char MPI_Ibarrier();
static void _check_MPI_Ibarrier() { MPI_Ibarrier(); }
char MPI_Finalized();
static void _check_MPI_Finalized() { MPI_Finalized(); }
char MPI_Exscan();
static void _check_MPI_Exscan() { MPI_Exscan(); }

int main() {
_check_MPI_Comm_spawn();
_check_MPI_Type_get_envelope();
_check_MPI_Type_get_extent();
_check_MPI_Type_dup();
_check_MPI_Init_thread();
_check_MPI_Iallreduce();
_check_MPI_Ibarrier();
_check_MPI_Finalized();
_check_MPI_Exscan();;
  return 0;
}
                          Pushing language C
                          Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Iallreduce':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:15: undefined reference to `MPI_Iallreduce'
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Ibarrier':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:17: undefined reference to `MPI_Ibarrier'
collect2: ld returned 1 exit status
                  Popping language C
                  Checking for functions [MPI_Comm_spawn MPI_Type_get_envelope MPI_Type_get_extent MPI_Type_dup] in library [] []
                    Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Comm_spawn();
static void _check_MPI_Comm_spawn() { MPI_Comm_spawn(); }
char MPI_Type_get_envelope();
static void _check_MPI_Type_get_envelope() { MPI_Type_get_envelope(); }
char MPI_Type_get_extent();
static void _check_MPI_Type_get_extent() { MPI_Type_get_extent(); }
char MPI_Type_dup();
static void _check_MPI_Type_dup() { MPI_Type_dup(); }

int main() {
_check_MPI_Comm_spawn();
_check_MPI_Type_get_envelope();
_check_MPI_Type_get_extent();
_check_MPI_Type_dup();;
  return 0;
}
                            Pushing language C
                            Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                    Popping language C
                  Checking for functions [MPI_Init_thread MPI_Iallreduce MPI_Ibarrier MPI_Finalized MPI_Exscan] in library [] []
                    Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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_thread();
static void _check_MPI_Init_thread() { MPI_Init_thread(); }
char MPI_Iallreduce();
static void _check_MPI_Iallreduce() { MPI_Iallreduce(); }
char MPI_Ibarrier();
static void _check_MPI_Ibarrier() { MPI_Ibarrier(); }
char MPI_Finalized();
static void _check_MPI_Finalized() { MPI_Finalized(); }
char MPI_Exscan();
static void _check_MPI_Exscan() { MPI_Exscan(); }

int main() {
_check_MPI_Init_thread();
_check_MPI_Iallreduce();
_check_MPI_Ibarrier();
_check_MPI_Finalized();
_check_MPI_Exscan();;
  return 0;
}
                            Pushing language C
                            Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Iallreduce':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:7: undefined reference to `MPI_Iallreduce'
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Ibarrier':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:9: undefined reference to `MPI_Ibarrier'
collect2: ld returned 1 exit status
                    Popping language C
                    Checking for functions [MPI_Init_thread MPI_Iallreduce] in library [] []
                      Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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_thread();
static void _check_MPI_Init_thread() { MPI_Init_thread(); }
char MPI_Iallreduce();
static void _check_MPI_Iallreduce() { MPI_Iallreduce(); }

int main() {
_check_MPI_Init_thread();
_check_MPI_Iallreduce();;
  return 0;
}
                              Pushing language C
                              Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Iallreduce':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:7: undefined reference to `MPI_Iallreduce'
collect2: ld returned 1 exit status
                      Popping language C
                      Checking for functions [MPI_Init_thread] in library [] []
                        Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/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_thread();
static void _check_MPI_Init_thread() { MPI_Init_thread(); }

int main() {
_check_MPI_Init_thread();;
  return 0;
}
                                Pushing language C
                                Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                        Popping language C
                      Checking for functions [MPI_Iallreduce] in library [] []
                        Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Iallreduce();
static void _check_MPI_Iallreduce() { MPI_Iallreduce(); }

int main() {
_check_MPI_Iallreduce();;
  return 0;
}
                                Pushing language C
                                Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Iallreduce':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPI_Iallreduce'
collect2: ld returned 1 exit status
                        Popping language C
                    Checking for functions [MPI_Ibarrier MPI_Finalized MPI_Exscan] in library [] []
                      Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Ibarrier();
static void _check_MPI_Ibarrier() { MPI_Ibarrier(); }
char MPI_Finalized();
static void _check_MPI_Finalized() { MPI_Finalized(); }
char MPI_Exscan();
static void _check_MPI_Exscan() { MPI_Exscan(); }

int main() {
_check_MPI_Ibarrier();
_check_MPI_Finalized();
_check_MPI_Exscan();;
  return 0;
}
                              Pushing language C
                              Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Ibarrier':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPI_Ibarrier'
collect2: ld returned 1 exit status
                      Popping language C
                      Checking for functions [MPI_Ibarrier] in library [] []
                        Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Ibarrier();
static void _check_MPI_Ibarrier() { MPI_Ibarrier(); }

int main() {
_check_MPI_Ibarrier();;
  return 0;
}
                                Pushing language C
                                Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPI_Ibarrier':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPI_Ibarrier'
collect2: ld returned 1 exit status
                        Popping language C
                      Checking for functions [MPI_Finalized] in library [] []
                        Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Finalized();
static void _check_MPI_Finalized() { MPI_Finalized(); }

int main() {
_check_MPI_Finalized();;
  return 0;
}
                                Pushing language C
                                Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                        Popping language C
                      Checking for functions [MPI_Exscan] in library [] []
                        Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPI_Exscan();
static void _check_MPI_Exscan() { MPI_Exscan(); }

int main() {
_check_MPI_Exscan();;
  return 0;
}
                                Pushing language C
                                Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
                        Popping language C
          Defined "HAVE_MPI_COMM_SPAWN" to "1"
          Defined "HAVE_MPI_TYPE_GET_ENVELOPE" to "1"
          Defined "HAVE_MPI_TYPE_GET_EXTENT" to "1"
          Defined "HAVE_MPI_TYPE_DUP" to "1"
          Defined "HAVE_MPI_INIT_THREAD" to "1"
          Defined "HAVE_MPI_FINALIZED" to "1"
          Defined "HAVE_MPI_EXSCAN" to "1"
          Checking for functions [MPIX_Iallreduce] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPIX_Iallreduce();
static void _check_MPIX_Iallreduce() { MPIX_Iallreduce(); }

int main() {
_check_MPIX_Iallreduce();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPIX_Iallreduce':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPIX_Iallreduce'
collect2: ld returned 1 exit status
            Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
int combiner = MPI_COMBINER_DUP;;
  return 0;
}
          Defined "HAVE_MPI_COMBINER_DUP" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

int main() {
int combiner = MPI_COMBINER_CONTIGUOUS;;
  return 0;
}
          Defined "HAVE_MPI_COMBINER_CONTIGUOUS" to "1"
          Checking for functions [MPIDI_CH3I_sock_set] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPIDI_CH3I_sock_set();
static void _check_MPIDI_CH3I_sock_set() { MPIDI_CH3I_sock_set(); }

int main() {
_check_MPIDI_CH3I_sock_set();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPIDI_CH3I_sock_set':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPIDI_CH3I_sock_set'
collect2: ld returned 1 exit status
            Popping language C
          Checking for functions [MPIDI_CH3I_sock_fixed_nbc_progress] in library [] []
            Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char MPIDI_CH3I_sock_fixed_nbc_progress();
static void _check_MPIDI_CH3I_sock_fixed_nbc_progress() { MPIDI_CH3I_sock_fixed_nbc_progress(); }

int main() {
_check_MPIDI_CH3I_sock_fixed_nbc_progress();;
  return 0;
}
                    Pushing language C
                    Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_MPIDI_CH3I_sock_fixed_nbc_progress':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `MPIDI_CH3I_sock_fixed_nbc_progress'
collect2: ld returned 1 exit status
            Popping language C
================================================================================
TEST checkSharedLibrary from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:133)
TESTING: checkSharedLibrary from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:133)
  Sets flag indicating if MPI libraries are shared or not and
    determines if MPI libraries CANNOT be used by shared libraries
================================================================================
TEST configureMPIEXEC from config.packages.MPI(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/packages/MPI.py:146)
TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:146)
  Checking for mpiexec
              Pushing language C
              Popping language C
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mpiexec...found
              Defined make macro "MPIEXEC" to "/share/apps/openmpi-1.5.1-open64/bin/mpiexec"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

#ifdef __cplusplus
extern "C"
#endif
int init(int argc,  char *argv[]) {

  int isInitialized;

  MPI_Init(&argc, &argv);
  MPI_Initialized(&isInitialized);
  return (int) isInitialized;

}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/libconftest.so  -shared  -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o    -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.packages.MPI/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  -I/share/apps/openmpi-1.5.1-open64/include -I/share/apps/openmpi-1.5.1-open64/include /tmp/petsc-QpUpak/config.packages.MPI/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <mpi.h>

#ifdef __cplusplus
extern "C"
#endif
int checkInit(void) {

  int isInitialized;

  MPI_Initialized(&isInitialized);
  if (isInitialized) MPI_Finalize();
  return (int) isInitialized;

}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.packages.MPI/libconftest.so  -shared  -fPIC -g /tmp/petsc-QpUpak/config.packages.MPI/conftest.o    -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"

#include <stdio.h>
#include <stdlib.h>
#ifdef PETSC_HAVE_DLFCN_H
#include <dlfcn.h>
#endif
    

int main() {

  int   argc    = 1;
  char *argv[2] = {(char *) "conftest", NULL};
  void *lib;
  int (*init)(int, char **);
  int (*checkInit)(void);

  lib = dlopen("/tmp/petsc-QpUpak/config.libraries/lib1.so", RTLD_LAZY);
  if (!lib) {
    fprintf(stderr, "Could not open lib1.so: %s\n", dlerror());
    exit(1);
  }
  init = (int (*)(int, char **)) dlsym(lib, "init");
  if (!init) {
    fprintf(stderr, "Could not find initialization function\n");
    exit(1);
  }
  if (!(*init)(argc, argv)) {
    fprintf(stderr, "Could not initialize library\n");
    exit(1);
  }
  lib = dlopen("/tmp/petsc-QpUpak/config.libraries/lib2.so", RTLD_LAZY);
  if (!lib) {
    fprintf(stderr, "Could not open lib2.so: %s\n", dlerror());
    exit(1);
  }
  checkInit = (int (*)(void)) dlsym(lib, "checkInit");
  if (!checkInit) {
    fprintf(stderr, "Could not find initialization check function\n");
    exit(1);
  }
  if (!(*checkInit)()) {
    fprintf(stderr, "Did not link with shared library\n");
    exit(2);
  }
  ;
  return 0;
}
                        Pushing language C
                        Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio -ldl
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpiexec /tmp/petsc-QpUpak/config.libraries/conftest
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpiexec /tmp/petsc-QpUpak/config.libraries/conftest
          Library was shared
      Popping language C
================================================================================
TEST alternateConfigureLibrary from config.packages.cgns(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.cgns(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.boost(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.boost(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.hdf5(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.hdf5(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.netcdf(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.netcdf(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.netcdf-cxx(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.netcdf-cxx(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.MOAB(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.MOAB(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.exodusii(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.exodusii(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.thrust(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.thrust(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.cusp(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.cusp(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.scientificpython(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.scientificpython(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST alternateConfigureLibrary from config.packages.fiat(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:571)
TESTING: alternateConfigureLibrary from config.packages.fiat(config/BuildSystem/config/package.py:571)
  Called if --with-packagename=0; does nothing by default
================================================================================
TEST configureScalarType from PETSc.utilities.scalarTypes(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/scalarTypes.py:38)
TESTING: configureScalarType from PETSc.utilities.scalarTypes(config/PETSc/utilities/scalarTypes.py:38)
  Choose between real and complex numbers
          Defined "USE_SCALAR_REAL" to "1"
        Scalar type is real
          Pushing language C
                      All intermediate test results are stored in /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>

int main() {
double b = 2.0; int a = isnormal(b);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:6: undefined reference to `isnormal'
collect2: ld returned 1 exit status
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>

int main() {
double b = 2.0; int a = isnan(b);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "HAVE_ISNAN" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>

int main() {
double b = 2.0; int a = isinf(b);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
          Defined "HAVE_ISINF" to "1"
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>

int main() {
double b = 2.0;int a = _isnan(b);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:6: undefined reference to `_isnan'
collect2: ld returned 1 exit status
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.libraries -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes  -fPIC -g  /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>

int main() {
double b = 2.0;int a = _finite(b);
;
  return 0;
}
                  Pushing language C
                  Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest    -fPIC -g /tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes/conftest.o: In function `main':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:6: undefined reference to `_finite'
collect2: ld returned 1 exit status
          Popping language C
================================================================================
TEST configurePrecision from PETSc.utilities.scalarTypes(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/scalarTypes.py:78)
TESTING: configurePrecision from PETSc.utilities.scalarTypes(config/PETSc/utilities/scalarTypes.py:78)
  Set the default real number precision for PETSc objects
          Defined "USE_REAL_DOUBLE" to "1"
        Precision is double
================================================================================
TEST configureLibraryOptions from PETSc.utilities.libraryOptions(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/libraryOptions.py:48)
TESTING: configureLibraryOptions from PETSc.utilities.libraryOptions(config/PETSc/utilities/libraryOptions.py:48)
  Sets PETSC_USE_DEBUG, PETSC_USE_INFO, PETSC_USE_LOG, PETSC_USE_CTABLE and PETSC_USE_FORTRAN_KERNELS
          Defined "USE_LOG" to "1"
          Defined "USE_DEBUG" to "1"
          Defined "USE_INFO" to "1"
          Defined "USE_CTABLE" to "1"
          **********Checking if running on BGL/IBM detected
            Checking for functions [bgl_perfctr_void] in library [''] []
              Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes -I/tmp/petsc-QpUpak/config.libraries  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char bgl_perfctr_void();
static void _check_bgl_perfctr_void() { bgl_perfctr_void(); }

int main() {
_check_bgl_perfctr_void();;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_bgl_perfctr_void':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `bgl_perfctr_void'
collect2: ld returned 1 exit status
              Popping language C
            Checking for functions [ADIOI_BGL_Open] in library [''] []
              Pushing language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc -c -o /tmp/petsc-QpUpak/config.libraries/conftest.o -I/tmp/petsc-QpUpak/config.setCompilers -I/tmp/petsc-QpUpak/config.compilers -I/tmp/petsc-QpUpak/config.headers -I/tmp/petsc-QpUpak/PETSc.utilities.cacheDetails -I/tmp/petsc-QpUpak/PETSc.utilities.featureTestMacros -I/tmp/petsc-QpUpak/config.functions -I/tmp/petsc-QpUpak/PETSc.utilities.missing -I/tmp/petsc-QpUpak/config.packages.MPI -I/tmp/petsc-QpUpak/config.types -I/tmp/petsc-QpUpak/PETSc.utilities.scalarTypes -I/tmp/petsc-QpUpak/config.libraries  -fPIC -g  /tmp/petsc-QpUpak/config.libraries/conftest.c 
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char ADIOI_BGL_Open();
static void _check_ADIOI_BGL_Open() { ADIOI_BGL_Open(); }

int main() {
_check_ADIOI_BGL_Open();;
  return 0;
}
                      Pushing language C
                      Popping language C
Executing: /share/apps/openmpi-1.5.1-open64/bin/mpicc  -o /tmp/petsc-QpUpak/config.libraries/conftest    -fPIC -g /tmp/petsc-QpUpak/config.libraries/conftest.o   -Wl,-rpath,/share/apps/openmpi-1.5.1-open64/lib -L/share/apps/openmpi-1.5.1-open64/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -L/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -ldl -lfortran -lmv -lffio -lmpi_cxx -lmpi -lnsl -lutil -lacml_mv -lpthread -lopen64rt -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc/x86_64-redhat-linux/4.2.0 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib/gcc -L/share/apps/open64/open64-gcc-4.2.0/lib/gcc -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib64 -L/share/apps/open64/open64-gcc-4.2.0/lib64 -Wl,-rpath,/share/apps/open64/open64-gcc-4.2.0/lib -L/share/apps/open64/open64-gcc-4.2.0/lib -Wl,-rpath,/share/apps/open64/lib/gcc-lib/x86_64-open64-linux/4.2.4 -lstdc++ -lgcc_s -ldl -lfortran -lmv -lffio
Possible ERROR while running linker: exit code 256
stderr:
/tmp/petsc-QpUpak/config.libraries/conftest.o: In function `_check_ADIOI_BGL_Open':
nami.eng.buffalo.edu:/share/apps/petsc-petsc-7cd361a5361c/conftest.c:5: undefined reference to `ADIOI_BGL_Open'
collect2: ld returned 1 exit status
              Popping language C
          *********BGL/IBM test failure
          Defined "USE_BACKWARD_LOOP" to "1"
          Defined "Alignx(a,b)" to "  "
================================================================================
TEST configureISColorValueType from PETSc.utilities.libraryOptions(/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/utilities/libraryOptions.py:97)
TESTING: configureISColorValueType from PETSc.utilities.libraryOptions(config/PETSc/utilities/libraryOptions.py:97)
  Sets PETSC_IS_COLOR_VALUE_TYPE, MPIU_COLORING_VALUE, IS_COLORING_MAX required by ISColor
          Defined "MPIU_COLORING_VALUE" to "MPI_UNSIGNED_SHORT"
          Defined "IS_COLORING_MAX" to "65535"
          Defined "IS_COLOR_VALUE_TYPE" to "short"
    PETSc clone, checking for Sowing or if it is needed

Checking for program /opt/Pointwise/GridgenV15/bfort...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/bfort...not found
Checking for program /share/apps/hwloc/bin/bfort...not found
Checking for program /share/apps/open64/bin/bfort...not found
Checking for program /usr/java/latest/bin/bfort...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/bfort...not found
Checking for program /share/apps/hwloc/bin/bfort...not found
Checking for program /share/apps/open64/bin/bfort...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/bfort...not found
Checking for program /usr/kerberos/bin/bfort...not found
Checking for program /usr/java/latest/bin/bfort...not found
Checking for program /usr/local/bin/bfort...not found
Checking for program /bin/bfort...not found
Checking for program /usr/bin/bfort...not found
Checking for program /opt/eclipse/bfort...not found
Checking for program /opt/ganglia/bin/bfort...not found
Checking for program /opt/ganglia/sbin/bfort...not found
Checking for program /opt/maui/bin/bfort...not found
Checking for program /opt/torque/bin/bfort...not found
Checking for program /opt/torque/sbin/bfort...not found
Checking for program /opt/rocks/bin/bfort...not found
Checking for program /opt/rocks/sbin/bfort...not found
Checking for program /opt/eclipse/bfort...not found
Checking for program /opt/ganglia/bin/bfort...not found
Checking for program /opt/ganglia/sbin/bfort...not found
Checking for program /opt/maui/bin/bfort...not found
Checking for program /opt/torque/bin/bfort...not found
Checking for program /opt/torque/sbin/bfort...not found
Checking for program /opt/rocks/bin/bfort...not found
Checking for program /opt/rocks/sbin/bfort...not found
Checking for program /home/iman/bin/bfort...not found
Checking for program /home/iman/bfort...not found
Checking for program /share/apps/petsc-petsc-7cd361a5361c/bin/win32fe/bfort...not found
Checking for program /opt/Pointwise/GridgenV15/doctext...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/doctext...not found
Checking for program /share/apps/hwloc/bin/doctext...not found
Checking for program /share/apps/open64/bin/doctext...not found
Checking for program /usr/java/latest/bin/doctext...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/doctext...not found
Checking for program /share/apps/hwloc/bin/doctext...not found
Checking for program /share/apps/open64/bin/doctext...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/doctext...not found
Checking for program /usr/kerberos/bin/doctext...not found
Checking for program /usr/java/latest/bin/doctext...not found
Checking for program /usr/local/bin/doctext...not found
Checking for program /bin/doctext...not found
Checking for program /usr/bin/doctext...not found
Checking for program /opt/eclipse/doctext...not found
Checking for program /opt/ganglia/bin/doctext...not found
Checking for program /opt/ganglia/sbin/doctext...not found
Checking for program /opt/maui/bin/doctext...not found
Checking for program /opt/torque/bin/doctext...not found
Checking for program /opt/torque/sbin/doctext...not found
Checking for program /opt/rocks/bin/doctext...not found
Checking for program /opt/rocks/sbin/doctext...not found
Checking for program /opt/eclipse/doctext...not found
Checking for program /opt/ganglia/bin/doctext...not found
Checking for program /opt/ganglia/sbin/doctext...not found
Checking for program /opt/maui/bin/doctext...not found
Checking for program /opt/torque/bin/doctext...not found
Checking for program /opt/torque/sbin/doctext...not found
Checking for program /opt/rocks/bin/doctext...not found
Checking for program /opt/rocks/sbin/doctext...not found
Checking for program /home/iman/bin/doctext...not found
Checking for program /home/iman/doctext...not found
Checking for program /share/apps/petsc-petsc-7cd361a5361c/bin/win32fe/doctext...not found
Checking for program /opt/Pointwise/GridgenV15/mapnames...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mapnames...not found
Checking for program /share/apps/hwloc/bin/mapnames...not found
Checking for program /share/apps/open64/bin/mapnames...not found
Checking for program /usr/java/latest/bin/mapnames...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mapnames...not found
Checking for program /share/apps/hwloc/bin/mapnames...not found
Checking for program /share/apps/open64/bin/mapnames...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/mapnames...not found
Checking for program /usr/kerberos/bin/mapnames...not found
Checking for program /usr/java/latest/bin/mapnames...not found
Checking for program /usr/local/bin/mapnames...not found
Checking for program /bin/mapnames...not found
Checking for program /usr/bin/mapnames...not found
Checking for program /opt/eclipse/mapnames...not found
Checking for program /opt/ganglia/bin/mapnames...not found
Checking for program /opt/ganglia/sbin/mapnames...not found
Checking for program /opt/maui/bin/mapnames...not found
Checking for program /opt/torque/bin/mapnames...not found
Checking for program /opt/torque/sbin/mapnames...not found
Checking for program /opt/rocks/bin/mapnames...not found
Checking for program /opt/rocks/sbin/mapnames...not found
Checking for program /opt/eclipse/mapnames...not found
Checking for program /opt/ganglia/bin/mapnames...not found
Checking for program /opt/ganglia/sbin/mapnames...not found
Checking for program /opt/maui/bin/mapnames...not found
Checking for program /opt/torque/bin/mapnames...not found
Checking for program /opt/torque/sbin/mapnames...not found
Checking for program /opt/rocks/bin/mapnames...not found
Checking for program /opt/rocks/sbin/mapnames...not found
Checking for program /home/iman/bin/mapnames...not found
Checking for program /home/iman/mapnames...not found
Checking for program /share/apps/petsc-petsc-7cd361a5361c/bin/win32fe/mapnames...not found
Checking for program /opt/Pointwise/GridgenV15/bib2html...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/bib2html...not found
Checking for program /share/apps/hwloc/bin/bib2html...not found
Checking for program /share/apps/open64/bin/bib2html...not found
Checking for program /usr/java/latest/bin/bib2html...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/bib2html...not found
Checking for program /share/apps/hwloc/bin/bib2html...not found
Checking for program /share/apps/open64/bin/bib2html...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/bib2html...not found
Checking for program /usr/kerberos/bin/bib2html...not found
Checking for program /usr/java/latest/bin/bib2html...not found
Checking for program /usr/local/bin/bib2html...not found
Checking for program /bin/bib2html...not found
Checking for program /usr/bin/bib2html...not found
Checking for program /opt/eclipse/bib2html...not found
Checking for program /opt/ganglia/bin/bib2html...not found
Checking for program /opt/ganglia/sbin/bib2html...not found
Checking for program /opt/maui/bin/bib2html...not found
Checking for program /opt/torque/bin/bib2html...not found
Checking for program /opt/torque/sbin/bib2html...not found
Checking for program /opt/rocks/bin/bib2html...not found
Checking for program /opt/rocks/sbin/bib2html...not found
Checking for program /opt/eclipse/bib2html...not found
Checking for program /opt/ganglia/bin/bib2html...not found
Checking for program /opt/ganglia/sbin/bib2html...not found
Checking for program /opt/maui/bin/bib2html...not found
Checking for program /opt/torque/bin/bib2html...not found
Checking for program /opt/torque/sbin/bib2html...not found
Checking for program /opt/rocks/bin/bib2html...not found
Checking for program /opt/rocks/sbin/bib2html...not found
Checking for program /home/iman/bin/bib2html...not found
Checking for program /home/iman/bib2html...not found
Checking for program /share/apps/petsc-petsc-7cd361a5361c/bin/win32fe/bib2html...not found
Checking for program /opt/Pointwise/GridgenV15/pdflatex...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/pdflatex...not found
Checking for program /share/apps/hwloc/bin/pdflatex...not found
Checking for program /share/apps/open64/bin/pdflatex...not found
Checking for program /usr/java/latest/bin/pdflatex...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/pdflatex...not found
Checking for program /share/apps/hwloc/bin/pdflatex...not found
Checking for program /share/apps/open64/bin/pdflatex...not found
Checking for program /share/apps/openmpi-1.5.1-open64/bin/pdflatex...not found
Checking for program /usr/kerberos/bin/pdflatex...not found
Checking for program /usr/java/latest/bin/pdflatex...not found
Checking for program /usr/local/bin/pdflatex...not found
Checking for program /bin/pdflatex...not found
Checking for program /usr/bin/pdflatex...found
        Defined make macro "PDFLATEX" to "/usr/bin/pdflatex"
    Bfort not found. Installing sowing for FortranStubs
        Pushing language C
================================================================================
TEST configureLibrary from PETSc.packages.sowing(/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py:513)
TESTING: configureLibrary from PETSc.packages.sowing(config/BuildSystem/config/package.py:513)
  Find an installation and check if it can work with PETSc
==================================================================================
          Checking for a functional sowing
                  Looking for SOWING in directory starting with sowing
                  Found a copy of SOWING in sowing-1.1.16f
**** Configure header /tmp/petsc-QpUpak/confdefs.h ****
#if !defined(INCLUDED_UNKNOWN)
#define INCLUDED_UNKNOWN

#ifndef IS_COLORING_MAX
#define IS_COLORING_MAX 65535
#endif

#ifndef STDC_HEADERS
#define STDC_HEADERS 1
#endif

#ifndef MPIU_COLORING_VALUE
#define MPIU_COLORING_VALUE MPI_UNSIGNED_SHORT
#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_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_FORTRAN_UNDERSCORE_UNDERSCORE
#define PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE 1
#endif

#ifndef PETSC_HAVE_LIBZ
#define PETSC_HAVE_LIBZ 1
#endif

#ifndef PETSC_HAVE_LIBDL
#define PETSC_HAVE_LIBDL 1
#endif

#ifndef PETSC_HAVE_FENV_H
#define PETSC_HAVE_FENV_H 1
#endif

#ifndef PETSC_HAVE_ERF
#define PETSC_HAVE_ERF 1
#endif

#ifndef PETSC_HAVE_TGAMMA
#define PETSC_HAVE_TGAMMA 1
#endif

#ifndef PETSC_HAVE_LIBRT
#define PETSC_HAVE_LIBRT 1
#endif

#ifndef PETSC_ARCH
#define PETSC_ARCH "linux-gnu-debug"
#endif

#ifndef PETSC_CLANGUAGE_C
#define PETSC_CLANGUAGE_C 1
#endif

#ifndef PETSC_USE_ERRORCHECKING
#define PETSC_USE_ERRORCHECKING 1
#endif

#ifndef PETSC_SIZEOF_MPI_COMM
#define PETSC_SIZEOF_MPI_COMM 8
#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_IPXFARGC_
#define PETSC_HAVE_IPXFARGC_ 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_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 HAVE_GZIP
#define HAVE_GZIP 1
#endif

#ifndef PETSC_HAVE_MPI_COMM_C2F
#define PETSC_HAVE_MPI_COMM_C2F 1
#endif

#ifndef PETSC_HAVE_MPI_COMBINER_CONTIGUOUS
#define PETSC_HAVE_MPI_COMBINER_CONTIGUOUS 1
#endif

#ifndef PETSC_HAVE_MPI_EXSCAN
#define PETSC_HAVE_MPI_EXSCAN 1
#endif

#ifndef PETSC_HAVE_MPI_LONG_DOUBLE
#define PETSC_HAVE_MPI_LONG_DOUBLE 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_TYPE_GET_ENVELOPE
#define PETSC_HAVE_MPI_TYPE_GET_ENVELOPE 1
#endif

#ifndef PETSC_HAVE_MPI_FINALIZED
#define PETSC_HAVE_MPI_FINALIZED 1
#endif

#ifndef PETSC_HAVE_MPI_COMM_SPAWN
#define PETSC_HAVE_MPI_COMM_SPAWN 1
#endif

#ifndef PETSC_HAVE_MPI_TYPE_GET_EXTENT
#define PETSC_HAVE_MPI_TYPE_GET_EXTENT 1
#endif

#ifndef PETSC_HAVE_MPI_COMBINER_DUP
#define PETSC_HAVE_MPI_COMBINER_DUP 1
#endif

#ifndef PETSC_HAVE_MPI_WIN_CREATE
#define PETSC_HAVE_MPI_WIN_CREATE 1
#endif

#ifndef PETSC_HAVE_MPI_REPLACE
#define PETSC_HAVE_MPI_REPLACE 1
#endif

#ifndef PETSC_HAVE_MPI_TYPE_DUP
#define PETSC_HAVE_MPI_TYPE_DUP 1
#endif

#ifndef PETSC_HAVE_MPIIO
#define PETSC_HAVE_MPIIO 1
#endif

#ifndef PETSC_HAVE_MPI_INIT_THREAD
#define PETSC_HAVE_MPI_INIT_THREAD 1
#endif

#ifndef PETSC_HAVE_MPI_ALLTOALLW
#define PETSC_HAVE_MPI_ALLTOALLW 1
#endif

#ifndef PETSC_HAVE_MPI_IN_PLACE
#define PETSC_HAVE_MPI_IN_PLACE 1
#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

#ifndef PETSC_USE_SHARED_LIBRARIES
#define PETSC_USE_SHARED_LIBRARIES 1
#endif

#ifndef PETSC_USE_GDB_DEBUGGER
#define PETSC_USE_GDB_DEBUGGER 1
#endif

#ifndef PETSC_USE_SCALAR_REAL
#define PETSC_USE_SCALAR_REAL 1
#endif

#ifndef PETSC_HAVE_ISINF
#define PETSC_HAVE_ISINF 1
#endif

#ifndef PETSC_HAVE_ISNAN
#define PETSC_HAVE_ISNAN 1
#endif

#ifndef PETSC_USE_REAL_DOUBLE
#define PETSC_USE_REAL_DOUBLE 1
#endif

#ifndef PETSC_USE_INFO
#define PETSC_USE_INFO 1
#endif

#ifndef PETSC_Alignx
#define PETSC_Alignx(a,b)   
#endif

#ifndef PETSC_USE_BACKWARD_LOOP
#define PETSC_USE_BACKWARD_LOOP 1
#endif

#ifndef PETSC_USE_DEBUG
#define PETSC_USE_DEBUG 1
#endif

#ifndef PETSC_USE_LOG
#define PETSC_USE_LOG 1
#endif

#ifndef PETSC_IS_COLOR_VALUE_TYPE
#define PETSC_IS_COLOR_VALUE_TYPE short
#endif

#ifndef PETSC_USE_CTABLE
#define PETSC_USE_CTABLE 1
#endif

#ifndef PETSC__GNU_SOURCE
#define PETSC__GNU_SOURCE 1
#endif

#ifndef PETSC__BSD_SOURCE
#define PETSC__BSD_SOURCE 1
#endif

#ifndef PETSC_MEMALIGN
#define PETSC_MEMALIGN 16
#endif

#ifndef PETSC_LEVEL1_DCACHE_LINESIZE
#define PETSC_LEVEL1_DCACHE_LINESIZE 64
#endif

#ifndef PETSC_LEVEL1_DCACHE_SIZE
#define PETSC_LEVEL1_DCACHE_SIZE 65536
#endif

#ifndef PETSC_LEVEL1_DCACHE_ASSOC
#define PETSC_LEVEL1_DCACHE_ASSOC 2
#endif

#ifndef PETSC_USE_PROC_FOR_SIZE
#define PETSC_USE_PROC_FOR_SIZE 1
#endif

#ifndef PETSC_HAVE_PXFGETARG_NEW
#define PETSC_HAVE_PXFGETARG_NEW 1
#endif

#ifndef PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT
#define PETSC_HAVE_FORTRAN_GET_COMMAND_ARGUMENT 1
#endif

#ifndef PETSC_HAVE_GETARG
#define PETSC_HAVE_GETARG 1
#endif

#endif
**** C specific Configure header /tmp/petsc-QpUpak/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 at mcs.anl.gov)
*******************************************************************************
[Errno 13] Permission denied: '/share/apps/petsc-petsc-7cd361a5361c/linux-gnu-debug/externalpackages/sowing-1.1.16f/sowing'  File "./config/configure.py", line 272, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/framework.py", line 935, in configure
    child.configure()
  File "/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/packages/sowing.py", line 127, in configure
    PETSc.package.NewPackage.configure(self)
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py", line 605, in configure
    self.executeTest(self.configureLibrary)
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/base.py", line 126, in executeTest
    ret = test(*args,**kargs)
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py", line 533, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py", line 266, in generateGuesses
    d = self.checkDownload(1)
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py", line 382, in checkDownload
    return self.getInstallDir()
  File "/share/apps/petsc-petsc-7cd361a5361c/config/BuildSystem/config/package.py", line 221, in getInstallDir
    return os.path.abspath(self.Install())
  File "/share/apps/petsc-petsc-7cd361a5361c/config/PETSc/packages/sowing.py", line 38, in Install
    fd = file(os.path.join(self.packageDir,self.package), 'w')
================================================================================
Finishing Configure Run at Wed Apr 16 14:33:25 2014
================================================================================


More information about the petsc-dev mailing list