Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Fri Jul 18 16:31:23 2014 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 --with-mpiexec=mpiexec --CXXFLAGS=-std=c++11 --with-cxx-dialect=C++11 --download-elemental Working directory: /Users/georgepau/Work/petsc-3.5.0 Machine platform: ('Darwin', 'Macintosh-111.local', '11.4.2', 'Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64', 'x86_64', 'i386') Python version: 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] ================================================================================ 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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/framework.py:823) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:823) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/gdb...not found Checking for program /usr/local/visit/bin/gdb...not found Checking for program /opt/local/bin/gdb...not found Checking for program /opt/local/sbin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /Users/georgepau/bin/dbx...not found Checking for program /usr/local/visit/bin/dbx...not found Checking for program /opt/local/bin/dbx...not found Checking for program /opt/local/sbin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /sbin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /opt/X11/bin/dbx...not found Checking for program /usr/X11/bin/dbx...not found Checking for program /usr/local/share/gcutil-1.4.1/dbx...not found Checking for program /Users/georgepau/.rvm/bin/dbx...not found Checking for program /opt/X11/bin/dbx...not found Checking for program /Users/georgepau/.rvm/bin/dbx...not found Checking for program /Users/georgepau/dbx...not found Checking for program /Users/georgepau/bin/xdb...not found Checking for program /usr/local/visit/bin/xdb...not found Checking for program /opt/local/bin/xdb...not found Checking for program /opt/local/sbin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/sbin/xdb...not found Checking for program /sbin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /opt/X11/bin/xdb...not found Checking for program /usr/X11/bin/xdb...not found Checking for program /usr/local/share/gcutil-1.4.1/xdb...not found Checking for program /Users/georgepau/.rvm/bin/xdb...not found Checking for program /opt/X11/bin/xdb...not found Checking for program /Users/georgepau/.rvm/bin/xdb...not found Checking for program /Users/georgepau/xdb...not found Checking for program /Users/georgepau/bin/dsymutil...not found Checking for program /usr/local/visit/bin/dsymutil...not found Checking for program /opt/local/bin/dsymutil...not found Checking for program /opt/local/sbin/dsymutil...not found Checking for program /usr/bin/dsymutil...found Defined make macro "DSYMUTIL" to "/usr/bin/dsymutil" Defined make macro "DSYMUTIL" to "/usr/bin/dsymutil" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureGit from config.sourceControl(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /Users/georgepau/bin/git...not found Checking for program /usr/local/visit/bin/git...not found Checking for program /opt/local/bin/git...not found Checking for program /opt/local/sbin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 1.7.7.5 (Apple Git-26) ================================================================================ TEST configureMercurial from config.sourceControl(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /Users/georgepau/bin/hg...not found Checking for program /usr/local/visit/bin/hg...not found Checking for program /opt/local/bin/hg...not found Checking for program /opt/local/sbin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /bin/hg...not found Checking for program /usr/sbin/hg...not found Checking for program /sbin/hg...not found Checking for program /usr/local/bin/hg...found Defined make macro "HG" to "hg" Executing: hg version -q stdout: Mercurial Distributed SCM (version 2.2.1+20120504) ================================================================================ TEST configureCVS from config.sourceControl(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /Users/georgepau/bin/cvs...not found Checking for program /usr/local/visit/bin/cvs...not found Checking for program /opt/local/bin/cvs...not found Checking for program /opt/local/sbin/cvs...not found Checking for program /usr/bin/cvs...found Defined make macro "CVS" to "cvs" Executing: cvs --version stdout: Concurrent Versions System (CVS) 1.12.13 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS ================================================================================ TEST configureSubversion from config.sourceControl(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /Users/georgepau/bin/svn...not found Checking for program /usr/local/visit/bin/svn...not found Checking for program /opt/local/bin/svn...not found Checking for program /opt/local/sbin/svn...not found Checking for program /usr/bin/svn...found Defined make macro "SVN" to "svn" Executing: svn --version -q stdout: 1.6.17 ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/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 1 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 5 #define PETSC_VERSION_SUBMINOR 0 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "Jun, 30, 2014" #define PETSC_VERSION_GIT "v3.5-3-gf0a0590" #define PETSC_VERSION_DATE_GIT "2014-06-30 15:05:11 -0500" #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 "/Users/georgepau/Work/petsc-3.5.0" ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscclone(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/petscclone.py:15) TESTING: configureInstallationMethod from PETSc.utilities.petscclone(config/PETSc/utilities/petscclone.py:15) This is a tarball installation ================================================================================ TEST configureETags from PETSc.utilities.Etags(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/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 ""arch-darwin-c-debug"" ================================================================================ TEST setInstallDir from PETSc.utilities.installDir(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/installDir.py:53) TESTING: saveReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:53) ================================================================================ TEST cleanInstallDir from PETSc.utilities.installDir(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/installDir.py:46) TESTING: cleanInstallDir from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:46) ================================================================================ TEST configureInstallDir from PETSc.utilities.installDir(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/Work/petsc-3.5.0/arch-darwin-c-debug/conf ================================================================================ TEST restoreReconfigure from PETSc.utilities.installDir(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/installDir.py:66) TESTING: restoreReconfigure from PETSc.utilities.installDir(config/PETSc/utilities/installDir.py:66) ================================================================================ TEST setExternalPackagesDir from PETSc.utilities.externalpackagesdir(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/externalpackagesdir.py:15) TESTING: setExternalPackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:15) ================================================================================ TEST cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/externalpackagesdir.py:22) TESTING: cleanExternalpackagesDir from PETSc.utilities.externalpackagesdir(config/PETSc/utilities/externalpackagesdir.py:22) ================================================================================ TEST printEnvVariables from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/setCompilers.py:1515) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1515) **** printenv **** rvm_version=1.17.3 (stable) XTERM_SHELL=/bin/bash VERSIONER_PYTHON_PREFER_32_BIT=no rvm_path=/Users/georgepau/.rvm escape_flag=1 CVS_RSH=ssh LOGNAME=georgepau USER=georgepau HOME=/Users/georgepau PATH=/Users/georgepau/bin:/usr/local/visit/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/local/share/gcutil-1.4.1:/Users/georgepau/.rvm/bin:/opt/X11/bin:/Users/georgepau/.rvm/bin DISPLAY=/tmp/launch-HQnlTK/org.macosforge.xquartz:0 TERM=xterm Apple_PubSub_Socket_Render=/tmp/launch-aIEJsu/Render XTERM_VERSION=XTerm(303) VERSIONER_PYTHON_VERSION=2.7 SHLVL=2 __array_start=0 WINDOWID=10485773 _=./configure MANPATH=:/usr/local/gnu/man:/usr/local/tex/man:/usr/local/ncd/man:/usr/local/man:/usr/share/man:/usr/man CVSROOT=:ext:gpau@gamera.lbl.gov:/usr/local/cvsroot rvm_bin_path=/Users/georgepau/.rvm/bin rvm_prefix=/Users/georgepau SSH_AUTH_SOCK=/tmp/launch-XGyl2B/Listeners SHELL=/bin/bash XTERM_LOCALE=C TMPDIR=/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/ _first=0 _second=1 OLDPWD=/Users/georgepau/work __CF_USER_TEXT_ENCODING=0x1F5:0:0 Apple_Ubiquity_Message=/tmp/launch-0VVKyA/Apple_Ubiquity_Message PWD=/Users/georgepau/work/petsc-3.5.0 X11_PREFS_DOMAIN=org.macosforge.xquartz.X11 COMMAND_MODE=unix2003 ================================================================================ TEST resetEnvCompilers from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/setCompilers.py:1522) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1522) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/setCompilers.py:1506) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1506) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/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 -std=c++11 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(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/mpicc...not found Checking for program /usr/local/visit/bin/mpicc...not found Checking for program /opt/local/bin/mpicc...found Defined make macro "CC" to "mpicc" Pushing language C All intermediate test results are stored in /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb All intermediate test results are stored in /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/mpicc...not found Checking for program /usr/local/visit/bin/mpicc...not found Checking for program /opt/local/bin/mpicc...found Defined make macro "CPP" to "mpicc -E" Pushing language C Executing: mpicc -E -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c stdout: # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" 1 # 1 "" 1 # 1 "" 3 # 143 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/confdefs.h" 1 # 2 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conffix.h" 1 # 3 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 61 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/Availability.h" 1 3 4 # 141 "/usr/include/Availability.h" 3 4 # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 # 142 "/usr/include/Availability.h" 2 3 4 # 62 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/_types.h" 1 3 4 # 27 "/usr/include/_types.h" 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 32 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 417 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 418 "/usr/include/sys/cdefs.h" 2 3 4 # 494 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 495 "/usr/include/sys/cdefs.h" 2 3 4 # 33 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 32 "/usr/include/machine/_types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef long __darwin_intptr_t; typedef unsigned int __darwin_natural_t; # 70 "/usr/include/i386/_types.h" 3 4 typedef int __darwin_ct_rune_t; typedef union { char __mbstate8[128]; long long _mbstateL; } __mbstate_t; typedef __mbstate_t __darwin_mbstate_t; typedef long int __darwin_ptrdiff_t; typedef long unsigned int __darwin_size_t; typedef __builtin_va_list __darwin_va_list; typedef int __darwin_wchar_t; typedef __darwin_wchar_t __darwin_rune_t; typedef int __darwin_wint_t; typedef unsigned long __darwin_clock_t; typedef __uint32_t __darwin_socklen_t; typedef long __darwin_ssize_t; typedef long __darwin_time_t; # 33 "/usr/include/machine/_types.h" 2 3 4 # 34 "/usr/include/sys/_types.h" 2 3 4 # 58 "/usr/include/sys/_types.h" 3 4 struct __darwin_pthread_handler_rec { void (*__routine)(void *); void *__arg; struct __darwin_pthread_handler_rec *__next; }; struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; }; # 94 "/usr/include/sys/_types.h" 3 4 typedef __int64_t __darwin_blkcnt_t; typedef __int32_t __darwin_blksize_t; typedef __int32_t __darwin_dev_t; typedef unsigned int __darwin_fsblkcnt_t; typedef unsigned int __darwin_fsfilcnt_t; typedef __uint32_t __darwin_gid_t; typedef __uint32_t __darwin_id_t; typedef __uint64_t __darwin_ino64_t; typedef __darwin_ino64_t __darwin_ino_t; typedef __darwin_natural_t __darwin_mach_port_name_t; typedef __darwin_mach_port_name_t __darwin_mach_port_t; typedef __uint16_t __darwin_mode_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_pid_t; typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; typedef unsigned long __darwin_pthread_key_t; typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; typedef struct _opaque_pthread_t *__darwin_pthread_t; typedef __uint32_t __darwin_sigset_t; typedef __int32_t __darwin_suseconds_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_useconds_t; typedef unsigned char __darwin_uuid_t[16]; typedef char __darwin_uuid_string_t[37]; # 28 "/usr/include/_types.h" 2 3 4 # 39 "/usr/include/_types.h" 3 4 typedef int __darwin_nl_item; typedef int __darwin_wctrans_t; typedef __uint32_t __darwin_wctype_t; # 64 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/sys/wait.h" 1 3 4 # 79 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; typedef __darwin_pid_t pid_t; typedef __darwin_id_t id_t; # 116 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 73 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 # 74 "/usr/include/sys/signal.h" 2 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 32 "/usr/include/machine/signal.h" 3 4 # 1 "/usr/include/i386/signal.h" 1 3 4 # 39 "/usr/include/i386/signal.h" 3 4 typedef int sig_atomic_t; # 55 "/usr/include/i386/signal.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 56 "/usr/include/i386/signal.h" 2 3 4 # 33 "/usr/include/machine/signal.h" 2 3 4 # 82 "/usr/include/sys/signal.h" 2 3 4 # 148 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 57 "/usr/include/sys/_structs.h" 3 4 # 1 "/usr/include/machine/_structs.h" 1 3 4 # 29 "/usr/include/machine/_structs.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 38 "/usr/include/i386/_structs.h" 3 4 # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 # 43 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_thread_state { unsigned int __eax; unsigned int __ebx; unsigned int __ecx; unsigned int __edx; unsigned int __edi; unsigned int __esi; unsigned int __ebp; unsigned int __esp; unsigned int __ss; unsigned int __eflags; unsigned int __eip; unsigned int __cs; unsigned int __ds; unsigned int __es; unsigned int __fs; unsigned int __gs; }; # 89 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_control { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, :2, __pc :2, __rc :2, :1, :3; }; typedef struct __darwin_fp_control __darwin_fp_control_t; # 147 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_status { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, __stkflt :1, __errsumm :1, __c0 :1, __c1 :1, __c2 :1, __tos :3, __c3 :1, __busy :1; }; typedef struct __darwin_fp_status __darwin_fp_status_t; # 191 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_mmst_reg { char __mmst_reg[10]; char __mmst_rsrv[6]; }; # 210 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_xmm_reg { char __xmm_reg[16]; }; # 232 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_float_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; }; struct __darwin_i386_avx_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; }; # 402 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_exception_state { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint32_t __faultvaddr; }; # 422 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state32 { unsigned int __dr0; unsigned int __dr1; unsigned int __dr2; unsigned int __dr3; unsigned int __dr4; unsigned int __dr5; unsigned int __dr6; unsigned int __dr7; }; # 454 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_thread_state64 { __uint64_t __rax; __uint64_t __rbx; __uint64_t __rcx; __uint64_t __rdx; __uint64_t __rdi; __uint64_t __rsi; __uint64_t __rbp; __uint64_t __rsp; __uint64_t __r8; __uint64_t __r9; __uint64_t __r10; __uint64_t __r11; __uint64_t __r12; __uint64_t __r13; __uint64_t __r14; __uint64_t __r15; __uint64_t __rip; __uint64_t __rflags; __uint64_t __cs; __uint64_t __fs; __uint64_t __gs; }; # 509 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_float_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; }; struct __darwin_x86_avx_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; struct __darwin_xmm_reg __fpu_ymmh8; struct __darwin_xmm_reg __fpu_ymmh9; struct __darwin_xmm_reg __fpu_ymmh10; struct __darwin_xmm_reg __fpu_ymmh11; struct __darwin_xmm_reg __fpu_ymmh12; struct __darwin_xmm_reg __fpu_ymmh13; struct __darwin_xmm_reg __fpu_ymmh14; struct __darwin_xmm_reg __fpu_ymmh15; }; # 751 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_exception_state64 { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint64_t __faultvaddr; }; # 771 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state64 { __uint64_t __dr0; __uint64_t __dr1; __uint64_t __dr2; __uint64_t __dr3; __uint64_t __dr4; __uint64_t __dr5; __uint64_t __dr6; __uint64_t __dr7; }; # 39 "/usr/include/i386/_structs.h" 2 3 4 # 48 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_float_state __fs; }; struct __darwin_mcontext_avx32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_avx_state __fs; }; # 86 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_float_state64 __fs; }; struct __darwin_mcontext_avx64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_avx_state64 __fs; }; # 127 "/usr/include/i386/_structs.h" 3 4 typedef struct __darwin_mcontext64 *mcontext_t; # 30 "/usr/include/machine/_structs.h" 2 3 4 # 58 "/usr/include/sys/_structs.h" 2 3 4 # 75 "/usr/include/sys/_structs.h" 3 4 struct __darwin_sigaltstack { void *ss_sp; __darwin_size_t ss_size; int ss_flags; }; # 128 "/usr/include/sys/_structs.h" 3 4 struct __darwin_ucontext { int uc_onstack; __darwin_sigset_t uc_sigmask; struct __darwin_sigaltstack uc_stack; struct __darwin_ucontext *uc_link; __darwin_size_t uc_mcsize; struct __darwin_mcontext64 *uc_mcontext; }; # 218 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_sigaltstack stack_t; # 227 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_ucontext ucontext_t; # 149 "/usr/include/sys/signal.h" 2 3 4 typedef __darwin_pthread_attr_t pthread_attr_t; typedef __darwin_sigset_t sigset_t; typedef __darwin_size_t size_t; typedef __darwin_uid_t uid_t; union sigval { int sival_int; void *sival_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; }; typedef struct __siginfo { int si_signo; int si_errno; int si_code; pid_t si_pid; uid_t si_uid; int si_status; void *si_addr; union sigval si_value; long si_band; unsigned long __pad[7]; } siginfo_t; # 286 "/usr/include/sys/signal.h" 3 4 union __sigaction_u { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); }; struct __sigaction { union __sigaction_u __sigaction_u; void (*sa_tramp)(void *, int, int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; }; struct sigaction { union __sigaction_u __sigaction_u; sigset_t sa_mask; int sa_flags; }; # 348 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 365 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 384 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 407 "/usr/include/sys/signal.h" 3 4 void (*signal(int, void (*)(int)))(int); # 117 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 77 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 100 "/usr/include/sys/_structs.h" 3 4 struct timeval { __darwin_time_t tv_sec; __darwin_suseconds_t tv_usec; }; # 78 "/usr/include/sys/resource.h" 2 3 4 # 89 "/usr/include/sys/resource.h" 3 4 typedef __uint64_t rlim_t; # 151 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 162 "/usr/include/sys/resource.h" 3 4 long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # 222 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 245 "/usr/include/sys/resource.h" 3 4 int getpriority(int, id_t); int getiopolicy_np(int, int) __attribute__((visibility("default"))); int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" ); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setiopolicy_np(int, int, int) __attribute__((visibility("default"))); int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" ); # 118 "/usr/include/sys/wait.h" 2 3 4 # 193 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/machine/endian.h" 1 3 4 # 35 "/usr/include/machine/endian.h" 3 4 # 1 "/usr/include/i386/endian.h" 1 3 4 # 99 "/usr/include/i386/endian.h" 3 4 # 1 "/usr/include/sys/_endian.h" 1 3 4 # 124 "/usr/include/sys/_endian.h" 3 4 # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 static inline __uint16_t _OSSwapInt16( __uint16_t _data ) { return ((_data << 8) | (_data >> 8)); } static inline __uint32_t _OSSwapInt32( __uint32_t _data ) { return __builtin_bswap32(_data); } static inline __uint64_t _OSSwapInt64( __uint64_t _data ) { return __builtin_bswap64(_data); } # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 # 125 "/usr/include/sys/_endian.h" 2 3 4 # 100 "/usr/include/i386/endian.h" 2 3 4 # 36 "/usr/include/machine/endian.h" 2 3 4 # 194 "/usr/include/sys/wait.h" 2 3 4 union wait { int w_status; struct { unsigned int w_Termsig:7, w_Coredump:1, w_Retcode:8, w_Filler:16; } w_T; struct { unsigned int w_Stopval:8, w_Stopsig:8, w_Filler:16; } w_S; }; # 255 "/usr/include/sys/wait.h" 3 4 pid_t wait(int *) __asm("_" "wait" ); pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" ); int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" ); pid_t wait3(int *, int, struct rusage *); pid_t wait4(pid_t, int *, int, struct rusage *); # 66 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 # 36 "/usr/include/alloca.h" 3 4 void *alloca(size_t); # 68 "/usr/include/stdlib.h" 2 3 4 # 81 "/usr/include/stdlib.h" 3 4 typedef __darwin_ct_rune_t ct_rune_t; typedef __darwin_rune_t rune_t; typedef __darwin_wchar_t wchar_t; typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long quot; long long rem; } lldiv_t; # 134 "/usr/include/stdlib.h" 3 4 extern int __mb_cur_max; # 145 "/usr/include/stdlib.h" 3 4 void abort(void) __attribute__((__noreturn__)); int abs(int) __attribute__((__const__)); int atexit(void (*)(void)); double atof(const char *); int atoi(const char *); long atol(const char *); long long atoll(const char *); void *bsearch(const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); void *calloc(size_t, size_t); div_t div(int, int) __attribute__((__const__)); void exit(int) __attribute__((__noreturn__)); void free(void *); char *getenv(const char *); long labs(long) __attribute__((__const__)); ldiv_t ldiv(long, long) __attribute__((__const__)); long long llabs(long long); lldiv_t lldiv(long long, long long); void *malloc(size_t); int mblen(const char *, size_t); size_t mbstowcs(wchar_t * restrict , const char * restrict, size_t); int mbtowc(wchar_t * restrict, const char * restrict, size_t); int posix_memalign(void **, size_t, size_t) __attribute__((visibility("default"))); void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); int rand(void); void *realloc(void *, size_t); void srand(unsigned); double strtod(const char *, char **) __asm("_" "strtod" ); float strtof(const char *, char **) __asm("_" "strtof" ); long strtol(const char *, char **, int); long double strtold(const char *, char **) ; long long strtoll(const char *, char **, int); unsigned long strtoul(const char *, char **, int); unsigned long long strtoull(const char *, char **, int); int system(const char *) __asm("_" "system" ); size_t wcstombs(char * restrict, const wchar_t * restrict, size_t); int wctomb(char *, wchar_t); void _Exit(int) __attribute__((__noreturn__)); long a64l(const char *); double drand48(void); char *ecvt(double, int, int *restrict, int *restrict); double erand48(unsigned short[3]); char *fcvt(double, int, int *restrict, int *restrict); char *gcvt(double, int, char *); int getsubopt(char **, char * const *, char **); int grantpt(int); char *initstate(unsigned, char *, size_t); long jrand48(unsigned short[3]); char *l64a(long); void lcong48(unsigned short[7]); long lrand48(void); char *mktemp(char *); int mkstemp(char *); long mrand48(void); long nrand48(unsigned short[3]); int posix_openpt(int); char *ptsname(int); int putenv(char *) __asm("_" "putenv" ); long random(void); int rand_r(unsigned *); char *realpath(const char * restrict, char * restrict) __asm("_" "realpath" "$DARWIN_EXTSN"); unsigned short *seed48(unsigned short[3]); int setenv(const char *, const char *, int) __asm("_" "setenv" ); void setkey(const char *) __asm("_" "setkey" ); char *setstate(const char *); void srand48(long); void srandom(unsigned); int unlockpt(int); int unsetenv(const char *) __asm("_" "unsetenv" ); # 1 "/usr/include/machine/types.h" 1 3 4 # 35 "/usr/include/machine/types.h" 3 4 # 1 "/usr/include/i386/types.h" 1 3 4 # 78 "/usr/include/i386/types.h" 3 4 typedef signed char int8_t; typedef unsigned char u_int8_t; typedef short int16_t; typedef unsigned short u_int16_t; typedef int int32_t; typedef unsigned int u_int32_t; typedef long long int64_t; typedef unsigned long long u_int64_t; typedef int64_t register_t; typedef __darwin_intptr_t intptr_t; typedef unsigned long uintptr_t; typedef u_int64_t user_addr_t; typedef u_int64_t user_size_t; typedef int64_t user_ssize_t; typedef int64_t user_long_t; typedef u_int64_t user_ulong_t; typedef int64_t user_time_t; typedef int64_t user_off_t; typedef u_int64_t syscall_arg_t; # 36 "/usr/include/machine/types.h" 2 3 4 # 256 "/usr/include/stdlib.h" 2 3 4 typedef __darwin_dev_t dev_t; typedef __darwin_mode_t mode_t; u_int32_t arc4random(void); void arc4random_addrandom(unsigned char * , int ); void arc4random_buf(void * , size_t ) __attribute__((visibility("default"))); void arc4random_stir(void); u_int32_t arc4random_uniform(u_int32_t ) __attribute__((visibility("default"))); int atexit_b(void (^)(void)) __attribute__((visibility("default"))); void *bsearch_b(const void *, const void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((visibility("default"))); char *cgetcap(char *, const char *, int); int cgetclose(void); int cgetent(char **, char **, const char *); int cgetfirst(char **, char **); int cgetmatch(const char *, const char *); int cgetnext(char **, char **); int cgetnum(char *, const char *, long *); int cgetset(const char *); int cgetstr(char *, const char *, char **); int cgetustr(char *, const char *, char **); int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated,visibility("default"))); char *devname(dev_t, mode_t); char *devname_r(dev_t, mode_t, char *buf, int len); char *getbsize(int *, long *); int getloadavg(double [], int); const char *getprogname(void); int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); int heapsort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((visibility("default"))); int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((visibility("default"))); void psort(void *, size_t, size_t, int (*)(const void *, const void *)) __attribute__((visibility("default"))); void psort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((visibility("default"))); void psort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)) __attribute__((visibility("default"))); void qsort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((visibility("default"))); void qsort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)); int radixsort(const unsigned char **, int, const unsigned char *, unsigned); void setprogname(const char *); int sradixsort(const unsigned char **, int, const unsigned char *, unsigned); void sranddev(void); void srandomdev(void); void *reallocf(void *, size_t); long long strtoq(const char *, char **, int); unsigned long long strtouq(const char *, char **, int); extern char *suboptarg; void *valloc(size_t); # 4 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" 2 # 3 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c" Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/nvcc...not found Checking for program /usr/local/visit/bin/nvcc...not found Checking for program /opt/local/bin/nvcc...not found Checking for program /opt/local/sbin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /opt/X11/bin/nvcc...not found Checking for program /usr/X11/bin/nvcc...not found Checking for program /usr/local/share/gcutil-1.4.1/nvcc...not found Checking for program /Users/georgepau/.rvm/bin/nvcc...not found Checking for program /opt/X11/bin/nvcc...not found Checking for program /Users/georgepau/.rvm/bin/nvcc...not found Checking for program /Users/georgepau/nvcc...not found Checking for program /Users/georgepau/Work/petsc-3.5.0/bin/win32fe/nvcc...not found Checking for program /Users/georgepau/bin/nvcc...not found Checking for program /usr/local/visit/bin/nvcc...not found Checking for program /opt/local/bin/nvcc...not found Checking for program /opt/local/sbin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /opt/X11/bin/nvcc...not found Checking for program /usr/X11/bin/nvcc...not found Checking for program /usr/local/share/gcutil-1.4.1/nvcc...not found Checking for program /Users/georgepau/.rvm/bin/nvcc...not found Checking for program /opt/X11/bin/nvcc...not found Checking for program /Users/georgepau/.rvm/bin/nvcc...not found Checking for program /Users/georgepau/nvcc...not found Checking for program /Users/georgepau/Work/petsc-3.5.0/bin/win32fe/nvcc...not found ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/mpicxx...not found Checking for program /usr/local/visit/bin/mpicxx...not found Checking for program /opt/local/bin/mpicxx...found Defined make macro "CXX" to "mpicxx" Pushing language Cxx Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/mpicxx...not found Checking for program /usr/local/visit/bin/mpicxx...not found Checking for program /opt/local/bin/mpicxx...found Defined make macro "CXXCPP" to "mpicxx -E" Pushing language Cxx Executing: mpicxx -E -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc stdout: # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc" # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc" 1 # 1 "" 1 # 1 "" 3 # 148 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/confdefs.h" 1 # 2 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc" 2 # 1 "/usr/include/c++/4.2.1/cstdlib" 1 3 # 48 "/usr/include/c++/4.2.1/cstdlib" 3 # 48 "/usr/include/c++/4.2.1/cstdlib" 3 # 1 "/usr/include/c++/4.2.1/bits/c++config.h" 1 3 # 41 "/usr/include/c++/4.2.1/bits/c++config.h" 3 # 1 "/usr/include/c++/4.2.1/bits/os_defines.h" 1 3 # 61 "/usr/include/c++/4.2.1/bits/os_defines.h" 3 # 1 "/usr/include/unistd.h" 1 3 4 # 71 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/_types.h" 1 3 4 # 27 "/usr/include/_types.h" 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 32 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 417 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 418 "/usr/include/sys/cdefs.h" 2 3 4 # 494 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 495 "/usr/include/sys/cdefs.h" 2 3 4 # 33 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 32 "/usr/include/machine/_types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef long __darwin_intptr_t; typedef unsigned int __darwin_natural_t; # 70 "/usr/include/i386/_types.h" 3 4 typedef int __darwin_ct_rune_t; typedef union { char __mbstate8[128]; long long _mbstateL; } __mbstate_t; typedef __mbstate_t __darwin_mbstate_t; typedef long int __darwin_ptrdiff_t; typedef long unsigned int __darwin_size_t; typedef __builtin_va_list __darwin_va_list; typedef int __darwin_wchar_t; typedef __darwin_wchar_t __darwin_rune_t; typedef int __darwin_wint_t; typedef unsigned long __darwin_clock_t; typedef __uint32_t __darwin_socklen_t; typedef long __darwin_ssize_t; typedef long __darwin_time_t; # 33 "/usr/include/machine/_types.h" 2 3 4 # 34 "/usr/include/sys/_types.h" 2 3 4 # 58 "/usr/include/sys/_types.h" 3 4 struct __darwin_pthread_handler_rec { void (*__routine)(void *); void *__arg; struct __darwin_pthread_handler_rec *__next; }; struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; }; # 94 "/usr/include/sys/_types.h" 3 4 typedef __int64_t __darwin_blkcnt_t; typedef __int32_t __darwin_blksize_t; typedef __int32_t __darwin_dev_t; typedef unsigned int __darwin_fsblkcnt_t; typedef unsigned int __darwin_fsfilcnt_t; typedef __uint32_t __darwin_gid_t; typedef __uint32_t __darwin_id_t; typedef __uint64_t __darwin_ino64_t; typedef __darwin_ino64_t __darwin_ino_t; typedef __darwin_natural_t __darwin_mach_port_name_t; typedef __darwin_mach_port_name_t __darwin_mach_port_t; typedef __uint16_t __darwin_mode_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_pid_t; typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; typedef unsigned long __darwin_pthread_key_t; typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; typedef struct _opaque_pthread_t *__darwin_pthread_t; typedef __uint32_t __darwin_sigset_t; typedef __int32_t __darwin_suseconds_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_useconds_t; typedef unsigned char __darwin_uuid_t[16]; typedef char __darwin_uuid_string_t[37]; # 28 "/usr/include/_types.h" 2 3 4 # 39 "/usr/include/_types.h" 3 4 typedef int __darwin_nl_item; typedef int __darwin_wctrans_t; typedef __uint32_t __darwin_wctype_t; # 72 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/sys/unistd.h" 1 3 4 # 138 "/usr/include/sys/unistd.h" 3 4 struct accessx_descriptor { unsigned int ad_name_offset; int ad_flags; int ad_pad[2]; }; # 73 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/Availability.h" 1 3 4 # 141 "/usr/include/Availability.h" 3 4 # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 # 142 "/usr/include/Availability.h" 2 3 4 # 74 "/usr/include/unistd.h" 2 3 4 typedef __darwin_gid_t gid_t; typedef __darwin_intptr_t intptr_t; typedef __darwin_off_t off_t; typedef __darwin_pid_t pid_t; typedef __darwin_size_t size_t; typedef __darwin_ssize_t ssize_t; typedef __darwin_uid_t uid_t; typedef __darwin_useconds_t useconds_t; # 468 "/usr/include/unistd.h" 3 4 extern "C" { void _exit(int) __attribute__((__noreturn__)); int access(const char *, int); unsigned int alarm(unsigned int); int chdir(const char *); int chown(const char *, uid_t, gid_t); int close(int) __asm("_" "close" ); int dup(int); int dup2(int, int); int execl(const char *, const char *, ...); int execle(const char *, const char *, ...); int execlp(const char *, const char *, ...); int execv(const char *, char * const *); int execve(const char *, char * const *, char * const *); int execvp(const char *, char * const *); pid_t fork(void); long fpathconf(int, int); char *getcwd(char *, size_t); gid_t getegid(void); uid_t geteuid(void); gid_t getgid(void); int getgroups(int, gid_t []); char *getlogin(void); pid_t getpgrp(void); pid_t getpid(void); pid_t getppid(void); uid_t getuid(void); int isatty(int); int link(const char *, const char *); off_t lseek(int, off_t, int); long pathconf(const char *, int); int pause(void) __asm("_" "pause" ); int pipe(int [2]); ssize_t read(int, void *, size_t) __asm("_" "read" ); int rmdir(const char *); int setgid(gid_t); int setpgid(pid_t, pid_t); pid_t setsid(void); int setuid(uid_t); unsigned int sleep(unsigned int) __asm("_" "sleep" ); long sysconf(int); pid_t tcgetpgrp(int); int tcsetpgrp(int, pid_t); char *ttyname(int); int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" ); int unlink(const char *); ssize_t write(int, const void *, size_t) __asm("_" "write" ); } # 545 "/usr/include/unistd.h" 3 4 extern "C" { size_t confstr(int, char *, size_t) __asm("_" "confstr" ); int getopt(int, char * const [], const char *) __asm("_" "getopt" ); extern char *optarg; extern int optind, opterr, optopt; } # 570 "/usr/include/unistd.h" 3 4 extern "C" { void *brk(const void *); int chroot(const char *) ; char *crypt(const char *, const char *); char *ctermid(char *); void encrypt(char *, int) __asm("_" "encrypt" ); int fchdir(int); long gethostid(void); pid_t getpgid(pid_t); pid_t getsid(pid_t); int getdtablesize(void) ; int getpagesize(void) __attribute__((__const__)) ; char *getpass(const char *) ; char *getwd(char *) ; int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" ); int lockf(int, int, off_t) __asm("_" "lockf" ); int nice(int) __asm("_" "nice" ); ssize_t pread(int, void *, size_t, off_t) __asm("_" "pread" ); ssize_t pwrite(int, const void *, size_t, off_t) __asm("_" "pwrite" ); void *sbrk(int); pid_t setpgrp(void) __asm("_" "setpgrp" ); int setregid(gid_t, gid_t) __asm("_" "setregid" ); int setreuid(uid_t, uid_t) __asm("_" "setreuid" ); void swab(const void * , void * , ssize_t); void sync(void); int truncate(const char *, off_t); useconds_t ualarm(useconds_t, useconds_t); int usleep(useconds_t) __asm("_" "usleep" ); pid_t vfork(void); int fsync(int) __asm("_" "fsync" ); int ftruncate(int, off_t); int getlogin_r(char *, size_t); } # 657 "/usr/include/unistd.h" 3 4 extern "C" { int fchown(int, uid_t, gid_t); int gethostname(char *, size_t); ssize_t readlink(const char * , char * , size_t); int setegid(gid_t); int seteuid(uid_t); int symlink(const char *, const char *); } # 1 "/usr/include/sys/select.h" 1 3 4 # 66 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 # 67 "/usr/include/sys/select.h" 2 3 4 # 78 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 88 "/usr/include/sys/_structs.h" 3 4 struct timespec { __darwin_time_t tv_sec; long tv_nsec; }; struct timeval { __darwin_time_t tv_sec; __darwin_suseconds_t tv_usec; }; # 183 "/usr/include/sys/_structs.h" 3 4 extern "C" { typedef struct fd_set { __int32_t fds_bits[((((1024) % ((sizeof(__int32_t) * 8))) == 0) ? ((1024) / ((sizeof(__int32_t) * 8))) : (((1024) / ((sizeof(__int32_t) * 8))) + 1))]; } fd_set; } static inline int __darwin_fd_isset(int _n, const struct fd_set *_p) { return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8)))); } # 79 "/usr/include/sys/select.h" 2 3 4 typedef __darwin_time_t time_t; typedef __darwin_suseconds_t suseconds_t; typedef __darwin_sigset_t sigset_t; # 134 "/usr/include/sys/select.h" 3 4 extern "C" { int pselect(int, fd_set * , fd_set * , fd_set * , const struct timespec * , const sigset_t * ) __asm("_" "pselect" "$1050") ; # 1 "/usr/include/sys/_select.h" 1 3 4 # 39 "/usr/include/sys/_select.h" 3 4 int select(int, fd_set * , fd_set * , fd_set * , struct timeval * ) __asm("_" "select" "$1050") ; # 153 "/usr/include/sys/select.h" 2 3 4 } # 673 "/usr/include/unistd.h" 2 3 4 typedef __darwin_dev_t dev_t; typedef __darwin_mode_t mode_t; typedef __darwin_uuid_t uuid_t; extern "C" { void _Exit(int) __attribute__((__noreturn__)); int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t); int acct(const char *); int add_profil(char *, size_t, unsigned long, unsigned int); void endusershell(void); int execvP(const char *, const char *, char * const *); char *fflagstostr(unsigned long); int getdomainname(char *, int); int getgrouplist(const char *, int, int *, int *); int gethostuuid(uuid_t, const struct timespec *) __attribute__((visibility("default"))); mode_t getmode(const void *, mode_t); int getpeereid(int, uid_t *, gid_t *); int getsgroups_np(int *, uuid_t); char *getusershell(void); int getwgroups_np(int *, uuid_t); int initgroups(const char *, int); int iruserok(unsigned long, int, const char *, const char *); int iruserok_sa(const void *, int, int, const char *, const char *); int issetugid(void); char *mkdtemp(char *); int mknod(const char *, mode_t, dev_t); int mkstemp(char *); int mkstemps(char *, int); char *mktemp(char *); int nfssvc(int, void *); int profil(char *, size_t, unsigned long, unsigned int); int pthread_setugid_np(uid_t, gid_t); int pthread_getugid_np( uid_t *, gid_t *); int rcmd(char **, int, const char *, const char *, const char *, int *); int rcmd_af(char **, int, const char *, const char *, const char *, int *, int); int reboot(int); int revoke(const char *); int rresvport(int *); int rresvport_af(int *, int); int ruserok(const char *, int, const char *, const char *); int setdomainname(const char *, int); int setgroups(int, const gid_t *); void sethostid(long); int sethostname(const char *, int); void setkey(const char *) __asm("_" "setkey" ); int setlogin(const char *); void *setmode(const char *) __asm("_" "setmode" ); int setrgid(gid_t); int setruid(uid_t); int setsgroups_np(int, const uuid_t); void setusershell(void); int setwgroups_np(int, const uuid_t); int strtofflags(char **, unsigned long *, unsigned long *); int swapon(const char *); int syscall(int, ...); int ttyslot(void); int undelete(const char *); int unwhiteout(const char *); void *valloc(size_t); extern char *suboptarg; int getsubopt(char **, char * const *, char **); int fgetattrlist(int,void*,void*,size_t,unsigned int) __attribute__((visibility("default"))); int fsetattrlist(int,void*,void*,size_t,unsigned int) __attribute__((visibility("default"))); int getattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "getattrlist" ); int setattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "setattrlist" ); int exchangedata(const char*,const char*,unsigned int); int getdirentriesattr(int,void*,void*,size_t,unsigned int*,unsigned int*,unsigned int*,unsigned int); # 772 "/usr/include/unistd.h" 3 4 struct fssearchblock; struct searchstate; int searchfs(const char *, struct fssearchblock *, unsigned long *, unsigned int, unsigned int, struct searchstate *); int fsctl(const char *,unsigned long,void*,unsigned int); int ffsctl(int,unsigned long,void*,unsigned int) __attribute__((visibility("default"))); extern int optreset; } # 62 "/usr/include/c++/4.2.1/bits/os_defines.h" 2 3 extern "C" { # 89 "/usr/include/c++/4.2.1/bits/os_defines.h" 3 extern void __dtrace_probe$cxa_runtime$cxa_exception_rethrow$v1(void); extern int __dtrace_isenabled$cxa_runtime$cxa_exception_rethrow$v1(void); extern void __dtrace_probe$cxa_runtime$cxa_exception_throw$v1$766f6964202a(void *); extern int __dtrace_isenabled$cxa_runtime$cxa_exception_throw$v1(void); } # 42 "/usr/include/c++/4.2.1/bits/c++config.h" 2 3 # 1 "/usr/include/c++/4.2.1/bits/cpu_defines.h" 1 3 # 45 "/usr/include/c++/4.2.1/bits/c++config.h" 2 3 # 153 "/usr/include/c++/4.2.1/bits/c++config.h" 3 namespace std { # 165 "/usr/include/c++/4.2.1/bits/c++config.h" 3 } # 50 "/usr/include/c++/4.2.1/cstdlib" 2 3 # 1 "/usr/include/c++/4.2.1/cstddef" 1 3 # 48 "/usr/include/c++/4.2.1/cstddef" 3 # 48 "/usr/include/c++/4.2.1/cstddef" 3 # 1 "/usr/bin/../lib/clang/3.1/include/stddef.h" 1 3 4 # 31 "/usr/bin/../lib/clang/3.1/include/stddef.h" 3 4 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; # 51 "/usr/include/c++/4.2.1/cstddef" 2 3 namespace std { using ::ptrdiff_t; using ::size_t; } # 51 "/usr/include/c++/4.2.1/cstdlib" 2 3 # 71 "/usr/include/c++/4.2.1/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 65 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/sys/wait.h" 1 3 4 # 79 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 95 "/usr/include/sys/wait.h" 3 4 typedef __darwin_id_t id_t; # 116 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 81 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 32 "/usr/include/machine/signal.h" 3 4 # 1 "/usr/include/i386/signal.h" 1 3 4 # 39 "/usr/include/i386/signal.h" 3 4 typedef int sig_atomic_t; # 55 "/usr/include/i386/signal.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 56 "/usr/include/i386/signal.h" 2 3 4 # 33 "/usr/include/machine/signal.h" 2 3 4 # 82 "/usr/include/sys/signal.h" 2 3 4 # 148 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 57 "/usr/include/sys/_structs.h" 3 4 # 1 "/usr/include/machine/_structs.h" 1 3 4 # 29 "/usr/include/machine/_structs.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 38 "/usr/include/i386/_structs.h" 3 4 # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 # 43 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_thread_state { unsigned int __eax; unsigned int __ebx; unsigned int __ecx; unsigned int __edx; unsigned int __edi; unsigned int __esi; unsigned int __ebp; unsigned int __esp; unsigned int __ss; unsigned int __eflags; unsigned int __eip; unsigned int __cs; unsigned int __ds; unsigned int __es; unsigned int __fs; unsigned int __gs; }; # 89 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_control { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, :2, __pc :2, __rc :2, :1, :3; }; typedef struct __darwin_fp_control __darwin_fp_control_t; # 147 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_status { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, __stkflt :1, __errsumm :1, __c0 :1, __c1 :1, __c2 :1, __tos :3, __c3 :1, __busy :1; }; typedef struct __darwin_fp_status __darwin_fp_status_t; # 191 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_mmst_reg { char __mmst_reg[10]; char __mmst_rsrv[6]; }; # 210 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_xmm_reg { char __xmm_reg[16]; }; # 232 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_float_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; }; struct __darwin_i386_avx_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; }; # 402 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_exception_state { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint32_t __faultvaddr; }; # 422 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state32 { unsigned int __dr0; unsigned int __dr1; unsigned int __dr2; unsigned int __dr3; unsigned int __dr4; unsigned int __dr5; unsigned int __dr6; unsigned int __dr7; }; # 454 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_thread_state64 { __uint64_t __rax; __uint64_t __rbx; __uint64_t __rcx; __uint64_t __rdx; __uint64_t __rdi; __uint64_t __rsi; __uint64_t __rbp; __uint64_t __rsp; __uint64_t __r8; __uint64_t __r9; __uint64_t __r10; __uint64_t __r11; __uint64_t __r12; __uint64_t __r13; __uint64_t __r14; __uint64_t __r15; __uint64_t __rip; __uint64_t __rflags; __uint64_t __cs; __uint64_t __fs; __uint64_t __gs; }; # 509 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_float_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; }; struct __darwin_x86_avx_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; struct __darwin_xmm_reg __fpu_ymmh8; struct __darwin_xmm_reg __fpu_ymmh9; struct __darwin_xmm_reg __fpu_ymmh10; struct __darwin_xmm_reg __fpu_ymmh11; struct __darwin_xmm_reg __fpu_ymmh12; struct __darwin_xmm_reg __fpu_ymmh13; struct __darwin_xmm_reg __fpu_ymmh14; struct __darwin_xmm_reg __fpu_ymmh15; }; # 751 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_exception_state64 { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint64_t __faultvaddr; }; # 771 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state64 { __uint64_t __dr0; __uint64_t __dr1; __uint64_t __dr2; __uint64_t __dr3; __uint64_t __dr4; __uint64_t __dr5; __uint64_t __dr6; __uint64_t __dr7; }; # 39 "/usr/include/i386/_structs.h" 2 3 4 # 48 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_float_state __fs; }; struct __darwin_mcontext_avx32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_avx_state __fs; }; # 86 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_float_state64 __fs; }; struct __darwin_mcontext_avx64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_avx_state64 __fs; }; # 127 "/usr/include/i386/_structs.h" 3 4 typedef struct __darwin_mcontext64 *mcontext_t; # 30 "/usr/include/machine/_structs.h" 2 3 4 # 58 "/usr/include/sys/_structs.h" 2 3 4 # 75 "/usr/include/sys/_structs.h" 3 4 struct __darwin_sigaltstack { void *ss_sp; __darwin_size_t ss_size; int ss_flags; }; # 128 "/usr/include/sys/_structs.h" 3 4 struct __darwin_ucontext { int uc_onstack; __darwin_sigset_t uc_sigmask; struct __darwin_sigaltstack uc_stack; struct __darwin_ucontext *uc_link; __darwin_size_t uc_mcsize; struct __darwin_mcontext64 *uc_mcontext; }; # 218 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_sigaltstack stack_t; # 227 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_ucontext ucontext_t; # 149 "/usr/include/sys/signal.h" 2 3 4 typedef __darwin_pthread_attr_t pthread_attr_t; # 175 "/usr/include/sys/signal.h" 3 4 union sigval { int sival_int; void *sival_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; }; typedef struct __siginfo { int si_signo; int si_errno; int si_code; pid_t si_pid; uid_t si_uid; int si_status; void *si_addr; union sigval si_value; long si_band; unsigned long __pad[7]; } siginfo_t; # 286 "/usr/include/sys/signal.h" 3 4 union __sigaction_u { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); }; struct __sigaction { union __sigaction_u __sigaction_u; void (*sa_tramp)(void *, int, int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; }; struct sigaction { union __sigaction_u __sigaction_u; sigset_t sa_mask; int sa_flags; }; # 348 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 365 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 384 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 406 "/usr/include/sys/signal.h" 3 4 extern "C" { void (*signal(int, void (*)(int)))(int); } # 117 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 77 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 78 "/usr/include/sys/resource.h" 2 3 4 # 89 "/usr/include/sys/resource.h" 3 4 typedef __uint64_t rlim_t; # 151 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 162 "/usr/include/sys/resource.h" 3 4 long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # 222 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 244 "/usr/include/sys/resource.h" 3 4 extern "C" { int getpriority(int, id_t); int getiopolicy_np(int, int) __attribute__((visibility("default"))); int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" ); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setiopolicy_np(int, int, int) __attribute__((visibility("default"))); int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" ); } # 118 "/usr/include/sys/wait.h" 2 3 4 # 193 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/machine/endian.h" 1 3 4 # 35 "/usr/include/machine/endian.h" 3 4 # 1 "/usr/include/i386/endian.h" 1 3 4 # 99 "/usr/include/i386/endian.h" 3 4 # 1 "/usr/include/sys/_endian.h" 1 3 4 # 124 "/usr/include/sys/_endian.h" 3 4 # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 static inline __uint16_t _OSSwapInt16( __uint16_t _data ) { return ((_data << 8) | (_data >> 8)); } static inline __uint32_t _OSSwapInt32( __uint32_t _data ) { return __builtin_bswap32(_data); } static inline __uint64_t _OSSwapInt64( __uint64_t _data ) { return __builtin_bswap64(_data); } # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 # 125 "/usr/include/sys/_endian.h" 2 3 4 # 100 "/usr/include/i386/endian.h" 2 3 4 # 36 "/usr/include/machine/endian.h" 2 3 4 # 194 "/usr/include/sys/wait.h" 2 3 4 union wait { int w_status; struct { unsigned int w_Termsig:7, w_Coredump:1, w_Retcode:8, w_Filler:16; } w_T; struct { unsigned int w_Stopval:8, w_Stopsig:8, w_Filler:16; } w_S; }; # 254 "/usr/include/sys/wait.h" 3 4 extern "C" { pid_t wait(int *) __asm("_" "wait" ); pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" ); int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" ); pid_t wait3(int *, int, struct rusage *); pid_t wait4(pid_t, int *, int, struct rusage *); } # 66 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 # 35 "/usr/include/alloca.h" 3 4 extern "C" { void *alloca(size_t); } # 68 "/usr/include/stdlib.h" 2 3 4 # 81 "/usr/include/stdlib.h" 3 4 typedef __darwin_ct_rune_t ct_rune_t; typedef __darwin_rune_t rune_t; # 97 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long quot; long long rem; } lldiv_t; # 134 "/usr/include/stdlib.h" 3 4 extern int __mb_cur_max; # 144 "/usr/include/stdlib.h" 3 4 extern "C" { void abort(void) __attribute__((__noreturn__)); int abs(int) __attribute__((__const__)); int atexit(void (*)(void)); double atof(const char *); int atoi(const char *); Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 /Users/georgepau/bin/mpif90...not found Checking for program /usr/local/visit/bin/mpif90...not found Checking for program /opt/local/bin/mpif90...found Defined make macro "FC" to "mpif90" Pushing language FC Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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(/Users/georgepau/Work/petsc-3.5.0/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: mpicc --help stdout: OVERVIEW: clang "gcc-compatible" driver USAGE: clang [options] OPTIONS: -### Print the commands to run for this compilation --analyze Run the static analyzer --help Display available options --relocatable-pch Build a relocatable precompiled header --serialize-diagnostics Serialize compiler diagnostics to a file -E Only run the preprocessor -ObjC++ Treat source input files as Objective-C++ inputs -ObjC Treat source input files as Objective-C inputs -Qunused-arguments Don't emit warning for unused driver arguments -S Only run preprocess and compilation steps -Wa, Pass the comma separated arguments in to the assembler -Wl, Pass the comma separated arguments in to the linker -Wp, Pass the comma separated arguments in to the preprocessor -Xanalyzer Pass to the static analyzer -Xassembler Pass to the assembler -Xclang Pass to the clang compiler -Xlinker Pass to the linker -Xpreprocessor Pass to the preprocessor -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -c Only run preprocess, compile, and assemble steps -emit-ast Emit Clang AST files for source inputs -emit-llvm Use the LLVM representation for assembler and object files -fcatch-undefined-behavior Generate runtime checks for undefined behavior. -flimit-debug-info Limit debug information produced to reduce size of debug binary -fno-limit-debug-info Do not limit debug information produced to reduce size of debug binary -ftrap-function= Issue call to specified function rather than a trap instruction -o Write output to -pipe Use pipes between commands, when possible -print-file-name= Print the full library path of -print-libgcc-file-name Print the library path for "libgcc.a" -print-prog-name= Print the full program path of -print-search-dirs Print the paths used for finding libraries and programs -rewrite-objc Rewrite Objective-C source to C++ -save-temps Save intermediate compilation results -time Time individual commands -verify Verify output using a verifier. -v Show commands to run and use verbose output -working-directory Resolve file paths relative to the specified directory -x Treat subsequent input files as having type Trying C compiler flag -fPIC Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -fPIC Adding C compiler flag -fPIC Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpicxx --help stdout: OVERVIEW: clang "gcc-compatible" driver USAGE: clang [options] OPTIONS: -### Print the commands to run for this compilation --analyze Run the static analyzer --help Display available options --relocatable-pch Build a relocatable precompiled header --serialize-diagnostics Serialize compiler diagnostics to a file -E Only run the preprocessor -ObjC++ Treat source input files as Objective-C++ inputs -ObjC Treat source input files as Objective-C inputs -Qunused-arguments Don't emit warning for unused driver arguments -S Only run preprocess and compilation steps -Wa, Pass the comma separated arguments in to the assembler -Wl, Pass the comma separated arguments in to the linker -Wp, Pass the comma separated arguments in to the preprocessor -Xanalyzer Pass to the static analyzer -Xassembler Pass to the assembler -Xclang Pass to the clang compiler -Xlinker Pass to the linker -Xpreprocessor Pass to the preprocessor -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -c Only run preprocess, compile, and assemble steps -emit-ast Emit Clang AST files for source inputs -emit-llvm Use the LLVM representation for assembler and object files -fcatch-undefined-behavior Generate runtime checks for undefined behavior. -flimit-debug-info Limit debug information produced to reduce size of debug binary -fno-limit-debug-info Do not limit debug information produced to reduce size of debug binary -ftrap-function= Issue call to specified function rather than a trap instruction -o Write output to -pipe Use pipes between commands, when possible -print-file-name= Print the full library path of -print-libgcc-file-name Print the library path for "libgcc.a" -print-prog-name= Print the full program path of -print-search-dirs Print the paths used for finding libraries and programs -rewrite-objc Rewrite Objective-C source to C++ -save-temps Save intermediate compilation results -time Time individual commands -verify Verify output using a verifier. -v Show commands to run and use verbose output -working-directory Resolve file paths relative to the specified directory -x Treat subsequent input files as having type Trying Cxx compiler flag -fPIC Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -fPIC -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Rejecting Cxx linker flag -fPIC due to clang: warning: argument unused during compilation: '-std=c++11' Rejected Cxx compiler flag -fPIC because linker cannot handle it Popping language Cxx Pushing language FC Executing: mpif90 --help stdout: Usage: gfortran-mp-4.8 [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -save-temps= Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -pie Create a position independent executable -shared Create a shared library -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gfortran-mp-4.8. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying FC compiler flag -fPIC Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid FC linker flag -fPIC Adding FC compiler flag -fPIC Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -fPIC Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/setCompilers.py:1013) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:1013) ================================================================================ TEST checkArchiver from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 Executing: ar -V Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /Users/georgepau/bin/ar...not found Checking for program /usr/local/visit/bin/ar...not found Checking for program /opt/local/bin/ar...found Defined make macro "AR" to "/opt/local/bin/ar" Checking for program /Users/georgepau/bin/ranlib...not found Checking for program /usr/local/visit/bin/ranlib...not found Checking for program /opt/local/bin/ranlib...found Defined make macro "RANLIB" to "/opt/local/bin/ranlib -c" Executing: /opt/local/bin/ar cr /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/libconf1.a /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conf1.o Executing: /opt/local/bin/ranlib -c /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/libconf1.a Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c:6:26: warning: if statement has empty body [-Wempty-body] int b = foo(1); if (b); ^ 1 warning generated. 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: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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: Darwin Checking shared linker mpicc using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] Checking for program /Users/georgepau/bin/mpicc...not found Checking for program /usr/local/visit/bin/mpicc...not found Checking for program /opt/local/bin/mpicc...found Defined make macro "LD_SHARED" to "mpicc" Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -dynamiclib -single_module -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -dynamiclib -single_module Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -undefined dynamic_lookup -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -undefined dynamic_lookup Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -multiply_defined suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -multiply_defined suppress Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C 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: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c:7:8: warning: if statement has empty body [-Wempty-body] if(ret);; ^ 1 warning generated. 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: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -lconftest Using shared linker mpicc with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib Executing: uname -s stdout: Darwin ================================================================================ TEST checkLinkerMac from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/setCompilers.py:1281) TESTING: checkLinkerMac from config.setCompilers(config/BuildSystem/config/setCompilers.py:1281) Tests some Apple Mac specific linker flags Pushing language C Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -Wl,-multiply_defined,suppress Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -Wl,-multiply_defined -Wl,suppress Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -Wl,-commons,use_dylibs Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid C linker flag -Wl,-search_paths_first Popping language C Pushing language Cxx Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Rejecting Cxx linker flag -Wl,-multiply_defined,suppress due to clang: warning: argument unused during compilation: '-std=c++11' Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Rejecting Cxx linker flag -Wl,-multiply_defined -Wl,suppress due to clang: warning: argument unused during compilation: '-std=c++11' Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-commons,use_dylibs -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Rejecting Cxx linker flag -Wl,-commons,use_dylibs due to clang: warning: argument unused during compilation: '-std=c++11' Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-search_paths_first -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Possible ERROR while running linker: stderr: clang: warning: argument unused during compilation: '-std=c++11' Rejecting Cxx linker flag -Wl,-search_paths_first due to clang: warning: argument unused during compilation: '-std=c++11' Popping language Cxx Pushing language FC Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid FC linker flag -Wl,-multiply_defined,suppress Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid FC linker flag -Wl,-multiply_defined -Wl,suppress Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid FC linker flag -Wl,-commons,use_dylibs Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Valid FC linker flag -Wl,-search_paths_first Popping language FC ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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: Darwin Executing: mpicc -V Popping language C Pushing language Cxx Executing: uname -s stdout: Darwin Executing: mpicc -V Popping language Cxx Pushing language FC Executing: uname -s stdout: Darwin Executing: mpicc -V Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {void *chunk = malloc(31); free(chunk); return 0;} Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ================================================================================ TEST checkDynamicLinker from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers Executing: mpicc -E -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conftest.c stdout: # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conftest.c" # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conftest.c" 1 # 1 "" 1 # 1 "" 3 # 143 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conftest.c" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/confdefs.h" 1 # 2 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conftest.c" 2 # 1 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conffix.h" 1 # 3 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 37 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 417 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 418 "/usr/include/sys/cdefs.h" 2 3 4 # 494 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 495 "/usr/include/sys/cdefs.h" 2 3 4 # 38 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/bin/../lib/clang/3.1/include/stdbool.h" 1 3 4 # 41 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/AvailabilityMacros.h" 1 3 4 # 42 "/usr/include/dlfcn.h" 2 3 4 typedef struct dl_info { const char *dli_fname; void *dli_fbase; const char *dli_sname; void *dli_saddr; } Dl_info; extern int dladdr(const void *, Dl_info *); extern int dlclose(void * __handle); extern char * dlerror(void); extern void * dlopen(const char * __path, int __mode); extern void * dlsym(void * __handle, const char * __symbol); extern _Bool dlopen_preflight(const char* __path) ; # 4 "/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries/conftest.o -ldl Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Darwin Checking dynamic linker mpicc using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] Checking for program /Users/georgepau/bin/mpicc...not found Checking for program /usr/local/visit/bin/mpicc...not found Checking for program /opt/local/bin/mpicc...found Defined make macro "DYNAMICLINKER" to "mpicc" Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -dynamiclib -single_module -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -ldl Valid C linker flag -dynamiclib -single_module Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -undefined dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -ldl Valid C linker flag -undefined dynamic_lookup Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -multiply_defined suppress -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -ldl Valid C linker flag -multiply_defined suppress Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -ldl Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c:11:3: warning: implicitly declaring C library function 'printf' with type 'int (const char *, ...)' printf("Could not load symbol\n"); ^ /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c:11:3: note: please include the header or explicitly provide a declaration for 'printf' 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/libconftest.dylib", 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: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -ldl Using dynamic linker mpicc with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib ================================================================================ TEST output from config.setCompilers(/Users/georgepau/Work/petsc-3.5.0/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 "mpicc" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-L" Substituting "CPP" with "mpicc -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "mpicxx" Substituting "CXX_CXXFLAGS" with "" Substituting "CXXFLAGS" with "-std=c++11" Substituting "CXX_LINKER_SLFLAG" with "-L" Substituting "CXXCPP" with "mpicxx -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "mpif90" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-L" Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress" Executing: uname -s stdout: Darwin ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/Users/georgepau/Work/petsc-3.5.0/config/PETSc/utilities/sharedLibraries.py:37) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:37) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/Users/georgepau/Work/petsc-3.5.0/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_darwin" and code [] Defined make macro "SONAME_FUNCTION" to "$(1).$(2).dylib" Defined make macro "SL_LINKER_FUNCTION" to "-dynamiclib -install_name $(call SONAME_FUNCTION,$(1),$(2)) -compatibility_version $(2) -current_version $(3) -single_module -multiply_defined suppress -undefined dynamic_lookup" Defined make macro "BUILDSHAREDLIB" to "yes" Defined "HAVE_SHARED_LIBRARIES" to "1" Defined "USE_SHARED_LIBRARIES" to "1" ================================================================================ TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilerFlags.py:71) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:71) Get the default compiler flags Pushing language C Executing: mpicc --version stdout: Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix getCompilerVersion: mpicc Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Executing: mpicc -show stdout: /usr/bin/clang -I/opt/local/include/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi Defined make macro "MPICC_SHOW" to "/usr/bin/clang -I/opt/local/include/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi" Executing: /usr/bin/clang --help stdout: OVERVIEW: clang "gcc-compatible" driver USAGE: clang [options] OPTIONS: -### Print the commands to run for this compilation --analyze Run the static analyzer --help Display available options --relocatable-pch Build a relocatable precompiled header --serialize-diagnostics Serialize compiler diagnostics to a file -E Only run the preprocessor -ObjC++ Treat source input files as Objective-C++ inputs -ObjC Treat source input files as Objective-C inputs -Qunused-arguments Don't emit warning for unused driver arguments -S Only run preprocess and compilation steps -Wa, Pass the comma separated arguments in to the assembler -Wl, Pass the comma separated arguments in to the linker -Wp, Pass the comma separated arguments in to the preprocessor -Xanalyzer Pass to the static analyzer -Xassembler Pass to the assembler -Xclang Pass to the clang compiler -Xlinker Pass to the linker -Xpreprocessor Pass to the preprocessor -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -c Only run preprocess, compile, and assemble steps -emit-ast Emit Clang AST files for source inputs -emit-llvm Use the LLVM representation for assembler and object files -fcatch-undefined-behavior Generate runtime checks for undefined behavior. -flimit-debug-info Limit debug information produced to reduce size of debug binary -fno-limit-debug-info Do not limit debug information produced to reduce size of debug binary -ftrap-function= Issue call to specified function rather than a trap instruction -o Write output to -pipe Use pipes between commands, when possible -print-file-name= Print the full library path of -print-libgcc-file-name Print the library path for "libgcc.a" -print-prog-name= Print the full program path of -print-search-dirs Print the paths used for finding libraries and programs -rewrite-objc Rewrite Objective-C source to C++ -save-temps Save intermediate compilation results -time Time individual commands -verify Verify output using a verifier. -v Show commands to run and use verbose output -working-directory Resolve file paths relative to the specified directory -x Treat subsequent input files as having type Trying C compiler flag -Wall Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wwrite-strings /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-strict-aliasing Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-strict-aliasing Trying C compiler flag -Wno-unknown-pragmas Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-unknown-pragmas Executing: mpicc -show stdout: /usr/bin/clang -I/opt/local/include/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi Defined make macro "MPICC_SHOW" to "/usr/bin/clang -I/opt/local/include/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi" Trying C compiler flag -g3 Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -g3 Trying C compiler flag -O0 Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -O0 Popping language C Pushing language Cxx Executing: mpicxx --version stdout: Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix getCompilerVersion: mpicxx Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Ignoring default options which were overridden using --CXXFLAGS -std=c++11 Executing: mpicxx -show stdout: /usr/bin/clang++ -I/opt/local/include/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi_cxx -lmpi Defined make macro "MPICXX_SHOW" to "/usr/bin/clang++ -I/opt/local/include/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi_cxx -lmpi" Executing: /usr/bin/clang++ --help stdout: OVERVIEW: clang "gcc-compatible" driver USAGE: clang [options] OPTIONS: -### Print the commands to run for this compilation --analyze Run the static analyzer --help Display available options --relocatable-pch Build a relocatable precompiled header --serialize-diagnostics Serialize compiler diagnostics to a file -E Only run the preprocessor -ObjC++ Treat source input files as Objective-C++ inputs -ObjC Treat source input files as Objective-C inputs -Qunused-arguments Don't emit warning for unused driver arguments -S Only run preprocess and compilation steps -Wa, Pass the comma separated arguments in to the assembler -Wl, Pass the comma separated arguments in to the linker -Wp, Pass the comma separated arguments in to the preprocessor -Xanalyzer Pass to the static analyzer -Xassembler Pass to the assembler -Xclang Pass to the clang compiler -Xlinker Pass to the linker -Xpreprocessor Pass to the preprocessor -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -c Only run preprocess, compile, and assemble steps -emit-ast Emit Clang AST files for source inputs -emit-llvm Use the LLVM representation for assembler and object files -fcatch-undefined-behavior Generate runtime checks for undefined behavior. -flimit-debug-info Limit debug information produced to reduce size of debug binary -fno-limit-debug-info Do not limit debug information produced to reduce size of debug binary -ftrap-function= Issue call to specified function rather than a trap instruction -o Write output to -pipe Use pipes between commands, when possible -print-file-name= Print the full library path of -print-libgcc-file-name Print the library path for "libgcc.a" -print-prog-name= Print the full program path of -print-search-dirs Print the paths used for finding libraries and programs -rewrite-objc Rewrite Objective-C source to C++ -save-temps Save intermediate compilation results -time Time individual commands -verify Verify output using a verifier. -v Show commands to run and use verbose output -working-directory Resolve file paths relative to the specified directory -x Treat subsequent input files as having type Trying Cxx compiler flag -g Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 -g /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -g Trying Cxx compiler flag -O0 Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -O0 Popping language Cxx Pushing language FC Executing: mpif90 --version stdout: GNU Fortran (MacPorts gcc48 4.8.2_2) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING getCompilerVersion: mpif90 GNU Fortran (MacPorts gcc48 4.8.2_2) 4.8.2 Executing: mpif90 -show stdout: /opt/local/bin/gfortran-mp-4.8 -I/opt/local/include/openmpi-mp -Wl,-commons,use_dylibs -Wl,-commons,use_dylibs -I/opt/local/lib/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi_usempi -lmpi_mpifh -lmpi Defined make macro "MPIFC_SHOW" to "/opt/local/bin/gfortran-mp-4.8 -I/opt/local/include/openmpi-mp -Wl,-commons,use_dylibs -Wl,-commons,use_dylibs -I/opt/local/lib/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi_usempi -lmpi_mpifh -lmpi" Executing: /opt/local/bin/gfortran-mp-4.8 --help stdout: Usage: gfortran-mp-4.8 [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -save-temps= Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -pie Create a position independent executable -shared Create a shared library -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gfortran-mp-4.8. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Executing: /opt/local/bin/gfortran-mp-4.8 --version stdout: GNU Fortran (MacPorts gcc48 4.8.2_2) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Executing: /opt/local/bin/gfortran-mp-4.8 --version stdout: GNU Fortran (MacPorts gcc48 4.8.2_2) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Trying FC compiler flag -Wall Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wall Trying FC compiler flag -Wno-unused-variable Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wno-unused-variable Trying FC compiler flag -ffree-line-length-0 Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -ffree-line-length-0 Trying FC compiler flag -Wno-unused-dummy-argument Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wno-unused-dummy-argument Executing: mpif90 -show stdout: /opt/local/bin/gfortran-mp-4.8 -I/opt/local/include/openmpi-mp -Wl,-commons,use_dylibs -Wl,-commons,use_dylibs -I/opt/local/lib/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi_usempi -lmpi_mpifh -lmpi Defined make macro "MPIFC_SHOW" to "/opt/local/bin/gfortran-mp-4.8 -I/opt/local/include/openmpi-mp -Wl,-commons,use_dylibs -Wl,-commons,use_dylibs -I/opt/local/lib/openmpi-mp -Wl,-flat_namespace -L/opt/local/lib/openmpi-mp -lmpi_usempi -lmpi_mpifh -lmpi" Trying FC compiler flag -g Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -g Trying FC compiler flag -O0 Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -O0 Popping language FC ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/Users/georgepau/Work/petsc-3.5.0/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(/Users/georgepau/Work/petsc-3.5.0/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 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c:5:18: warning: unused variable 'x' [-Wunused-variable] float * restrict x;; ^ 1 warning generated. 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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:309) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:309) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/Users/georgepau/Work/petsc-3.5.0/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: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:320) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:320) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkCLibraries from config.compilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:163) TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:163) Determines the libraries needed to link with C Pushing language C Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.7.4 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -lcrt1.10.6.o -L/opt/local/lib/openmpi-mp -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl -flat_namespace -lmpi -lSystem /usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a Popping language C compilers: Checking arg Apple compilers: Unknown arg Apple compilers: Checking arg clang compilers: Unknown arg clang compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 3.1 compilers: Unknown arg 3.1 compilers: Checking arg (tags/Apple/clang-318.0.61) compilers: Unknown arg (tags/Apple/clang-318.0.61) compilers: Checking arg (based compilers: Unknown arg (based compilers: Checking arg on compilers: Unknown arg on compilers: Checking arg LLVM compilers: Unknown arg LLVM compilers: Checking arg 3.1svn) compilers: Unknown arg 3.1svn) compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-apple-darwin11.4.2 compilers: Unknown arg x86_64-apple-darwin11.4.2 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 "/usr/bin/ld" compilers: Unknown arg /usr/bin/ld compilers: Checking arg -demangle compilers: Unknown arg -demangle compilers: Checking arg -dynamic compilers: Unknown arg -dynamic compilers: Checking arg -arch compilers: Unknown arg -arch compilers: Checking arg x86_64 compilers: Unknown arg x86_64 compilers: Checking arg -macosx_version_min compilers: Unknown arg -macosx_version_min compilers: Checking arg 10.7.4 compilers: Unknown arg 10.7.4 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest compilers: Unknown arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest compilers: Checking arg -lcrt1.10.6.o compilers: Skipping system library: -lcrt1.10.6.o compilers: Checking arg -L/opt/local/lib/openmpi-mp compilers: Found library directory: -L/opt/local/lib/openmpi-mp compilers: Checking arg -multiply_defined compilers: Unknown arg -multiply_defined compilers: Checking arg suppress compilers: Unknown arg suppress compilers: Checking arg -multiply_defined compilers: Unknown arg -multiply_defined compilers: Checking arg suppress compilers: Unknown arg suppress compilers: Checking arg -commons compilers: Unknown arg -commons compilers: Checking arg use_dylibs compilers: Unknown arg use_dylibs compilers: Checking arg -search_paths_first compilers: Unknown arg -search_paths_first compilers: Checking arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o compilers: Unknown arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library : -ldl compilers: Checking arg -flat_namespace compilers: Unknown arg -flat_namespace compilers: Checking arg -lmpi compilers: Found library : -lmpi compilers: Checking arg -lSystem compilers: Found library : -lSystem compilers: Checking arg /usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a compilers: Found full library spec: /usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a compilers: Libraries needed to link C code with another linker: ['-L/opt/local/lib/openmpi-mp', '-ldl', '-lmpi', '-lSystem', '/usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a'] compilers: Check that C libraries can be used from Fortran Pushing language FC Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:1327) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1327) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD -MP Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 -MMD -MP /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -std=c++11 -g -O0 -MMD -MP /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 -MMD -MP /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Defined make macro "FC_DEPFLAGS" to "-MMD -MP" Popping language FC ================================================================================ TEST checkRestrict from config.compilers(/Users/georgepau/Work/petsc-3.5.0/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: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.cc:5:17: error: expected ';' at end of declaration float * restrict x;; ^ ; 1 error generated. Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:358) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:358) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" template struct a {}; namespace trouble{ template struct a : public ::a {}; } trouble::a uugh; int main() { ; return 0; } Popping language Cxx compilers: C++ has namespaces Defined "HAVE_CXX_NAMESPACE" to "1" ================================================================================ TEST checkCxxOptionalExtensions from config.compilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:333) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:333) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated 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(/Users/georgepau/Work/petsc-3.5.0/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: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/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(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:412) TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:412) Determines the libraries needed to link with C++ Pushing language Cxx Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: mpicxx -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -v -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Possible ERROR while running linker: stderr: Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix clang: warning: argument unused during compilation: '-std=c++11' "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.7.4 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest -lcrt1.10.6.o -L/opt/local/lib/openmpi-mp -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -L/opt/local/lib/openmpi-mp /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o -ldl -lmpi -lSystem -lclang_rt.osx -ldl -flat_namespace -lmpi_cxx -lmpi -lstdc++ -lSystem /usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a Popping language Cxx compilers: Checking arg Apple compilers: Unknown arg Apple compilers: Checking arg clang compilers: Unknown arg clang compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 3.1 compilers: Unknown arg 3.1 compilers: Checking arg (tags/Apple/clang-318.0.61) compilers: Unknown arg (tags/Apple/clang-318.0.61) compilers: Checking arg (based compilers: Unknown arg (based compilers: Checking arg on compilers: Unknown arg on compilers: Checking arg LLVM compilers: Unknown arg LLVM compilers: Checking arg 3.1svn) compilers: Unknown arg 3.1svn) compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-apple-darwin11.4.2 compilers: Unknown arg x86_64-apple-darwin11.4.2 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 clang: compilers: Unknown arg clang: compilers: Checking arg warning: compilers: Unknown arg warning: compilers: Checking arg argument compilers: Unknown arg argument compilers: Checking arg unused compilers: Unknown arg unused compilers: Checking arg during compilers: Unknown arg during compilers: Checking arg compilation: compilers: Unknown arg compilation: compilers: Checking arg "/usr/bin/ld" compilers: Unknown arg /usr/bin/ld compilers: Checking arg -demangle compilers: Unknown arg -demangle compilers: Checking arg -dynamic compilers: Unknown arg -dynamic compilers: Checking arg -arch compilers: Unknown arg -arch compilers: Checking arg x86_64 compilers: Unknown arg x86_64 compilers: Checking arg -macosx_version_min compilers: Unknown arg -macosx_version_min compilers: Checking arg 10.7.4 compilers: Unknown arg 10.7.4 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest compilers: Unknown arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest compilers: Checking arg -lcrt1.10.6.o compilers: Skipping system library: -lcrt1.10.6.o compilers: Checking arg -L/opt/local/lib/openmpi-mp compilers: Found library directory: -L/opt/local/lib/openmpi-mp compilers: Checking arg -L/usr/bin/../lib/clang/3.1/lib/darwin compilers: Found library directory: -L/usr/lib/clang/3.1/lib/darwin compilers: Checking arg -L/usr/bin/../lib/clang/3.1/lib/darwin compilers: Checking arg -L/opt/local/lib/openmpi-mp compilers: Checking arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o compilers: Unknown arg /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in C++ compilers: Checking arg -lmpi compilers: Found library: -lmpi Library already in C list so skipping in C++ compilers: Checking arg -lSystem compilers: Found library: -lSystem Library already in C list so skipping in C++ compilers: Checking arg -lclang_rt.osx compilers: Found library: -lclang_rt.osx compilers: Checking arg -ldl compilers: Checking arg -flat_namespace compilers: Unknown arg -flat_namespace compilers: Checking arg -lmpi_cxx compilers: Found library: -lmpi_cxx compilers: Checking arg -lmpi compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -lSystem compilers: Checking arg /usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a compilers: Found full library spec: /usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a compilers: Libraries needed to link Cxx code with another linker: ['-L/opt/local/lib/openmpi-mp', '-L/usr/lib/clang/3.1/lib/darwin', '-lclang_rt.osx', '-lmpi_cxx', '-lstdc++', '/usr/bin/../lib/clang/3.1/lib/darwin/libclang_rt.osx.a'] compilers: Check that Cxx libraries can be used from C Pushing language C Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/opt/local/lib/openmpi-mp -L/usr/lib/clang/3.1/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Executing: mpicc -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.libraries -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: mpicc -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/opt/local/lib/openmpi-mp -L/usr/lib/clang/3.1/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/opt/local/lib/openmpi-mp -L/usr/lib/clang/3.1/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Executing: mpif90 -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: mpif90 -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -Wno-unused-dummy-argument -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -L/opt/local/lib/openmpi-mp -L/usr/lib/clang/3.1/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -L/opt/local/lib/openmpi-mp -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/3.1/lib/darwin -L/usr/bin/../lib/clang/3.1/lib/darwin -lclang_rt.osx -ldl Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Executing: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkCxx11 from config.compilers(/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py:373) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:373) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc:4:20: fatal error: 'random' file not found #include ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc:4:20: fatal error: 'random' file not found #include ^ 1 error generated. PETSc Error: No output file produced Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 -std=c++11 /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc:4:20: fatal error: 'random' file not found #include ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag -std=c++11 due to nonzero status from link Rejecting compiler flag -std=c++11 due to /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc:4:20: fatal error: 'random' file not found #include ^ 1 error generated. PETSc Error: No output file produced Executing: mpicxx -c -o /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.o -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers -I/var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.compilers -std=c++11 -g -O0 -std=c++0x /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc:4:20: fatal error: 'random' file not found #include ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include template constexpr T Cubed( T x ) { return x*x*x; } int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag -std=c++0x due to nonzero status from link Rejecting compiler flag -std=c++0x due to /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/config.setCompilers/conftest.cc:4:20: fatal error: 'random' file not found #include ^ 1 error generated. PETSc Error: No output file produced **** Configure header /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 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_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_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "arch-darwin-c-debug" #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 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 #endif **** C specific Configure header /var/folders/6r/n542048s6tl_v4m7jlzsxfbr0000gn/T/petsc-1tddPb/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Could not determine compiler flag for with-cxx-dialect=C++11, use CXXFLAGS ******************************************************************************* File "./config/configure.py", line 272, in petsc_configure framework.configure(out = sys.stdout) File "/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/framework.py", line 935, in configure child.configure() File "/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py", line 1392, in configure self.executeTest(self.checkCxx11) File "/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/Users/georgepau/Work/petsc-3.5.0/config/BuildSystem/config/compilers.py", line 403, in checkCxx11 raise RuntimeError('Could not determine compiler flag for with-cxx-dialect=%s, use CXXFLAGS' % (self.framework.argDB['with-cxx-dialect'])) ================================================================================ Finishing Configure Run at Fri Jul 18 16:31:31 2014 ================================================================================