Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC sh: /bin/sh /Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/packages/config.guess Executing: /bin/sh /Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/packages/config.guess sh: i686-apple-darwin10.4.0 sh: /bin/sh /Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/packages/config.sub i686-apple-darwin10.4.0 Executing: /bin/sh /Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/packages/config.sub i686-apple-darwin10.4.0 sh: i686-apple-darwin10.4.0 ================================================================================ ================================================================================ Starting Configure Run at Wed Sep 15 08:01:45 2010 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-cc="gcc -m32" --with-cxx="g++ -m32" --with-cudacc=nvcc --download-mpich --with-cuda=1 PETSC_ARCH=arch-cuda --with-clanguage=c --with-precision=single --with-cusp=1 --with-thrust=1 --with-fc=0 Working directory: /Users/barrysmith/Src/petsc-dev Machine uname: ('Darwin', 'barry-smiths-macbook-pro.local', '10.4.0', 'Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386', 'i386') Python version: 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] ================================================================================ 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/barrysmith/Src/petsc-dev/config/BuildSystem/config/framework.py:852) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:852) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /usr/local/cuda/bin/gdb...not found Checking for program /Users/barrysmith/bin/gdb...not found Checking for program /usr/local/bin/gdb...not found Checking for program /Applications/MATLAB72/bin/matlab/gdb...not found Checking for program /opt/intel/idb/10.1.017/bin/gdb...not found Checking for program /opt/intel/fc/10.1.017/bin/gdb...not found Checking for program /opt/intel/cc/10.1.017/bin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /usr/local/cuda/bin/dbx...not found Checking for program /Users/barrysmith/bin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /Applications/MATLAB72/bin/matlab/dbx...not found Checking for program /opt/intel/idb/10.1.017/bin/dbx...not found Checking for program /opt/intel/fc/10.1.017/bin/dbx...not found Checking for program /opt/intel/cc/10.1.017/bin/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 /usr/X11/bin/dbx...not found Checking for program /usr/texbin/dbx...not found Checking for program /Users/barrysmith/Src/petsc-dev/bin/dbx...not found Checking for program /usr/X11R6/bin/dbx...not found Checking for program /opt/pgi/osx86/7.2-5/bin/dbx...not found Checking for program /opt/local/bin/dbx...not found Checking for program /Users/barrysmith/dbx...not found Checking for program /usr/local/cuda/bin/xdb...not found Checking for program /Users/barrysmith/bin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /Applications/MATLAB72/bin/matlab/xdb...not found Checking for program /opt/intel/idb/10.1.017/bin/xdb...not found Checking for program /opt/intel/fc/10.1.017/bin/xdb...not found Checking for program /opt/intel/cc/10.1.017/bin/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 /usr/X11/bin/xdb...not found Checking for program /usr/texbin/xdb...not found Checking for program /Users/barrysmith/Src/petsc-dev/bin/xdb...not found Checking for program /usr/X11R6/bin/xdb...not found Checking for program /opt/pgi/osx86/7.2-5/bin/xdb...not found Checking for program /opt/local/bin/xdb...not found Checking for program /Users/barrysmith/xdb...not found Checking for program /usr/local/cuda/bin/dsymutil...not found Checking for program /Users/barrysmith/bin/dsymutil...not found Checking for program /usr/local/bin/dsymutil...not found Checking for program /Applications/MATLAB72/bin/matlab/dsymutil...not found Checking for program /opt/intel/idb/10.1.017/bin/dsymutil...not found Checking for program /opt/intel/fc/10.1.017/bin/dsymutil...not found Checking for program /opt/intel/cc/10.1.017/bin/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 configureCMake from PETSc.utilities.CMake(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/CMake.py:21) TESTING: configureCMake from PETSc.utilities.CMake(config/PETSc/utilities/CMake.py:21) Check various things about cmake Checking for program /usr/local/cuda/bin/cmake...not found Checking for program /Users/barrysmith/bin/cmake...not found Checking for program /usr/local/bin/cmake...not found Checking for program /Applications/MATLAB72/bin/matlab/cmake...not found Checking for program /opt/intel/idb/10.1.017/bin/cmake...not found Checking for program /opt/intel/fc/10.1.017/bin/cmake...not found Checking for program /opt/intel/cc/10.1.017/bin/cmake...not found Checking for program /usr/bin/cmake...not found Checking for program /bin/cmake...not found Checking for program /usr/sbin/cmake...not found Checking for program /sbin/cmake...not found Checking for program /usr/local/bin/cmake...not found Checking for program /usr/X11/bin/cmake...not found Checking for program /usr/texbin/cmake...not found Checking for program /Users/barrysmith/Src/petsc-dev/bin/cmake...not found Checking for program /usr/X11R6/bin/cmake...not found Checking for program /opt/pgi/osx86/7.2-5/bin/cmake...not found Checking for program /opt/local/bin/cmake...not found Checking for program /Users/barrysmith/cmake...not found ================================================================================ TEST configureMake from PETSc.utilities.Make(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/Make.py:21) TESTING: configureMake from PETSc.utilities.Make(config/PETSc/utilities/Make.py:21) Check various things about make Checking for program /usr/local/cuda/bin/make...not found Checking for program /Users/barrysmith/bin/make...not found Checking for program /usr/local/bin/make...not found Checking for program /Applications/MATLAB72/bin/matlab/make...not found Checking for program /opt/intel/idb/10.1.017/bin/make...not found Checking for program /opt/intel/fc/10.1.017/bin/make...not found Checking for program /opt/intel/cc/10.1.017/bin/make...not found Checking for program /usr/bin/make...found Defined make macro "MAKE" to "/usr/bin/make" Checking for program /usr/local/cuda/bin/strings...not found Checking for program /Users/barrysmith/bin/strings...not found Checking for program /usr/local/bin/strings...not found Checking for program /Applications/MATLAB72/bin/matlab/strings...not found Checking for program /opt/intel/idb/10.1.017/bin/strings...not found Checking for program /opt/intel/fc/10.1.017/bin/strings...not found Checking for program /opt/intel/cc/10.1.017/bin/strings...not found Checking for program /usr/bin/strings...found Defined make macro "STRINGS" to "/usr/bin/strings" sh: /usr/bin/strings /usr/bin/make Executing: /usr/bin/strings /usr/bin/make sh: touch: Archive `%s' does not exist touch: `%s' is not a valid archive touch: touch: Member `%s' does not exist in `%s' touch: Bad return code from ar_member_touch on `%s' attempt to use unsupported feature: `%s' ! ARFILENAMES/ *** [%s] Archive member `%s' may be bogus; not deleted *** Archive member `%s' may be bogus; not deleted *** [%s] Deleting file `%s' *** Deleting file `%s' unlink: kill $(MAKE) ${MAKE} # commands to execute (built-in): (from `%s', line %lu): %.*s .SUFFIXES SUFFIXES GNUMAKE MAKEFILEPATH /Developer/Makefiles ARFLAGS CHECKOUT,v +$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@) COFLAGS $(CC) -E $(FC) F77FLAGS $(FFLAGS) LINT lint YACC yacc MAKEINFO makeinfo TEXI2DVI texi2dvi WEAVE weave CWEAVE cweave TANGLE tangle CTANGLE ctangle rm -f LINK.o $(CC) $(LDFLAGS) $(TARGET_ARCH) COMPILE.c $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.c $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.m $(COMPILE.c) LINK.m $(LINK.c) COMPILE.cc $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c COMPILE.C $(COMPILE.cc) COMPILE.cpp LINK.cc $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) LINK.C $(LINK.cc) LINK.cpp YACC.y $(YACC) $(YFLAGS) LEX.l $(LEX) $(LFLAGS) -t YACC.m LEX.m COMPILE.f $(FC) $(FFLAGS) $(TARGET_ARCH) -c LINK.f $(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.F $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.F $(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.r $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c LINK.r $(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH) COMPILE.def $(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH) COMPILE.mod $(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH) COMPILE.p $(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c LINK.p $(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH) LINK.s $(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH) COMPILE.s $(AS) $(ASFLAGS) $(TARGET_MACH) LINK.S $(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH) COMPILE.S $(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c PREPROCESS.S $(CC) -E $(CPPFLAGS) PREPROCESS.F $(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F PREPROCESS.r $(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F LINT.c $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH) OUTPUT_OPTION -o $@ .LIBPATTERNS lib%.so lib%.a $(AR) $(ARFLAGS) $@ $< %.out @rm -f $@ cp $< $@ %.w %.ch $(CTANGLE) $^ $@ %.tex $(CWEAVE) $^ $@ $(CHECKOUT,v) RCS/%,v RCS/% $(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $< SCCS/s.% $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@ .cpp $(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.m) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@ .mod $(COMPILE.mod) -o $@ -e $@ $^ .def.sym $(COMPILE.def) -o $@ $< cat $< >$@ chmod a+x $@ .s.o $(COMPILE.s) -o $@ $< .S.o $(COMPILE.S) -o $@ $< .c.o $(COMPILE.c) $(OUTPUT_OPTION) $< .cc.o $(COMPILE.cc) $(OUTPUT_OPTION) $< .C.o $(COMPILE.C) $(OUTPUT_OPTION) $< .cpp.o $(COMPILE.cpp) $(OUTPUT_OPTION) $< .f.o $(COMPILE.f) $(OUTPUT_OPTION) $< .m.o $(COMPILE.m) $(OUTPUT_OPTION) $< .p.o $(COMPILE.p) $(OUTPUT_OPTION) $< .F.o $(COMPILE.F) $(OUTPUT_OPTION) $< .r.o $(COMPILE.r) $(OUTPUT_OPTION) $< .mod.o $(COMPILE.mod) -o $@ $< .c.ln $(LINT.c) -C$* $< .y.ln $(YACC.y) $< $(LINT.c) -C$* y.tab.c $(RM) y.tab.c .l.ln @$(RM) $*.c $(LEX.l) $< > $*.c $(LINT.c) -i $*.c -o $@ $(RM) $*.c .y.c $(YACC.y) $< mv -f y.tab.c $@ .l.c @$(RM) $@ $(LEX.l) $< > $@ .ym.m $(YACC.m) $< mv -f y.tab.c $@ .lm.m @$(RM) $@ $(LEX.m) $< > $@ .F.f $(PREPROCESS.F) $(OUTPUT_OPTION) $< .r.f $(PREPROCESS.r) $(OUTPUT_OPTION) $< .l.r $(LEX.l) $< > $@ mv -f lex.yy.r $@ .S.s $(PREPROCESS.S) $< > $@ .texinfo.info $(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@ .texi.info .txinfo.info .tex.dvi $(TEX) $< .texinfo.dvi $(TEXI2DVI) $(TEXI2DVI_FLAGS) $< .texi.dvi .txinfo.dvi .w.c $(CTANGLE) $< - $@ .web.p $(TANGLE) $< .w.tex $(CWEAVE) $< - $@ .web.tex $(WEAVE) $< # Directories # %s: could not be stat'd. # %s (device %ld, inode %ld): could not be opened. # %s (device %ld, inode %ld): files, impossibilities so far. impossibilities in %lu directories. unterminated variable reference warning: undefined variable `%.*s' Recursive variable `%s' references itself (eventually) # Files # files hash-table stats: %04d-%02d-%02d %02d:%02d:%02d .%09d # Not a target: %s:%s | %s # Precious file (prerequisite of .PRECIOUS). # Phony target (prerequisite of .PHONY). # Command-line target. # A default, MAKEFILES, or -include/sinclude makefile. # Implicit rule search has been done. # Implicit rule search has not been done. # Implicit/static pattern stem: `%s' # File is an intermediate prerequisite. # Also makes: # Modification time never checked. # File does not exist. # File is very old. # Last modified %s # File has been updated. # File has not been updated. # Commands currently running (THIS IS A BUG). # Dependencies commands running (THIS IS A BUG). # Successfully updated. question_flag /SourceCache/gnumake/gnumake-126.2/make/file.c # Needs to be updated (-q is set). # Failed to be updated. # Invalid value in `update_status' member! # Invalid value in `command_state' member! Current time %s: Timestamp out of range; substituting %s *** Deleting intermediate file `%s' Removing intermediate files... Commands were specified for file `%s' at %s:%lu, Commands for file `%s' were found by implicit rule search, but `%s' is now considered the same file as `%s'. Commands for `%s' will be ignored in favor of those for `%s'. can't rename single-colon `%s' to double-colon `%s' can't rename double-colon `%s' to single-colon `%s' *name != '\0' .PRECIOUS .LOW_RESOLUTION_TIME .PHONY .INTERMEDIATE .SECONDARY .EXPORT_ALL_VARIABLES .IGNORE .SILENT .POSIX .NOTPARALLEL print_file enter_file lookup_file undefined recursive simple insufficient number of arguments (%d) to function `%s' unimplemented on this platform: function `%s' default environment file environment override command line automatic addprefix basename suffix %s:%lu: pipe fork Cleaning up temporary batch file %s filter %s: '%s' non-numeric first argument to `wordlist' function non-numeric second argument to `wordlist' function invalid first argument to `wordlist' function: `%d' non-numeric first argument to `word' function first argument to `word' function must be greater than 0 unterminated call to function `%s': missing `%c' Internal error: func_error: '%s' abspath addsuffix notdir subst filter-out findstring firstword flavor join lastword patsubst realpath shell sort strip wildcard word wordlist words origin foreach call info error warning value eval POSIXLY_CORRECT %s: option `%s' is ambiguous %s: option `--%s' doesn't allow an argument %s: option `%c%s' doesn't allow an argument %s: option `%s' requires an argument %s: unrecognized option `--%s' %s: unrecognized option `%c%s' %s: illegal option -- %c %s: invalid option -- %c %s: option requires an argument -- %c %s: option `-W %s' is ambiguous %s: option `-W %s' doesn't allow an argument Avoiding implicit rule recursion. Trying pattern rule with stem `%.*s'. Rejecting impossible implicit prerequisite `%s'. Rejecting impossible rule prerequisite `%s'. Trying implicit prerequisite `%s'. Trying rule prerequisite `%s'. Found prerequisite `%s' as VPATH `%s' Looking for a rule with intermediate file `%s'. Looking for an implicit rule for `%s'. Looking for archive-member implicit rule for `%s'. %s: Command not found %s: Shell program not found execvp: INTERNAL: Freeing child 0x%08lx (%s) but no tokens left! write jobserver Released token for child 0x%08lx (%s). [%s] Error %d (ignored) *** [%s] Error %d (core dumped) *** [%s] %s%s ap <= end /SourceCache/gnumake/gnumake-126.2/make/job.c -ec -c %s (line %d) Bad shell context (!unixy && !batch_mode_shell) $(SHELL) $(IFS) cp %p %c /bin/sh %s: %s /usr/bin/false cannot enforce load limits on this operating system getloadavg cannot enforce load limit: Estimated system load = %f (actual = %f) (max requested = %f) (remote) Putting child 0x%08lx (%s) PID %ld%s on the chain. f->command_state == cs_finished *** Waiting for unfinished jobs.... Live child 0x%08lx (%s) PID %ld %s remote_status wait Reaping losing child 0x%08lx PID %ld %s Reaping winning child 0x%08lx PID %ld %s Cleaning up temp batch file %s .DELETE_ON_ERROR Removing child 0x%08lx PID %ld%s from chain. don't Need a job token; we %shave children Duplicate the job FD INTERNAL: no children as we go to sleep on read Obtained token for child 0x%08lx (%s). read jobs pipe Read returned EBADF. construct_command_argv_internal break case continue exec exit export login logout read readonly shift switch test times trap umask while start_waiting_job %s: Entering an unknown directory %s: Leaving an unknown directory %s: Entering directory `%s' %s: Leaving directory `%s' %s[%u]: Entering an unknown directory %s[%u]: Leaving an unknown directory %s[%u]: Entering directory `%s' %s[%u]: Leaving directory `%s' %sGNU Make %s %sCopyright (C) 2006 Free Software Foundation, Inc. %sThis is free software; see the source for copying conditions. %sThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A %sPARTICULAR PURPOSE. %sThis program built for %s %sThis program built for %s (%s) # Make data base, printed on %s # Finished Make data base on %s INTERNAL: Exiting with %u jobserver tokens (should be 0)! write INTERNAL: Exiting with %u jobserver tokens available; should be %u! empty string invalid as file name MAKECMDGOALS the `-%c' option requires a non-empty string argument the `-%c' option requires a positive integral argument Usage: %s [options] [target] ... This program built for %s This program built for %s (%s) Report bugs to MFLAGS MAKEFLAGS make getcwd .VARIABLES target-specific order-only second-expansion else-if .FEATURES archives jobserver check-symlink MAKE_RESTARTS vpath quiet makefiles errexit Unrecognized flag `%s'. unknown debug level specification `%s' MAKE_COMMAND $(MAKE_COMMAND) MAKE -*-command-variables-*- ${-*-command-variables-*-} MAKEOVERRIDES MAKELEVEL CURDIR Makefile from standard input specified twice. TMPDIR /var/tmp/ fopen (temporary file) fwrite (temporary file) .DEFAULT internal error: multiple --jobserver-fds options %d,%d internal error: invalid --jobserver-fds string `%s' warning: -jN forced in submake: disabling jobserver mode. dup jobserver warning: jobserver unavailable: using -j1. Add `+' to parent make rule. creating jobs pipe init jobserver pipe Updating makefiles.... Makefile `%s' might loop; not remaking it. Failed to remake makefile `%s'. Included makefile `%s' was not found. Makefile `%s' was not found chdir Re-executing[%u]: %s=%u MAKE_RESTARTS= MAKE_RESTARTS=%u BOGUS_UPDATE_STATUS /SourceCache/gnumake/gnumake-126.2/make/main.c unlink (temporary file): .DEFAULT_GOAL contains more than one target No targets specified and no makefile found No targets Updating goal targets.... warning: Clock skew detected. Your build may be incomplete. Couldn't change back to original directory. main always-make directory basic debug environment-overrides help ignore-errors include-dir jobs jobserver-fds keep-going load-average check-symlink-times just-print old-file print-data-base question no-builtin-rules no-builtin-variables silent no-keep-going touch version print-directory no-print-directory what-if warn-undefined-variables NeXT-option stop new-file assume-new assume-old max-load dry-run recon Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from commands. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any commands; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -p, --print-data-base Print make's internal database. -q, --question Run no commands; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo commands. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. -N OPTION, --NeXT-option=OPTION Turn on value of NeXT OPTION. %s:%lu: *** %s: *** %s[%u]: *** . Stop. %s: %s[%u]: write error: %s write error %s%s: %s $(HOME) HOME .INCLUDE_DIRS warning: NUL character seen; rest of line ignored virtual memory exhausted prerequisites cannot be defined in command scripts .SECONDEXPANSION mixed implicit and static pattern rules mixed implicit and normal rules target `%s' doesn't match the target pattern target file `%s' has both : and :: entries target `%s' given more than once in the same rule. warning: overriding commands for target `%s' warning: ignoring old commands for target `%s' ifdef ifndef ifeq ifneq else endif Extraneous text after `%s' directive extraneous `%s' only one `else' per conditional define endef Extraneous text after `endef' directive missing `endef', unterminated `define' invalid syntax in conditional extraneous `endef' empty variable name override empty `override' directive invalid `override' directive unexport include -include sinclude commands commence before first target missing rule before commands (did you mean TAB instead of 8 spaces?) missing separator%s *p2 != '\0' /SourceCache/gnumake/gnumake-126.2/make/read.c v != 0 Malformed target-specific variable definition missing target pattern multiple target patterns target pattern contains no `%%' .DEFAULT_GOAL missing `endif' Reading makefile `%s' (no default goal) (search path) (don't care) (no ~ expansion) MAKEFILE_LIST Reading makefiles... $(MAKEFILES) /usr/include /usr/gnu/include /usr/local/include eval record_target_var GNUmakefile Makefile stat: lstat: readlink: %sNo rule to make target `%s'%s %sNo rule to make target `%s', needed by `%s'%s *** $(strip $(.LIBPATTERNS)) .LIBPATTERNS element `%s' is not a pattern %s/%s Warning: File `%s' has modification time %.2g s in the future touch %s touch: open: touch: fstat: touch: read: touch: lseek: touch: write: Pruning file `%s'. Considering target file `%s'. Recently tried and failed to update file `%s'. File `%s' was considered already. Still updating file `%s'. Finished updating file `%s'. File `%s' does not exist. Found an implicit rule for `%s'. No implicit rule found for `%s'. Using default commands for `%s'. Circular %s <- %s dependency dropped. Finished prerequisites of target file `%s'. The prerequisites of `%s' are being made. Giving up on target file `%s'. Target `%s' not remade because of errors. Prerequisite `%s' is order-only for target `%s'. Prerequisite `%s' of target `%s' does not exist. Prerequisite `%s' is newer than target `%s'. Target `%s' is double-colon and has no prerequisites. No commands for `%s' and no prerequisites actually changed. Making `%s' due to always-make flag. No need to remake target `%s' ; using VPATH name `%s' Must remake target `%s'. Ignoring VPATH name `%s'. Commands of `%s' are being run. Failed to remake target file `%s'. Successfully remade target file `%s'. Target file `%s' needs remade under -q. file->update_status >= 0 && file->update_status <= 2 /SourceCache/gnumake/gnumake-126.2/make/remake.c Prerequisite `%s' is older than target `%s'. `%s' is up to date. Nothing to be done for `%s'. /lib /usr/lib update_file_1 # Implicit Rules # No implicit rules. # %u implicit rules, %u (%.1f%%) terminal. BUG: num_pattern_rules wrong! %u != %u (%.o) %s # of strings in strcache: %d %s # of strcache buffers: %d %s strcache size: total = %d / max = %d / min = %d / avg = %d %s strcache free: total = %d / max = %d / min = %d / avg = %d best->bytesfree > len /SourceCache/gnumake/gnumake-126.2/make/strcache.c add_string makefile environment under -e `override' directive (from `%s', line %lu) define %s endef %s %s= $(subst ,,%s) # variable set hash-table stats: # Variables # Pattern-specific Variable Values %s : # No pattern-specific variable values. # %u pattern-specific variable values current_variable_set_list->next != NULL /SourceCache/gnumake/gnumake-126.2/make/variable.c USE_APPLE_PB_SUPPORT %s%s%s MAKE_VERSION SHELL MAKEFILES $(patsubst %/,%,$(dir $@)) $(patsubst %/,%,$(dir $%)) $(patsubst %/,%,$(dir $*)) $(patsubst %/,%,$(dir $<)) $(patsubst %/,%,$(dir $?)) $(patsubst %/,%,$(dir $^)) $(patsubst %/,%,$(dir $+)) $(notdir $@) $(notdir $%) $(notdir $*) $(notdir $<) $(notdir $?) $(notdir $^) $(notdir $+) pop_variable_scope 3.81 i386-apple-darwin10.0 # VPATH Search Paths vpath %s %s%c # No `vpath' search paths. # %u `vpath' search paths. # No general (`VPATH' variable) search path. # General (`VPATH' variable) search path: $(strip $(VPATH)) $(strip $(GPATH)) Load=%ld/%ld=%.0f%%, Rehash=%d, Collisions=%ld/%ld=%.0f%% can't allocate %ld bytes for hash table: memory exhausted $(VPATH) Can't do VPATH expansion on a null file. =|^();&<>*?[]:$`'"\ Using old-style VPATH substitution. Consider using automatic variable substitution instead. next != NULL /SourceCache/gnumake/gnumake-126.2/make/glob/glob.c glob alnum alpha blank cntrl digit graph lower print punct space upper xdigit .out .a .ln .o .c .cc .C .cpp .p .f .F .m .r .y .l .ym .lm .s .S .mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo .w .ch .web .sh .elc .el /bin/sh #;"*?[]&|<>(){}$`^~! Defined make macro "OMAKE " to "/usr/bin/make --no-print-directory" Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC} ${SOBJSC})" and code [] Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF} ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/languages.py:45) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:45) Choose between C and C++ bindings ================================================================================ TEST configureLanguageSupport from PETSc.utilities.languages(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/languages.py:51) TESTING: configureLanguageSupport from PETSc.utilities.languages(config/PETSc/utilities/languages.py:51) Check c-support c++-support and other misc tests Allowing C++ name mangling C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureExternC from PETSc.utilities.languages(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/languages.py:68) TESTING: configureExternC from PETSc.utilities.languages(config/PETSc/utilities/languages.py:68) Protect C bindings from C++ mangling Defined "USE_EXTERN_CXX" to " " ================================================================================ TEST configureFortranLanguage from PETSc.utilities.languages(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/languages.py:74) TESTING: configureFortranLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:74) Turn on Fortran bindings Using Fortran ================================================================================ TEST configureMkdir from config.programs(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/programs.py:21) TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:21) Make sure we can have mkdir automatically make intermediate directories Checking for program /usr/local/cuda/bin/mkdir...not found Checking for program /Users/barrysmith/bin/mkdir...not found Checking for program /usr/local/bin/mkdir...not found Checking for program /Applications/MATLAB72/bin/matlab/mkdir...not found Checking for program /opt/intel/idb/10.1.017/bin/mkdir...not found Checking for program /opt/intel/fc/10.1.017/bin/mkdir...not found Checking for program /opt/intel/cc/10.1.017/bin/mkdir...not found Checking for program /usr/bin/mkdir...not found Checking for program /bin/mkdir...found sh: /bin/mkdir -p .conftest/tmp Executing: /bin/mkdir -p .conftest/tmp sh: Adding -p flag to /bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/bin/mkdir -p" ================================================================================ TEST configurePrograms from config.programs(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/programs.py:43) TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:43) Check for the programs needed to build and run PETSc Checking for program /usr/local/cuda/bin/sh...not found Checking for program /Users/barrysmith/bin/sh...not found Checking for program /usr/local/bin/sh...not found Checking for program /Applications/MATLAB72/bin/matlab/sh...not found Checking for program /opt/intel/idb/10.1.017/bin/sh...not found Checking for program /opt/intel/fc/10.1.017/bin/sh...not found Checking for program /opt/intel/cc/10.1.017/bin/sh...not found Checking for program /usr/bin/sh...not found Checking for program /bin/sh...found Defined make macro "SHELL" to "/bin/sh" Checking for program /usr/local/cuda/bin/sed...not found Checking for program /Users/barrysmith/bin/sed...not found Checking for program /usr/local/bin/sed...not found Checking for program /Applications/MATLAB72/bin/matlab/sed...not found Checking for program /opt/intel/idb/10.1.017/bin/sed...not found Checking for program /opt/intel/fc/10.1.017/bin/sed...not found Checking for program /opt/intel/cc/10.1.017/bin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" sh: /usr/bin/sed -i s/sed/sd/g "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/sed1" Executing: /usr/bin/sed -i s/sed/sd/g "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/sed1" sh: Rejected SEDINPLACE cmd: /usr/bin/sed -i sh: /usr/bin/sed -i "" s/sed/sd/g "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/sed1" Executing: /usr/bin/sed -i "" s/sed/sd/g "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/sed1" sh: Adding SEDINPLACE cmd: /usr/bin/sed -i "" Defined make macro "SEDINPLACE" to "/usr/bin/sed -i """ Checking for program /usr/local/cuda/bin/mv...not found Checking for program /Users/barrysmith/bin/mv...not found Checking for program /usr/local/bin/mv...not found Checking for program /Applications/MATLAB72/bin/matlab/mv...not found Checking for program /opt/intel/idb/10.1.017/bin/mv...not found Checking for program /opt/intel/fc/10.1.017/bin/mv...not found Checking for program /opt/intel/cc/10.1.017/bin/mv...not found Checking for program /usr/bin/mv...not found Checking for program /bin/mv...found Defined make macro "MV" to "/bin/mv" Checking for program /usr/local/cuda/bin/cp...not found Checking for program /Users/barrysmith/bin/cp...not found Checking for program /usr/local/bin/cp...not found Checking for program /Applications/MATLAB72/bin/matlab/cp...not found Checking for program /opt/intel/idb/10.1.017/bin/cp...not found Checking for program /opt/intel/fc/10.1.017/bin/cp...not found Checking for program /opt/intel/cc/10.1.017/bin/cp...not found Checking for program /usr/bin/cp...not found Checking for program /bin/cp...found Defined make macro "CP" to "/bin/cp" Checking for program /usr/local/cuda/bin/grep...not found Checking for program /Users/barrysmith/bin/grep...not found Checking for program /usr/local/bin/grep...not found Checking for program /Applications/MATLAB72/bin/matlab/grep...not found Checking for program /opt/intel/idb/10.1.017/bin/grep...not found Checking for program /opt/intel/fc/10.1.017/bin/grep...not found Checking for program /opt/intel/cc/10.1.017/bin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /usr/local/cuda/bin/rm...not found Checking for program /Users/barrysmith/bin/rm...not found Checking for program /usr/local/bin/rm...not found Checking for program /Applications/MATLAB72/bin/matlab/rm...not found Checking for program /opt/intel/idb/10.1.017/bin/rm...not found Checking for program /opt/intel/fc/10.1.017/bin/rm...not found Checking for program /opt/intel/cc/10.1.017/bin/rm...not found Checking for program /usr/bin/rm...not found Checking for program /bin/rm...found Defined make macro "RM" to "/bin/rm -f" Checking for program /usr/local/cuda/bin/diff...not found Checking for program /Users/barrysmith/bin/diff...not found Checking for program /usr/local/bin/diff...not found Checking for program /Applications/MATLAB72/bin/matlab/diff...not found Checking for program /opt/intel/idb/10.1.017/bin/diff...not found Checking for program /opt/intel/fc/10.1.017/bin/diff...not found Checking for program /opt/intel/cc/10.1.017/bin/diff...not found Checking for program /usr/bin/diff...found sh: "/usr/bin/diff" -w "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/diff1" "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/diff2" Executing: "/usr/bin/diff" -w "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/diff1" "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.programs/diff2" sh: Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /Users/barrysmith/ps...not found Checking for program /usr/local/cuda/bin/gzip...not found Checking for program /Users/barrysmith/bin/gzip...not found Checking for program /usr/local/bin/gzip...not found Checking for program /Applications/MATLAB72/bin/matlab/gzip...not found Checking for program /opt/intel/idb/10.1.017/bin/gzip...not found Checking for program /opt/intel/fc/10.1.017/bin/gzip...not found Checking for program /opt/intel/cc/10.1.017/bin/gzip...not found Checking for program /usr/bin/gzip...found Defined make macro "GZIP" to "/usr/bin/gzip" Defined "HAVE_GZIP" to "1" ================================================================================ TEST configureMercurial from config.sourceControl(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/sourceControl.py:23) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:23) Find the Mercurial executable Checking for program /usr/local/cuda/bin/hg...not found Checking for program /Users/barrysmith/bin/hg...not found Checking for program /usr/local/bin/hg...found Defined make macro "HG" to "hg" ================================================================================ TEST configureCVS from config.sourceControl(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/sourceControl.py:30) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:30) Find the CVS executable Checking for program /usr/local/cuda/bin/cvs...not found Checking for program /Users/barrysmith/bin/cvs...not found Checking for program /usr/local/bin/cvs...not found Checking for program /Applications/MATLAB72/bin/matlab/cvs...not found Checking for program /opt/intel/idb/10.1.017/bin/cvs...not found Checking for program /opt/intel/fc/10.1.017/bin/cvs...not found Checking for program /opt/intel/cc/10.1.017/bin/cvs...not found Checking for program /usr/bin/cvs...found Defined make macro "CVS" to "cvs" ================================================================================ TEST configureSubversion from config.sourceControl(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/sourceControl.py:35) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Subversion executable Checking for program /usr/local/cuda/bin/svn...not found Checking for program /Users/barrysmith/bin/svn...not found Checking for program /usr/local/bin/svn...not found Checking for program /Applications/MATLAB72/bin/matlab/svn...not found Checking for program /opt/intel/idb/10.1.017/bin/svn...not found Checking for program /opt/intel/fc/10.1.017/bin/svn...not found Checking for program /opt/intel/cc/10.1.017/bin/svn...not found Checking for program /usr/bin/svn...found Defined make macro "SVN" to "svn" ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/petscdir.py:28) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:28) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 1 #define PETSC_VERSION_SUBMINOR 0 #define PETSC_VERSION_PATCH 4 #define PETSC_VERSION_DATE "Mar, 25, 2010" #define PETSC_VERSION_PATCH_DATE "unknown" #define PETSC_VERSION_HG "unknown" #define PETSC_VERSION_DATE_HG "unknown" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/Users/barrysmith/Src/petsc-dev" Defined "DIR" to ""/Users/barrysmith/Src/petsc-dev"" sh: /bin/sh /Users/barrysmith/Src/petsc-dev/config/configarch/config.guess Executing: /bin/sh /Users/barrysmith/Src/petsc-dev/config/configarch/config.guess sh: i686-apple-darwin10.4.0 sh: /bin/sh /Users/barrysmith/Src/petsc-dev/config/configarch/config.sub i686-apple-darwin10.4.0 Executing: /bin/sh /Users/barrysmith/Src/petsc-dev/config/configarch/config.sub i686-apple-darwin10.4.0 sh: i686-apple-darwin10.4.0 ================================================================================ TEST configureExternalPackagesDir from PETSc.utilities.petscdir(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/petscdir.py:100) TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:100) ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscdir(/Users/barrysmith/Src/petsc-dev/config/PETSc/utilities/petscdir.py:107) TESTING: configureInstallationMethod from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:107) This is a Mercurial clone Defined "VERSION_HG" to ""08e10494ec2b6c09c2ca9f7a1797dbedb8a62e52"" Defined "VERSION_DATE_HG" to ""Tue Sep 14 20:04:49 2010 -0500"" Defined "VERSION_BS_HG" to ""9b3ab230d75124e21dc1cc82fdf3ad246bdc8c65"" Defined "VERSION_BS_DATE_HG" to ""Wed Sep 15 06:20:04 2010 -0500"" ================================================================================ TEST configureETags from PETSc.utilities.Etags(/Users/barrysmith/Src/petsc-dev/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/barrysmith/Src/petsc-dev/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be Defined make macro "DATAFILESPATH" to "None" ================================================================================ TEST resetEnvCompilers from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:1383) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1383) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:1363) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1363) 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 checkVendor from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:322) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:322) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:332) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:332) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Popping language Cxx Pushing language FC Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Popping language FC Initialized CPPFLAGS to Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:446) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:446) Locate a functional C compiler Checking for program /usr/local/cuda/bin/gcc...not found Checking for program /Users/barrysmith/bin/gcc...not found Checking for program /usr/local/bin/gcc...not found Checking for program /Applications/MATLAB72/bin/matlab/gcc...not found Checking for program /opt/intel/idb/10.1.017/bin/gcc...not found Checking for program /opt/intel/fc/10.1.017/bin/gcc...not found Checking for program /opt/intel/cc/10.1.017/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CC" to "gcc -m32" Pushing language C sh: gcc -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c Executing: gcc -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c sh: sh: gcc -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c Executing: gcc -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c sh: 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 sh: gcc -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o Executing: gcc -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o sh: sh: gcc -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c Executing: gcc -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c sh: Pushing language C Popping language C sh: gcc -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o Executing: gcc -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o sh: Executing: /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest sh: /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest Executing: /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest sh: Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:478) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:478) Locate a functional C preprocessor Checking for program /usr/local/cuda/bin/gcc...not found Checking for program /Users/barrysmith/bin/gcc...not found Checking for program /usr/local/bin/gcc...not found Checking for program /Applications/MATLAB72/bin/matlab/gcc...not found Checking for program /opt/intel/idb/10.1.017/bin/gcc...not found Checking for program /opt/intel/fc/10.1.017/bin/gcc...not found Checking for program /opt/intel/cc/10.1.017/bin/gcc...not found Checking for program /usr/bin/gcc...found Defined make macro "CPP" to "gcc -m32 -E" Pushing language C sh: gcc -m32 -E -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c Executing: gcc -m32 -E -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c sh: # 1 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c" # 1 "" # 1 "" # 1 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c" # 1 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/confdefs.h" 1 # 2 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c" 2 # 1 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conffix.h" 1 # 3 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/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 # 126 "/usr/include/Availability.h" 3 4 # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 # 127 "/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 # 33 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 34 "/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 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; # 35 "/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[36]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[4]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; }; # 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 unsigned long __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 # 34 "/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 # 35 "/usr/include/machine/signal.h" 2 3 4 # 82 "/usr/include/sys/signal.h" 2 3 4 # 154 "/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 # 31 "/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; }; # 308 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_exception_state { unsigned int __trapno; unsigned int __err; unsigned int __faultvaddr; }; # 326 "/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; }; # 358 "/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; }; # 413 "/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; }; # 517 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_exception_state64 { unsigned int __trapno; unsigned int __err; __uint64_t __faultvaddr; }; # 535 "/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; }; # 68 "/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; }; # 94 "/usr/include/i386/_structs.h" 3 4 typedef struct __darwin_mcontext32 *mcontext_t; # 32 "/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_mcontext32 *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; # 155 "/usr/include/sys/signal.h" 2 3 4 # 163 "/usr/include/sys/signal.h" 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; # 292 "/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; }; # 354 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 371 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 390 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 412 "/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 # 76 "/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; }; # 77 "/usr/include/sys/resource.h" 2 3 4 # 88 "/usr/include/sys/resource.h" 3 4 typedef __uint64_t rlim_t; # 142 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 153 "/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; }; # 213 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 235 "/usr/include/sys/resource.h" 3 4 int getpriority(int, id_t); int getiopolicy_np(int, int); int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" "$UNIX2003"); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setiopolicy_np(int, int, int); int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" "$UNIX2003"); # 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 # 37 "/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 ) { __asm__ ("bswap %0" : "+r" (_data)); return _data; } # 78 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 static __inline__ __uint64_t _OSSwapInt64( __uint64_t _data ) { __asm__ ("bswap %%eax\n\t" "bswap %%edx\n\t" "xchgl %%eax, %%edx" : "+A" (_data)); return _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 # 38 "/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 pid_t wait(int *) __asm("_" "wait" "$UNIX2003"); pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" "$UNIX2003"); int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" "$UNIX2003"); 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 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; # 144 "/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 * , const char * , size_t); int mbtowc(wchar_t * , const char * , size_t); int posix_memalign(void **, size_t, size_t); 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" "$UNIX2003"); float strtof(const char *, char **) __asm("_" "strtof" "$UNIX2003"); 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" "$UNIX2003"); size_t wcstombs(char * , const wchar_t * , size_t); int wctomb(char *, wchar_t); void _Exit(int) __attribute__((__noreturn__)); long a64l(const char *); double drand48(void); char *ecvt(double, int, int *, int *); double erand48(unsigned short[3]); char *fcvt(double, int, int *, int *); 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" "$UNIX2003"); long random(void); int rand_r(unsigned *); char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN"); unsigned short *seed48(unsigned short[3]); int setenv(const char *, const char *, int) __asm("_" "setenv" "$UNIX2003"); void setkey(const char *) __asm("_" "setkey" "$UNIX2003"); char *setstate(const char *); void srand48(long); void srandom(unsigned); int unlockpt(int); int unsetenv(const char *) __asm("_" "unsetenv" "$UNIX2003"); # 1 "/usr/include/machine/types.h" 1 3 4 # 37 "/usr/include/machine/types.h" 3 4 # 1 "/usr/include/i386/types.h" 1 3 4 # 70 "/usr/include/i386/types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 71 "/usr/include/i386/types.h" 2 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 int32_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; # 38 "/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 *dat, int datlen); void arc4random_stir(void); int atexit_b(void (^)(void)); void *bsearch_b(const void *, const void *, size_t, size_t, int (^)(const void *, const void *)); 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 *)); 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 *)); void psort(void *, size_t, size_t, int (*)(const void *, const void *)); void psort_b(void *, size_t, size_t, int (^)(const void *, const void *)); void psort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)); void qsort_b(void *, size_t, size_t, int (^)(const void *, const void *)); 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); # 3 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.c" 2 Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:512) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:512) Locate a functional CUDA compiler Checking for program /usr/local/cuda/bin/nvcc...found Defined make macro "CUDAC" to "nvcc" Pushing language CUDA sh: nvcc -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cu Executing: nvcc -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cu sh: Popping language CUDA sh: nvcc --version Executing: nvcc --version sh: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2010 NVIDIA Corporation Built on Thu_Jun_17_16:11:55_PDT_2010 Cuda compilation tools, release 3.1, V0.2.1221 ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:541) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:541) Locate a functional CUDA preprocessor Checking for program /usr/local/cuda/bin/nvcc...found Defined make macro "CUDAPP" to "nvcc -E" Pushing language CUDA sh: nvcc -E -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cu Executing: nvcc -E -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cu sh: # 1 "/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cu" # 1 "" # 1 "" # 1 "/usr/local/cuda/bin/../include/cuda_runtime.h" 1 /* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * in individual and commercial software. * * NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE * CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR * IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE * OR PERFORMANCE OF THIS SOURCE CODE. * * U.S. Government End Users. This source code is a "commercial item" as * that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of * "commercial computer software" and "commercial computer software * documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) * and is provided to the U.S. Government only as a commercial end item. * Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through * 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the * source code with only those rights set forth herein. * * Any use of this source code in individual and commercial software must * include, in the user documentation and internal comments to the code, * the above Disclaimer and U.S. Government End Users Notice. */ /******************************************************************************* * * * * * * *******************************************************************************/ # 1 "/usr/local/cuda/bin/../include/host_config.h" 1 /* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * in individual and commercial software. * * NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE * CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR * IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE * OR PERFORMANCE OF THIS SOURCE CODE. * * U.S. Government End Users. This source code is a "commercial item" as * that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of * "commercial computer software" and "commercial computer software * documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) * and is provided to the U.S. Government only as a commercial end item. * Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through * 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the * source code with only those rights set forth herein. * * Any use of this source code in individual and commercial software must * include, in the user documentation and internal comments to the code, * the above Disclaimer and U.S. Government End Users Notice. */ /******************************************************************************* * * * * * * *******************************************************************************/ # 46 "/usr/local/cuda/bin/../include/cuda_runtime.h" 2 /******************************************************************************* * * * * * * *******************************************************************************/ # 1 "/usr/local/cuda/bin/../include/builtin_types.h" 1 /* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * in individual and commercial software. * * NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE * CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR * IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE * OR PERFORMANCE OF THIS SOURCE CODE. * * U.S. Government End Users. This source code is a "commercial item" as * that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of * "commercial computer software" and "commercial computer software * documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) * and is provided to the U.S. Government only as a commercial end item. * Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through * 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the * source code with only those rights set forth herein. * * Any use of this source code in individual and commercial software must * include, in the user documentation and internal comments to the code, * the above Disclaimer and U.S. Government End Users Notice. */ /******************************************************************************* * * * * * * *******************************************************************************/ # 1 "/usr/local/cuda/bin/../include/device_types.h" 1 /* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * in individual and commercial software. * * NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE * CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR * IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE * OR PERFORMANCE OF THIS SOURCE CODE. * * U.S. Government End Users. This source code is a "commercial item" as * that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of * "commercial computer software" and "commercial computer software * documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) * and is provided to the U.S. Government only as a commercial end item. * Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through * 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the * source code with only those rights set forth herein. * * Any use of this source code in individual and commercial software must * include, in the user documentation and internal comments to the code, * the above Disclaimer and U.S. Government End Users Notice. */ /******************************************************************************* * * * * * * *******************************************************************************/ /*DEVICE_BUILTIN*/ enum cudaRoundMode { cudaRoundNearest, cudaRoundZero, cudaRoundPosInf, cudaRoundMinInf }; # 43 "/usr/local/cuda/bin/../include/builtin_types.h" 2 # 1 "/usr/local/cuda/bin/../include/driver_types.h" 1 /* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * in individual and commercial software. * * NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE * CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR * IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE * OR PERFORMANCE OF THIS SOURCE CODE. * * U.S. Government End Users. This source code is a "commercial item" as * that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of * "commercial computer software" and "commercial computer software * documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) * and is provided to the U.S. Government only as a commercial end item. * Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through * 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the * source code with only those rights set forth herein. * * Any use of this source code in individual and commercial software must * include, in the user documentation and internal comments to the code, * the above Disclaimer and U.S. Government End Users Notice. */ /** * \file * \name Data types used by CUDA Runtime * \author NVIDIA Corporation * \brief Data types used by CUDA Runtime */ /** * \defgroup CUDART_TYPES Data types used by CUDA Runtime * \ingroup CUDART * * @{ */ /******************************************************************************* * * * TYPE DEFINITIONS USED BY RUNTIME API * * * *******************************************************************************/ # 1 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h" 1 3 4 /* This administrivia gets added to the beginning of limits.h if the system has its own version of limits.h. */ /* APPLE LOCAL begin 4401222 */ /* Use "..." so that we find syslimits.h only in this same directory. */ # 1 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/syslimits.h" 1 3 4 /* syslimits.h stands for the system's own limits.h file. If we can use it ok unmodified, then we install this text. If fixincludes fixes it, then the fixed version is installed instead of this text. */ /* APPLE LOCAL begin 4401222 */ /* APPLE LOCAL end 4401222 */ # 8 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h" 2 3 4 # 1 "/usr/include/limits.h" 1 3 4 /* * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* $NetBSD: limits.h,v 1.8 1996/10/21 05:10:50 jtc Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)limits.h 8.2 (Berkeley) 1/4/94 */ # 1 "/usr/include/sys/cdefs.h" 1 3 4 /* * Copyright (c) 2000-2009 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* Copyright 1995 NeXT Computer, Inc. All rights reserved. */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Berkeley Software Design, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 */ # 78 "/usr/include/sys/cdefs.h" 3 4 /* * The __CONCAT macro is used to concatenate parts of symbol names, e.g. * with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo. * The __CONCAT macro is a bit tricky -- make sure you don't put spaces * in between its arguments. __CONCAT can also concatenate double-quoted * strings produced by the __STRING macro, but this only works with ANSI C. */ # 129 "/usr/include/sys/cdefs.h" 3 4 /* * GCC1 and some versions of GCC2 declare dead (non-returning) and * pure (no side effects) functions using "volatile" and "const"; * unfortunately, these then cause warnings under "-ansi -pedantic". * GCC2 uses a new, peculiar __attribute__((attrs)) style. All of * these work for GNU C++ (modulo a slight glitch in the C++ grammar * in the distribution version of 2.5.5). */ # 156 "/usr/include/sys/cdefs.h" 3 4 /* Delete pseudo-keywords wherever they are not available or needed. */ # 167 "/usr/include/sys/cdefs.h" 3 4 /* * GCC 2.95 provides `__restrict' as an extension to C90 to support the * C99-specific `restrict' type qualifier. We happen to use `__restrict' as * a way to define the `restrict' type qualifier without disturbing older * software that is unaware of C99 keywords. */ # 181 "/usr/include/sys/cdefs.h" 3 4 /* * Compiler-dependent macros to declare that functions take printf-like * or scanf-like arguments. They are null except for versions of gcc * that are known to support the features properly. Functions declared * with these attributes will cause compilation warnings if there is a * mismatch between the format string and subsequent function parameter * types. */ # 217 "/usr/include/sys/cdefs.h" 3 4 /* * COMPILATION ENVIRONMENTS * * DEFAULT By default newly complied code will get POSIX APIs plus * Apple API extensions in scope. * * Most users will use this compilation environment to avoid * behavioral differences between 32 and 64 bit code. * * LEGACY Defining _NONSTD_SOURCE will get pre-POSIX APIs plus Apple * API extensions in scope. * * This is generally equivalent to the Tiger release compilation * environment, except that it cannot be applied to 64 bit code; * its use is discouraged. * * We expect this environment to be deprecated in the future. * * STRICT Defining _POSIX_C_SOURCE or _XOPEN_SOURCE restricts the * available APIs to exactly the set of APIs defined by the * corresponding standard, based on the value defined. * * A correct, portable definition for _POSIX_C_SOURCE is 200112L. * A correct, portable definition for _XOPEN_SOURCE is 600L. * * Apple API extensions are not visible in this environment, * which can cause Apple specific code to fail to compile, * or behave incorrectly if prototypes are not in scope or * warnings about missing prototypes are not enabled or ignored. * * In any compilation environment, for correct symbol resolution to occur, * function prototypes must be in scope. It is recommended that all Apple * tools users add either the "-Wall" or "-Wimplicit-function-declaration" * compiler flags to their projects to be warned when a function is being * used without a prototype in scope. */ /* These settings are particular to each product. */ /* Product: MacOSX */ /* #undef __DARWIN_ONLY_UNIX_CONFORMANCE (automatically set for 64-bit) */ /* * The __DARWIN_ALIAS macros are used to do symbol renaming; they allow * legacy code to use the old symbol, thus maintaining binary compatibility * while new code can use a standards compliant version of the same function. * * __DARWIN_ALIAS is used by itself if the function signature has not * changed, it is used along with a #ifdef check for __DARWIN_UNIX03 * if the signature has changed. Because the __LP64__ environment * only supports UNIX03 semantics it causes __DARWIN_UNIX03 to be * defined, but causes __DARWIN_ALIAS to do no symbol mangling. * * As a special case, when XCode is used to target a specific version of the * OS, the manifest constant __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ * will be defined by the compiler, with the digits representing major version * time 100 + minor version times 10 (e.g. 10.5 := 1050). If we are targeting * pre-10.5, and it is the default compilation environment, revert the * compilation environment to pre-__DARWIN_UNIX03. */ # 344 "/usr/include/sys/cdefs.h" 3 4 /* * symbol suffixes used for symbol versioning */ # 389 "/usr/include/sys/cdefs.h" 3 4 /* * symbol versioning macros */ # 406 "/usr/include/sys/cdefs.h" 3 4 /* * symbol release macros */ # 418 "/usr/include/sys/cdefs.h" 3 4 /* * POSIX.1 requires that the macros we test be defined before any standard * header file is included. This permits us to convert values for feature * testing, as necessary, using only _POSIX_C_SOURCE. * * Here's a quick run-down of the versions: * defined(_POSIX_SOURCE) 1003.1-1988 * _POSIX_C_SOURCE == 1L 1003.1-1990 * _POSIX_C_SOURCE == 2L 1003.2-1992 C Language Binding Option * _POSIX_C_SOURCE == 199309L 1003.1b-1993 * _POSIX_C_SOURCE == 199506L 1003.1c-1995, 1003.1i-1995, * and the omnibus ISO/IEC 9945-1: 1996 * _POSIX_C_SOURCE == 200112L 1003.1-2001 * * In addition, the X/Open Portability Guide, which is now the Single UNIX * Specification, defines a feature-test macro which indicates the version of * that specification, and which subsumes _POSIX_C_SOURCE. */ /* Deal with IEEE Std. 1003.1-1990, in which _POSIX_C_SOURCE == 1L. */ /* Deal with IEEE Std. 1003.2-1992, in which _POSIX_C_SOURCE == 2L. */ /* Deal with various X/Open Portability Guides and Single UNIX Spec. */ # 460 "/usr/include/sys/cdefs.h" 3 4 /* * Deal with all versions of POSIX. The ordering relative to the tests above is * important. */ /* * long long is not supported in c89 (__STRICT_ANSI__), but g++ -ansi and * c99 still want long longs. While not perfect, we allow long longs for * g++. */ /* * Long double compatibility macro allow selecting variant symbols based * on the old (compatible) 64-bit long doubles, or the new 128-bit * long doubles. This applies only to ppc; i386 already has long double * support, while ppc64 doesn't have any backwards history. */ # 510 "/usr/include/sys/cdefs.h" 3 4 /* * Deprecation macro */ /***************************************** * Public darwin-specific feature macros *****************************************/ /* * _DARWIN_FEATURE_64_BIT_INODE indicates that the ino_t type is 64-bit, and * structures modified for 64-bit inodes (like struct stat) will be used. */ /* * _DARWIN_FEATURE_LONG_DOUBLE_IS_DOUBLE indicates when the long double type * is the same as the double type (ppc and arm only) */ /* * _DARWIN_FEATURE_64_ONLY_BIT_INODE indicates that the ino_t type may only * be 64-bit; there is no support for 32-bit ino_t when this macro is defined * (and non-zero). There is no struct stat64 either, as the regular * struct stat will already be the 64-bit version. */ /* * _DARWIN_FEATURE_ONLY_VERS_1050 indicates that only those APIs updated * in 10.5 exists; no pre-10.5 variants are available. */ /* * _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE indicates only UNIX conforming API * are available (the legacy BSD APIs are not available) */ /* * _DARWIN_FEATURE_UNIX_CONFORMANCE indicates whether UNIX conformance is on, * and specifies the conformance level (3 is SUSv3) */ /* * This macro casts away the qualifier from the variable * * Note: use at your own risk, removing qualifiers can result in * catastrophic run-time failures. */ # 64 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/machine/limits.h" 1 3 4 /* This is the `system' limits.h, independent of any particular compiler. GCC provides its own limits.h which can be found in /usr/lib/gcc, although it is not very informative. This file is public domain. */ # 1 "/usr/include/i386/limits.h" 1 3 4 /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)limits.h 8.3 (Berkeley) 1/4/94 */ # 1 "/usr/include/sys/cdefs.h" 1 3 4 /* * Copyright (c) 2000-2009 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* Copyright 1995 NeXT Computer, Inc. All rights reserved. */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Berkeley Software Design, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 */ # 40 "/usr/include/i386/limits.h" 2 3 4 # 1 "/usr/include/i386/_limits.h" 1 3 4 /* * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ # 41 "/usr/include/i386/limits.h" 2 3 4 # 49 "/usr/include/i386/limits.h" 3 4 /* * According to ANSI (section 2.2.4.2), the values below must be usable by * #if preprocessing directives. Additionally, the expression must have the * same type as would an expression that is an object of the corresponding * type converted according to the integral promotions. The subtraction for * INT_MIN and LONG_MIN is so the value is not unsigned; 2147483648 is an * unsigned int for 32-bit two's complement ANSI compilers (section 3.1.3.2). * These numbers work for pcc as well. The UINT_MAX and ULONG_MAX values * are written as hex so that GCC will be quiet about large integer constants. */ # 9 "/usr/include/machine/limits.h" 2 3 4 # 65 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/sys/syslimits.h" 1 3 4 /* * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* $NetBSD: syslimits.h,v 1.15 1997/06/25 00:48:09 lukem Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)syslimits.h 8.1 (Berkeley) 6/2/93 */ # 1 "/usr/include/sys/cdefs.h" 1 3 4 /* * Copyright (c) 2000-2009 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. The rights granted to you under the License * may not be used to create, or enable the creation or redistribution of, * unlawful or unlicensed copies of an Apple operating system, or to * circumvent, violate, or enable the circumvention or violation of, any * terms of an Apple operating system software license agreement. * * Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ /* Copyright 1995 NeXT Computer, Inc. All rights reserved. */ /* * Copyright (c) 1991, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Berkeley Software Design, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)cdefs.h 8.8 (Berkeley) 1/9/95 */ # 69 "/usr/include/sys/syslimits.h" 2 3 4 /* * Note: CHILD_MAX *must* be less than hard_maxproc, which is set at * compile time; you *cannot* set it higher than the hard limit!! */ # 107 "/usr/include/sys/syslimits.h" 3 4 /* = ((PRIO_MAX - PRIO_MIN) / 2) + 1 */ /* range: 0 - 39 [(2 * NZERO) - 1] */ /* 0 is not actually used */ # 66 "/usr/include/limits.h" 2 3 4 # 141 "/usr/include/limits.h" 3 4 /* NZERO to be defined here. TBD. See also sys/param.h */ # 11 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h" 2 3 4 /* APPLE LOCAL end 4401222 */ /* Number of bits in a `char'. */ /* Maximum length of a multibyte character. */ /* Minimum and maximum values a `signed char' can hold. */ /* Maximum value an `unsigned char' can hold. (Minimum is 0). */ /* Minimum and maximum values a `char' can hold. */ # 57 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h" 3 4 /* Minimum and maximum values a `signed short int' can hold. */ /* Maximum value an `unsigned short int' can hold. (Minimum is 0). */ /* Minimum and maximum values a `signed int' can hold. */ /* Maximum value an `unsigned int' can hold. (Minimum is 0). */ /* Minimum and maximum values a `signed long int' can hold. (Same as `int'). */ /* Maximum value an `unsigned long int' can hold. (Minimum is 0). */ # 105 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/limits.h" 3 4 /* Minimum and maximum values a `signed long long int' can hold. */ /* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */ /* APPLE LOCAL begin 4401222 */ /* APPLE LOCAL end 4401222 */ # 61 "/usr/local/cuda/bin/../include/driver_types.h" 2 # 1 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 1 3 4 /* Copyright (C) 1989, 1997, 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, if you include this header file into source files compiled by GCC, this header file does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ /* * ISO C Standard: 7.17 Common definitions */ /* Any one of these symbols __need_* means that GNU libc wants us just to define one data type. So don't define the symbols that indicate this file's entire job has been done. */ /* snaroff@next.com says the NeXT needs this. */ /* Irix 5.1 needs this. */ /* This avoids lossage on SunOS but only if stdtypes.h comes first. There's no way to win with the other order! Sun lossage. */ /* On 4.3bsd-net2, make sure ansi.h is included, so we have one less case to deal with in the following. */ /* On FreeBSD 5, machine/ansi.h does not exist anymore... */ /* In 4.3bsd-net2, machine/ansi.h defines these symbols, which are defined if the corresponding type is *not* defined. FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_ */ # 97 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* Sequent's header files use _PTRDIFF_T_ in some conflicting way. Just ignore it. */ /* On VxWorks, may have defined macros like _TYPE_size_t which will typedef size_t. fixincludes patched the vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is not defined, and so that defining this macro defines _GCC_SIZE_T. If we find that the macros are still defined at this point, we must invoke them so that the type is defined as expected. */ # 122 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* In case nobody has defined these types, but we aren't running under GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and __WCHAR_TYPE__ have reasonable values. This can happen if the parts of GCC is compiled by an older compiler, that actually include gstddef.h, such as collect2. */ /* Signed type of difference of two pointers. */ /* Define this type if we are doing the whole job, or if we want this type in particular. */ # 152 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 typedef int ptrdiff_t; # 162 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* If this symbol has done its job, get rid of it. */ /* Unsigned type of `sizeof' something. */ /* Define this type if we are doing the whole job, or if we want this type in particular. */ # 214 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 typedef long unsigned int size_t; # 240 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* Wide character type. Locale-writers should change this as necessary to be big enough to hold unique values not between 0 and 127, and not (wchar_t) -1, for each defined multibyte character. */ /* Define this type if we are doing the whole job, or if we want this type in particular. */ # 281 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ instead of _WCHAR_T_, and _BSD_RUNE_T_ (which, unlike the other symbols in the _FOO_T_ family, stays defined even after its corresponding type is defined). If we define wchar_t, then we must undef _WCHAR_T_; for BSD/386 1.1 (and perhaps others), if we undef _WCHAR_T_, then we must also define rune_t, since headers like runetype.h assume that if machine/ansi.h is included, and _BSD_WCHAR_T_ is not defined, then rune_t is available. machine/ansi.h says, "Note that _WCHAR_T_ and _RUNE_T_ must be of the same type." */ # 308 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* FreeBSD 5 can't be handled well using "traditional" logic above since it no longer defines _BSD_RUNE_T_ yet still desires to export rune_t in some cases... */ # 360 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* In 4.3bsd-net2, leave these undefined to indicate that size_t, etc. are already defined. */ /* BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here. */ # 395 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* A null pointer constant. */ # 413 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4 /* Offset of member MEMBER in a struct of type TYPE. */ # 62 "/usr/local/cuda/bin/../include/driver_types.h" 2 # 84 "/usr/local/cuda/bin/../include/driver_types.h" /******************************************************************************* * * * * * * *******************************************************************************/ /** * CUDA error types */ /*DEVICE_BUILTIN*/ enum cudaError { cudaSuccess = 0, ///< No errors cudaErrorMissingConfiguration = 1, ///< Missing configuration error cudaErrorMemoryAllocation = 2, ///< Memory allocation error cudaErrorInitializationError = 3, ///< Initialization error cudaErrorLaunchFailure = 4, ///< Launch failure cudaErrorPriorLaunchFailure = 5, ///< Prior launch failure cudaErrorLaunchTimeout = 6, ///< Launch timeout error cudaErrorLaunchOutOfResources = 7, ///< Launch out of resources error cudaErrorInvalidDeviceFunction = 8, ///< Invalid device function cudaErrorInvalidConfiguration = 9, ///< Invalid configuration cudaErrorInvalidDevice = 10, ///< Invalid device cudaErrorInvalidValue = 11, ///< Invalid value cudaErrorInvalidPitchValue = 12, ///< Invalid pitch value cudaErrorInvalidSymbol = 13, ///< Invalid symbol cudaErrorMapBufferObjectFailed = 14, ///< Map buffer object failed cudaErrorUnmapBufferObjectFailed = 15, ///< Unmap buffer object failed cudaErrorInvalidHostPointer = 16, ///< Invalid host pointer cudaErrorInvalidDevicePointer = 17, ///< Invalid device pointer cudaErrorInvalidTexture = 18, ///< Invalid texture cudaErrorInvalidTextureBinding = 19, ///< Invalid texture binding cudaErrorInvalidChannelDescriptor = 20, ///< Invalid channel descriptor cudaErrorInvalidMemcpyDirection = 21, ///< Invalid memcpy direction cudaErrorAddressOfConstant = 22, ///< Address of constant error ///< \deprecated ///< This error return is deprecated as of ///< Cuda 3.1. Variables in constant memory ///< may now have their address taken by the ///< runtime via ::cudaGetSymbolAddress(). cudaErrorTextureFetchFailed = 23, ///< Texture fetch failed cudaErrorTextureNotBound = 24, ///< Texture not bound error cudaErrorSynchronizationError = 25, ///< Synchronization error cudaErrorInvalidFilterSetting = 26, ///< Invalid filter setting cudaErrorInvalidNormSetting = 27, ///< Invalid norm setting cudaErrorMixedDeviceExecution = 28, ///< Mixed device execution cudaErrorCudartUnloading = 29, ///< CUDA runtime unloading cudaErrorUnknown = 30, ///< Unknown error condition cudaErrorNotYetImplemented = 31, ///< Function not yet implemented Popping language CUDA ================================================================================ TEST checkCxxCompiler from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:644) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:644) Locate a functional Cxx compiler Checking for program /usr/local/cuda/bin/g++...not found Checking for program /Users/barrysmith/bin/g++...not found Checking for program /usr/local/bin/g++...not found Checking for program /Applications/MATLAB72/bin/matlab/g++...not found Checking for program /opt/intel/idb/10.1.017/bin/g++...not found Checking for program /opt/intel/fc/10.1.017/bin/g++...not found Checking for program /opt/intel/cc/10.1.017/bin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXX" to "g++ -m32" Pushing language Cxx sh: g++ -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cc Executing: g++ -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cc sh: sh: g++ -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cc Executing: g++ -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cc sh: 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 sh: g++ -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o Executing: g++ -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o sh: sh: g++ -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cc Executing: g++ -m32 -c -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o -I/var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.cc sh: Pushing language CXX Popping language CXX sh: g++ -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o Executing: g++ -m32 -o /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest.o sh: Executing: /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest sh: /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest Executing: /var/folders/M4/M4PTePd3FM4rLBeN0lPCkE+++TI/-Tmp-/petsc-d0F8Fn/config.setCompilers/conftest sh: Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py:681) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:681) Locate a functional Cxx preprocessor Checking for program /usr/local/cuda/bin/g++...not found Checking for program /Users/barrysmith/bin/g++...not found Checking for program /usr/local/bin/g++...not found Checking for program /Applications/MATLAB72/bin/matlab/g++...not found Checking for program /opt/intel/idb/10.1.017/bin/g++...not found Checking for program /opt/intel/fc/10.1.017/bin/g++...not found Checking for program /opt/intel/cc/10.1.017/bin/g++...not found Checking for program /usr/bin/g++...found Defined make macro "CXXCPP" to "g++ -m32 -E" Pushing language Cxx ******************************************************************************* CONFIGURATION CRASH (Please send configure.log to petsc-maint@mcs.anl.gov) ******************************************************************************* 'Preprocessor' object has no attribute 'includeDirectories' File "/Users/barrysmith/Src/petsc-dev/config/configure.py", line 273, in petsc_configure framework.configure(out = sys.stdout) File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/framework.py", line 953, in configure child.configure() File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py", line 1404, in configure self.executeTest(self.checkCxxPreprocessor) File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/base.py", line 102, in executeTest ret = apply(test, args,kargs) File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/setCompilers.py", line 689, in checkCxxPreprocessor if not self.checkPreprocess('#include \n'): File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/base.py", line 411, in checkPreprocess (out, err, ret) = self.preprocess(codeStr, timeout = timeout) File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/base.py", line 392, in preprocess command = self.getPreprocessorCmd() File "/Users/barrysmith/Src/petsc-dev/config/BuildSystem/config/base.py", line 320, in getPreprocessorCmd preprocessor.includeDirectories.add(self.tmpDir)